Skip to content

Commit 5283eb8

Browse files
JohnGarbuttyoctozepto
authored andcommitted
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 (cherry picked from commit 0c7ba86)
1 parent 6870d56 commit 5283eb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@
136136
</store>
137137
{% if log_direct_to_elasticsearch %}
138138
<store>
139-
type elasticsearch
139+
@type elasticsearch
140140
host {{ elasticsearch_address }}
141141
port {{ elasticsearch_port }}
142142
scheme {{ fluentd_elasticsearch_scheme }}
@@ -197,7 +197,7 @@
197197
</store>
198198
{% if log_direct_to_elasticsearch %}
199199
<store>
200-
type elasticsearch
200+
@type elasticsearch
201201
host {{ elasticsearch_address }}
202202
port {{ elasticsearch_port }}
203203
scheme {{ fluentd_elasticsearch_scheme }}

0 commit comments

Comments
 (0)