Merge "Add missing hostnames to fluentd log messages"

This commit is contained in:
Zuul 2017-12-07 09:23:00 +00:00 committed by Gerrit Code Review
commit 47d83d6bd5
2 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,7 @@
<filter infra.*> <filter infra.*>
@type record_transformer @type record_transformer
<record> <record>
Hostname ${hostname}
programname ${tag_parts[1]} programname ${tag_parts[1]}
</record> </record>
</filter> </filter>

View File

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