Backport PR #13391 to 8.0: ECS on by default for Logstash 8, again #13416
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Backport PR #13391 to 8.0 branch. Original message:
Release notes
[breaking] The
pipeline.ecs_compatibility
setting now defaults tov8
, causing all plugins that implement an ECS compatibility mode to default to operating withecs_compatibility => v8
.What does this PR do?
Effectively reverts #13080, making the default ECS compatibility mode
v8
for Logstash 8, and adds INFO-level logging for each pipeline to indicate in which mode its plugins will be run.Why is it important/What is the impact to the user?
This the final step of a large and ongoing effort to provide better support for the Elastic Common Schema, detailed in #11623. In #13080 we had back-tracked making the breaking change out of an abundance of caution, but have since decided to move forward with it.
Checklist
Author's Checklist
There are a number of plugins that ship with Logstash and have ECS modes, that do NOT yet have modes for v8. Because the scope of changes for v1->v8 is so small, I think that all of these can provide a v8 implementation that simply aliases the existing v1 implementation.
How to test this PR locally
bin/logstash -e ''
[host][hostname]
)Related issues
Resolves #11623
Reverts #13080