logstash: Explicitly set ecs_compatibility to "disabled"

Since v7.10, Logstash prints the following warning message when this
setting is not defined:

[deprecation.logstash.outputs.elasticsearch] Relying on default value of
`pipeline.ecs_compatibility`, which may change in a future major release
of Logstash. To avoid unexpected changes when upgrading Logstash, please
explicitly declare your desired ECS Compatibility mode.

Ref: https://www.elastic.co/guide/en/logstash/7.10/plugins-outputs-elasticsearch.html#plugins-outputs-elasticsearch-ecs_compatibility
This commit is contained in:
Antoine Cotten 2020-11-12 15:39:40 +01:00
parent 1bee7e1c09
commit 43c23374a3
No known key found for this signature in database
GPG Key ID: 94637E68D4A79DD0
1 changed files with 1 additions and 0 deletions

View File

@ -15,5 +15,6 @@ output {
hosts => "elasticsearch:9200" hosts => "elasticsearch:9200"
user => "elastic" user => "elastic"
password => "changeme" password => "changeme"
ecs_compatibility => disabled
} }
} }