Syslog

Send events to remote syslog server.

Integration with LogicHub

Connecting with Syslog Server

To connect to Syslog Server following details are required:

  • Label: Connection name.

  • Reference Values: Define variables here to templatize integration connections and actions. For example, you can use https://www.{{hostname}}.com where, hostname is a variable defined in this input. For more information on how to add data, see 'Add Data' Input Type for Integrations.

  • Hostname or IP Address: Hostname or IP Address of the Syslog server.

  • Port: Port at which Syslog Server is listening.

  • Message Format: Choose message format between BSD (old style) or RFC5424.
    BSD Format : <priority>timestamp hostname application: message
    RFC5424 Format: <priority>VERSION ISOTIMESTAMP HOSTNAME APPLICATION PID MESSAGEID STRUCTURED-DATA MESSAGE

  • Octet Frame Syslog Message: Choose if message length should be added to syslog message. Some syslog servers require message length prefix to properly parse the message.
    Yes: 43 <13>Sep 25 06:28:08 43027c4e559b root: test
    No: <13>Sep 25 06:28:08 43027c4e559b root: test

  • Syslog Protocol: Choose to select between TLS, plain TCP connection or UDP protocol.

  • SYSLOG SERVER PUBLIC SSL CERTIFICATE: Public SSL Certificate of Syslog server. This is required only if a TLS connection is used and the syslog server doesn't present CA verified certificate. The supported format for the certificate is pem

📘

Note

Creating and validating a connection will send a test message: This is a test message.

Actions with Syslog

Send Events

This will send all data of the parent table to a configured Syslog server. Each row is sent in JSON format.

Inputs to this Action:

  • Connection: Choose a connection that you have created.

Output of Action:
JSON containing following items:

  • has_error: True/False
  • error: message/null
  • success: true

Send Events of a Column

This will send data of the selected column to a configured syslog server.

Inputs to this Action:

  • Connection: Choose a connection that you have created.
  • Message: Column name that contains the message to be sent.

Output of Action:
JSON containing following items:

  • has_error: True/False
  • error: message/null
  • success: true

Did this page help you?