You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+20-3
Original file line number
Diff line number
Diff line change
@@ -103,7 +103,13 @@ Optional settings
103
103
A boolean. Specifies whether to extract SYSLOG_STRUCTURED_DATA= from journal. Defaults to false.
104
104
105
105
UseSysLogMsgId=
106
-
A boolean. Specifies whether to extract SYSLOG_MSGID= from journal. Defaults to false.
106
+
A boolean. Specifies whether to extract SYSLOG_MSGID= from journal. Defaults to false.
107
+
108
+
ExcludeSyslogFacility=
109
+
A list of strings. Specifies the syslog facilities to skip forwarding. Possible values are: "kern", "user", "mail", "daemon", "auth", "syslog", "lpr", "news", "uucp", "cron", "authpriv", "ftp", "ntp", "security", "console", "solaris-cron", "local0", "local1", "local2", "local3", "local4", "local5", "local6" and "local7".
110
+
111
+
ExcludeSyslogLevel=
112
+
A list of strings. Specifies the syslog levels to skip forwarding. Possible values are: "emerg", "alert", "crit", "err", "warning", "notice", "info" and "debug".
107
113
108
114
**EXAMPLE**
109
115
@@ -146,7 +152,18 @@ UseSysLogStructuredData=yes
146
152
UseSysLogMsgId=yes
147
153
```
148
154
149
-
Example 5. TLS with certificate authentocation mode
155
+
Example 5. Skipping messages with facility AUTH or AUTHPRIV and messages with level DEBUG
156
+
157
+
``` toml
158
+
[Network]
159
+
Address=192.168.8.101:514
160
+
#Protocol=udp
161
+
LogFormat=rfc3339
162
+
ExcludeSyslogFacility=auth authpriv
163
+
ExcludeSyslogLevel=debug
164
+
```
165
+
166
+
Example 6. TLS with certificate authentocation mode
150
167
151
168
``` toml
152
169
[Network]
@@ -156,7 +173,7 @@ Protocol=tls
156
173
TLSCertificateAuthMode=warn
157
174
```
158
175
159
-
Example 6. DTLS with certificate authentocation mode
176
+
Example 7. DTLS with certificate authentocation mode
0 commit comments