Actual Fluentd config doesn't manage multiline log pattern like:
2017-08-16 21:41:03.097 7 WARNING oslo_config.cfg [-] Option "firewall_driver" from group "DEFAULT" is deprecated for removal (
nova-network is deprecated, as are any related configuration options.
). Its value may be silently ignored in the future.
This log will generate 1 Fluentd event for each line (in previous
example 3 events).
This is really a wrong behaviour and made Kibana interface not friendly.
This patch uses a multiline parser.
Reviewed: https:/ /review. openstack. org/494635 /git.openstack. org/cgit/ openstack/ kolla-ansible/ commit/ ?id=38a6d30411b e2b8bb116bfb765 b054309a3a9c91
Committed: https:/
Submitter: Jenkins
Branch: master
commit 38a6d30411be2b8 bb116bfb765b054 309a3a9c91
Author: Bertrand Lallau <email address hidden>
Date: Thu Aug 17 18:05:20 2017 +0200
Fluentd: manage multiline log pattern
Actual Fluentd config doesn't manage multiline log pattern like:
2017-08-16 21:41:03.097 7 WARNING oslo_config.cfg [-] Option "firewall_driver" from group "DEFAULT" is deprecated for removal (
nova-network is deprecated, as are any related configuration options.
). Its value may be silently ignored in the future.
This log will generate 1 Fluentd event for each line (in previous
example 3 events).
This is really a wrong behaviour and made Kibana interface not friendly.
This patch uses a multiline parser.
Change-Id: Iee337645d1dc42 876ec79be08ee37 15f11a53d87
Closes-Bug: #1711399