Merge "Add missing hostnames to fluentd log messages"
This commit is contained in:
commit
47d83d6bd5
@ -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>
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user