Stop fluentd deprecation warnings of type vs @type

Currently when elasticsearch log output is enabled there are lots
of warnings going into elasticsearch about type being deprecated
and needing to move to @type. This change stops those warnings.

TrivialFix

Change-Id: Ideac1925cb764ad0d7d8416f56d5e4a993c6d8b6
This commit is contained in:
John Garbutt 2021-06-03 10:49:32 +01:00
parent 008ada9062
commit 0c7ba86e05

View File

@ -136,7 +136,7 @@
</store>
{% if log_direct_to_elasticsearch %}
<store>
type elasticsearch
@type elasticsearch
host {{ elasticsearch_address }}
port {{ elasticsearch_port }}
scheme {{ fluentd_elasticsearch_scheme }}
@ -197,7 +197,7 @@
</store>
{% if log_direct_to_elasticsearch %}
<store>
type elasticsearch
@type elasticsearch
host {{ elasticsearch_address }}
port {{ elasticsearch_port }}
scheme {{ fluentd_elasticsearch_scheme }}