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:
parent
68d0a213b0
commit
c8984ca355
@ -3,5 +3,6 @@
|
|||||||
port {{ fluentd_syslog_port }}
|
port {{ fluentd_syslog_port }}
|
||||||
bind {{ api_interface_address }}
|
bind {{ api_interface_address }}
|
||||||
tag syslog
|
tag syslog
|
||||||
|
priority_key log_level
|
||||||
format /^(?<Payload>.*)$/
|
format /^(?<Payload>.*)$/
|
||||||
</source>
|
</source>
|
||||||
|
Loading…
Reference in New Issue
Block a user