Extract log level from syslog

By default the syslog input plugin won't extract the
log level from a syslog message. By setting the priority
key, the log level is extracted.

Partial-Bug: #1725240
Change-Id: I9ad5f5e1c875ef62b39fbbba7b271d98cee68dd6
(cherry picked from commit c8984ca355)
This commit is contained in:
Doug Szumski 2017-10-24 13:30:07 +01:00 committed by Christian Berendt
parent 6e0139ebf4
commit db0f11e5be
1 changed files with 1 additions and 0 deletions

View File

@ -3,5 +3,6 @@
port {{ fluentd_syslog_port }}
bind {{ api_interface_address }}
tag syslog
priority_key log_level
format /^(?<Payload>.*)$/
</source>