fc9f84ea8c
- Sets the hostname on rabbitmq and mariadb log messages according to the local host. - Sets the hostname on syslog log messages by extracting it from the syslog message. In many cases this will be the same as the local host, but it may also be a remote host. Closes-Bug: #1726596 Change-Id: If7c53916d5a355b3aac33d6a62d89d02474e8b53
10 lines
199 B
Django/Jinja
10 lines
199 B
Django/Jinja
<source>
|
|
@type syslog
|
|
port {{ fluentd_syslog_port }}
|
|
bind {{ api_interface_address }}
|
|
tag syslog
|
|
priority_key log_level
|
|
source_hostname_key Hostname
|
|
format /^(?<Payload>.*)$/
|
|
</source>
|