Skip to content

Commit e75b7ae

Browse files
authored
Merge pull request #174 from stackhpc/stackhpc/victoria-stop-es7-warnings
Add suppress_type_name to stop warnings with ES7
2 parents 087834e + 471bd0f commit e75b7ae

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

ansible/roles/common/templates/conf/output/00-local.conf.j2

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
reconnect_on_error true
3636
buffer_type file
3737
buffer_path /var/lib/fluentd/data/elasticsearch.buffer/{{ syslog_swift_facility }}.*
38+
suppress_type_name true
3839
</store>
3940
{% elif enable_monasca | bool and monasca_ingest_control_plane_logs | bool %}
4041
<store>
@@ -97,6 +98,7 @@
9798
reconnect_on_error true
9899
buffer_type file
99100
buffer_path /var/lib/fluentd/data/elasticsearch.buffer/{{ syslog_haproxy_facility }}.*
101+
suppress_type_name true
100102
</store>
101103
{% elif enable_monasca | bool and monasca_ingest_control_plane_logs | bool %}
102104
<store>
@@ -157,6 +159,7 @@
157159
reconnect_on_error true
158160
buffer_type file
159161
buffer_path /var/lib/fluentd/data/elasticsearch.buffer/{{ syslog_glance_tls_proxy_facility }}.*
162+
suppress_type_name true
160163
</store>
161164
{% elif enable_monasca | bool and monasca_ingest_control_plane_logs | bool %}
162165
<store>
@@ -218,6 +221,7 @@
218221
reconnect_on_error true
219222
buffer_type file
220223
buffer_path /var/lib/fluentd/data/elasticsearch.buffer/{{ syslog_neutron_tls_proxy_facility }}.*
224+
suppress_type_name true
221225
</store>
222226
{% elif enable_monasca | bool and monasca_ingest_control_plane_logs | bool %}
223227
<store>

ansible/roles/common/templates/conf/output/01-es.conf.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,6 @@
2525
reconnect_on_error true
2626
buffer_type file
2727
buffer_path /var/lib/fluentd/data/elasticsearch.buffer/openstack.*
28+
suppress_type_name true
2829
</store>
2930
</match>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
fixes:
3+
- |
4+
Stops Fluentd warning message when posting to Elasticsearch 7 bulk
5+
API.

0 commit comments

Comments
 (0)