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
This commit is contained in:
Doug Szumski 2017-10-24 13:30:07 +01:00
parent 68d0a213b0
commit c8984ca355

View File

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