Skip to content

Commit

Permalink
added help about tags config in syslog source
Browse files Browse the repository at this point in the history
  • Loading branch information
groall committed May 4, 2021
1 parent b321e09 commit ced5942
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -443,15 +443,16 @@ namespace "test" {
syslog {
listen_address = "udp://127.0.0.1:8514" <1>
format = "rfc3164" <2>
tags = ["nginx"]
tags = ["nginx"] <3>
}
// ...
}
}
----
<1> The `listen_address` might be either a TCP or UDP address. UNIX sockets are not supported (yet -- pull requests are welcome)
<2> The `format` may be one of `rfc3164`, `rfc5424`, `rfc6587` or `auto`. If omitted, it will default to `auto`.
<2> The `format` may be one of `rfc3164`, `rfc5424`, `rfc6587` or `auto`. If omitted, it will default to `auto`
<3> The `tags` must be specified.

Have a look at http://nginx.org/en/docs/syslog.html[the respective section of the NGINX documentation] on how to set up NGINX to log into syslog.

Expand Down

0 comments on commit ced5942

Please sign in to comment.