Add suppress_type_name to stop warnings with ES7
When using elasticsearch 7 with fluentd, you seem to get a lot of warnings in the docker logs output that look like: [types removal] Specifying types in bulk requests is deprecated. The docs suggest adding suppress_type_name to stop these warnings, and that seems to work without affecting any functionality. Further info here: https://github.com/uken/fluent-plugin-elasticsearch/issues/785 Closes-Bug: #1930856 Change-Id: I45be67df3717f78d78bcdc7df69600ab8681922f
This commit is contained in:
parent
008ada9062
commit
dee9d22dcf
@ -35,6 +35,7 @@
|
||||
reconnect_on_error true
|
||||
buffer_type file
|
||||
buffer_path /var/lib/fluentd/data/elasticsearch.buffer/{{ syslog_swift_facility }}.*
|
||||
suppress_type_name true
|
||||
</store>
|
||||
{% elif enable_monasca | bool and monasca_ingest_control_plane_logs | bool %}
|
||||
<store>
|
||||
@ -97,6 +98,7 @@
|
||||
reconnect_on_error true
|
||||
buffer_type file
|
||||
buffer_path /var/lib/fluentd/data/elasticsearch.buffer/{{ syslog_haproxy_facility }}.*
|
||||
suppress_type_name true
|
||||
</store>
|
||||
{% elif enable_monasca | bool and monasca_ingest_control_plane_logs | bool %}
|
||||
<store>
|
||||
@ -157,6 +159,7 @@
|
||||
reconnect_on_error true
|
||||
buffer_type file
|
||||
buffer_path /var/lib/fluentd/data/elasticsearch.buffer/{{ syslog_glance_tls_proxy_facility }}.*
|
||||
suppress_type_name true
|
||||
</store>
|
||||
{% elif enable_monasca | bool and monasca_ingest_control_plane_logs | bool %}
|
||||
<store>
|
||||
@ -218,6 +221,7 @@
|
||||
reconnect_on_error true
|
||||
buffer_type file
|
||||
buffer_path /var/lib/fluentd/data/elasticsearch.buffer/{{ syslog_neutron_tls_proxy_facility }}.*
|
||||
suppress_type_name true
|
||||
</store>
|
||||
{% elif enable_monasca | bool and monasca_ingest_control_plane_logs | bool %}
|
||||
<store>
|
||||
|
@ -25,5 +25,6 @@
|
||||
reconnect_on_error true
|
||||
buffer_type file
|
||||
buffer_path /var/lib/fluentd/data/elasticsearch.buffer/openstack.*
|
||||
suppress_type_name true
|
||||
</store>
|
||||
</match>
|
||||
|
@ -0,0 +1,5 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Stops Fluentd warning message when posting to Elasticsearch 7 bulk
|
||||
API.
|
Loading…
Reference in New Issue
Block a user