Skip to main content

Syslog Receipe

Syslog is a way for network devices to send event messages to a logging server โ€“ usually known as a Syslog server. The Syslog protocol is supported by a wide range of devices and can be used to log different types of events.

Receipe#

Valid receipes are as follows:

  • syslog://
  • syslog://{facility}

One might change the facility from it's default like so:

  • syslog://local5

Parameter Breakdown#

VariableRequiredDescription
facilityNoThe facility to use, by default it is user. Valid options are kern, user, mail, daemon, auth, syslog, lpr, news, uucp, cron, local0, local1, local2, local3, local4, local5, local6, and local7
logperrorNoAdditionally send the log message to stderr
logpidYesInclude PID as part of the log output.