kolla-ansible/ansible/roles/common/templates/conf/input/01-syslog.conf.j2
Doug Szumski fc9f84ea8c Add missing hostnames to fluentd log messages
- 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
2017-11-20 14:36:23 +00:00

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>