Fix Fluentd warn on dnsmasq.log file parsing
Fluentd actually parse all files in /var/log/kolla/*/*.log as Openstack services files. Dnsmasq file /var/log/kolla/neutron/dnsmasq.log, must be add to exclude_path to avoid this warning message: "/var/log/kolla/neutron/dnsmasq.log unreadable. It is excluded and would be examined next time." Change-Id: I8dc5320b9ed299200c4f1e6ee52d34a918e2f110 Closes-Bug: #1678530
This commit is contained in:
parent
7fc5ca29b2
commit
4f6470bb56
@ -1,7 +1,7 @@
|
||||
<source>
|
||||
@type tail
|
||||
path /var/log/kolla/*/*.log
|
||||
exclude_path ["/var/log/kolla/rabbitmq/*.log", "/var/log/kolla/mariadb/mariadb.log", "/var/log/kolla/haproxy/*.log", "/var/log/kolla/swift/*.log"]
|
||||
exclude_path ["/var/log/kolla/rabbitmq/*.log", "/var/log/kolla/mariadb/mariadb.log", "/var/log/kolla/haproxy/*.log", "/var/log/kolla/swift/*.log", "/var/log/kolla/neutron/dnsmasq.log"]
|
||||
pos_file /var/run/td-agent/kolla.pos
|
||||
tag kolla.*
|
||||
format /^(?<message>.*)$/
|
||||
|
Loading…
x
Reference in New Issue
Block a user