Fluentd: progname field is missing with Rsyslog

progname is actually only fullfilled for Openstack logs and infra logs.
They are missing for program logging in RSYSLOG: HAPROXY and SWIFT.
When using Kibana, "progname" field appears empty, hence it's difficult
to know where logs come from.

Change-Id: Iae98af083cfb79d2a64fa0b70c86b0a01f7a336f
Closes-Bug: #1716051
This commit is contained in:
Bertrand Lallau 2017-09-08 22:31:26 +02:00
parent c61d4e7ef9
commit 0af7178d3d

View File

@ -13,3 +13,17 @@
programname ${tag_parts[1]}
</record>
</filter>
<filter syslog.local0.**>
@type record_transformer
<record>
programname swift
</record>
</filter>
<filter syslog.local1.**>
@type record_transformer
<record>
programname haproxy
</record>
</filter>