-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Force ECS options in filebeat pipelines when filebeat version is over 7.0 and ES version is 6.7.X #10875
Conversation
… 7.0 and ES version is 6.7.X
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for tackling this problem. And happy one year anniversary!
@andrewkroh suggestions added. Thanks for the review! |
… 7.0 and ES version is 6.7.X (elastic#10875) When using the `user_agent` processor to ingest data from Filebeat 7.0 into Elasticsearch 6.X conflicts appear with ECS user_agent fields, this can be solved by setting `ecs: true` when pipelines are being loaded into Elasticsearch 6.7.0. For minor versions where `ecs` option is not available, pipelines will fail to load. Fix elastic#10655 (cherry picked from commit 34eaf57)
… 7.0 and ES version is 6.7.X (#10875) (#10930) When using the `user_agent` processor to ingest data from Filebeat 7.0 into Elasticsearch 6.X conflicts appear with ECS user_agent fields, this can be solved by setting `ecs: true` when pipelines are being loaded into Elasticsearch 6.7.0. For minor versions where `ecs` option is not available, pipelines will fail to load. Fix #10655 (cherry picked from commit 34eaf57)
@jsoriano If someone upgrades Elasticsearch from 6.7 to 7.0 and keeps Filebeat 6.7, this means the user has to overwrite the ingest pipelines? |
@jsoriano One more question: I can't see a backport label on this one. Should this also go into 7.0? |
@ruflin I think this is only a problem if Filebeat 7.0 is used.
It was backported on #10930 |
FB version: Right, an we recommend to upgrade ES first so we should be good. Probably we should still leave a not about it somewhere. Backport: 👍 |
@jsoriano I believe this PR is also necessary in the 6.7 branch to allow all modules that use @tsg said he saw, |
Similar to elastic#10875, but removing ecs flags when using pipelines on Elasticsearch versions below 6.7.0, that don't have them.
Similar to #10875, but removing ecs flags when using pipelines on Elasticsearch versions below 6.7.0, that don't have them.
When using the
user_agent
processor to ingest data from Filebeat 7.0into Elasticsearch 6.X conflicts appear with ECS user_agent fields, this can
be solved by setting
ecs: true
when pipelines are being loaded intoElasticsearch 6.7.0.
For minor versions where
ecs
option is not available, pipelines will failto load.
Fix #10655