-
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
[Filebeat] [tests] Keep host.name in forwarded events #19604
Conversation
Update Filebeat's test_modules.py integration test to not strip the `host.name` field in events marked as forwarded. Relates elastic#13920
Pinging @elastic/siem (Team:SIEM) |
💔 Tests FailedExpand to view the summary
Build stats
Test stats 🧪
Test errorsExpand to view the tests failures
--------------------- >> end captured stdout << ---------------------- Steps errorsExpand to view the steps failures
Log outputExpand to view the last 100 lines of log output
|
run tests |
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.
LGTM. Thanks for adding this.
Update Filebeat's test_modules.py integration test to not strip the `host.name` field in events marked as forwarded. Relates elastic#13920 (cherry picked from commit 156c87b)
Update Filebeat's test_modules.py integration test to not strip the `host.name` field in events marked as forwarded. Relates elastic#13920
What does this PR do?
Updates Filebeat's test_modules.py integration test to not strip the
host.name
field in events tagged as forwarded.Why is it important?
So the -expected.json golden files keep the
host.name
field and errors in modules that populate this field can be detected.Checklist
[ ] I have made corresponding changes to the documentation[ ] I have made corresponding change to the default configuration files[ ] I have added an entry inCHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Relates #13920