Fix fluentd v1 buffer syntax issue

Change-Id: I5b3ab3ab8153cda283dec772bf1393af0caf4137
Closes-Bug: 1919179
This commit is contained in:
Isaac Prior 2021-03-15 15:16:33 +00:00 committed by Mark Goddard
parent b97832dd4f
commit b3e2fcc793
3 changed files with 12 additions and 8 deletions

View File

@ -38,9 +38,11 @@
logstash_prefix {{ kibana_log_prefix }}
flush_interval 15s
reconnect_on_error true
buffer_type file
buffer_path /var/lib/fluentd/data/elasticsearch.buffer/{{ item.facility }}.*
suppress_type_name true
<buffer>
@type file
path /var/lib/fluentd/data/elasticsearch.buffer/{{ item.facility }}.*
</buffer>
</store>
{% elif enable_monasca | bool and monasca_ingest_control_plane_logs | bool %}
<store>
@ -53,11 +55,11 @@
domain_id default
project_name {{ monasca_control_plane_project }}
message_field_name Payload
buffer_type file
buffer_path /var/lib/fluentd/data/monasca.buffer/{{ item.facility }}.*
max_retry_wait 1800s
disable_retry_limit true
<buffer>
@type file
path /var/lib/fluentd/data/monasca.buffer/{{ item.facility }}.*
chunk_limit_size 8m
</buffer>
</store>

View File

@ -23,8 +23,10 @@
logstash_prefix {{ kibana_log_prefix }}
flush_interval 15s
reconnect_on_error true
buffer_type file
buffer_path /var/lib/fluentd/data/elasticsearch.buffer/openstack.*
suppress_type_name true
<buffer>
@type file
path /var/lib/fluentd/data/elasticsearch.buffer/openstack.*
</buffer>
</store>
</match>

View File

@ -10,11 +10,11 @@
domain_id default
project_name {{ monasca_control_plane_project }}
message_field_name Payload
buffer_type file
buffer_path /var/lib/fluentd/data/monasca.buffer/openstack.*
max_retry_wait 1800s
disable_retry_limit true
<buffer>
@type file
path /var/lib/fluentd/data/monasca.buffer/openstack.*
chunk_limit_size 8m
</buffer>
</store>