mirror of https://github.com/caronc/apprise
Updated Notify_syslog (markdown)
parent
0195e46141
commit
e45b4f7f62
|
@ -10,13 +10,22 @@ Syslog is a way for network devices to send event messages to a logging server
|
|||
Valid syntaxes are as follows:
|
||||
* `syslog://`
|
||||
* `syslog://{facility}`
|
||||
* `syslog://{host}`
|
||||
* `syslog://{host}:{port}`
|
||||
* `syslog://{host}/{facility}`
|
||||
* `syslog://{host}:{port}/{facility}`
|
||||
|
||||
One might change the facility from it's default like so:
|
||||
* `syslog://local5`
|
||||
|
||||
One might change the facility on a remote syslog (rsyslog) server from it's default like so:
|
||||
* `syslog://localhost/local5`
|
||||
|
||||
### Parameter Breakdown
|
||||
| Variable | Required | Description
|
||||
| ----------- | -------- | -----------
|
||||
| host | No | Query a remote Syslog server (rsyslog) by optionally specifying the hostname
|
||||
| port | No | The remote port associated with your rsyslog server provided. By default if this value isn't sent port **514** is used by default.
|
||||
| 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_. This method is ignored when preforming a remote query.
|
||||
| logpid | Yes | Include PID as part of the log output.
|
||||
|
|
Loading…
Reference in New Issue