Skip to content

Notify_syslog

Chris Caron edited this page Oct 13, 2019 · 7 revisions

Syslog Notifications

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.

Syntax

Valid syntaxes are as follows:

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

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

  • syslog://local5

Parameter Breakdown

Variable Required Description
facility No The 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
logperror No Additionally send the log message to stderr
logpid Yes Include PID as part of the log output.

Example

Send a Syslog notification

# The following sends a syslog notification to the `user` facility
apprise syslog://
Clone this wiki locally