From e45b4f7f62a374471db62edcbb2ef68805889233 Mon Sep 17 00:00:00 2001 From: Chris Caron Date: Sat, 18 Sep 2021 14:10:01 -0400 Subject: [PATCH] Updated Notify_syslog (markdown) --- Notify_syslog.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Notify_syslog.md b/Notify_syslog.md index 6fb92ee..2f179be 100644 --- a/Notify_syslog.md +++ b/Notify_syslog.md @@ -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.