Fix deprecation warnings in fluentd

Change-Id: I812665059783617d581d748e619b29426f89b353
This commit is contained in:
Michal Nasiadka 2020-05-15 17:20:47 +02:00
parent fe1edb1baf
commit 3611f053ef
2 changed files with 10 additions and 4 deletions

View File

@ -3,7 +3,7 @@
port {{ fluentd_syslog_port }} port {{ fluentd_syslog_port }}
bind {{ api_interface_address }} bind {{ api_interface_address }}
tag syslog tag syslog
priority_key log_level severity_key log_level
source_hostname_key Hostname source_hostname_key Hostname
format /^(?<Payload>.*)$/ format /^(?<Payload>.*)$/
</source> </source>

View File

@ -3,9 +3,11 @@
<store> <store>
@type file @type file
path /var/log/kolla/swift/swift_latest.*.log path /var/log/kolla/swift/swift_latest.*.log
utc
append true append true
compress gzip compress gzip
<buffer>
timekey_use_utc
</buffer>
</store> </store>
{% if log_direct_to_elasticsearch %} {% if log_direct_to_elasticsearch %}
<store> <store>
@ -58,9 +60,11 @@
path /var/log/kolla/haproxy/haproxy_latest.*.log path /var/log/kolla/haproxy/haproxy_latest.*.log
output_tag false output_tag false
output_time false output_time false
utc
append true append true
compress gzip compress gzip
<buffer>
timekey_use_utc
</buffer>
</store> </store>
{% if log_direct_to_elasticsearch %} {% if log_direct_to_elasticsearch %}
<store> <store>
@ -113,9 +117,11 @@
path /var/log/kolla/glance-tls-proxy/glance-tls-proxy.*.log path /var/log/kolla/glance-tls-proxy/glance-tls-proxy.*.log
output_tag false output_tag false
output_time false output_time false
utc
append true append true
compress gzip compress gzip
<buffer>
timekey_use_utc
</buffer>
</store> </store>
{% if log_direct_to_elasticsearch %} {% if log_direct_to_elasticsearch %}
<store> <store>