-
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] fix crowdstrike ingest pipeline #27623
[filebeat] fix crowdstrike ingest pipeline #27623
Conversation
fix process fields that were being created as flattened fields
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
Trends 🧪💚 Flaky test reportTests succeeded. Expand to view the summary
Test stats 🧪
|
/test |
Pinging @elastic/security-external-integrations (Team:Security-External Integrations) |
Thanks for your contribution @leandrojmp , would you be able to perform a few small additions to your PR? Specifically: Please modify the CHANGELOG.NEXT, there should be a section called Bugfixes, and then Filebeat, and just link back to this PR.
If you are getting issues or are unable to perform the rerun of the test data, please let me know and I can update the PR with an extra commit :) |
added line about the pr in the changelog.next file
corrected the links to the issue and pr in changelog
Hello @P1llus, I've changed the |
Did it also create any changes to a expected.json file? If you could attach that as well |
No In the file eg:
|
Fixed capitalization.
You are correct it seems, so it would not change much in the test output, looking at the output in our elastic-agent integration, there seems that one or more fields are indeed flattened by the script you changed: Did you test it yourself locally to confirm it's working or? |
Yes, I'm running in production, this is my current output:
I've made the changes in the ingest pipeline located here: The output from that integration seems to be running a different For what I understood, this integration is part of the elastic agent, I'm running Filebeat. |
Ah yeah I was just comparing it with elastic-agent, which starts with same or similar pipelines in most cases, since the expected.json generated there is not nested, so it was easier to spot the nested fields happening there. I will go ahead and start the tests again then, and see if the build passes :) |
/test |
* fix: fix crowdstrike ingest pipeline fix process fields that were being created as flattened fields * docs: add line to changelog.next added line about the pr in the changelog.next file * docs: add links in changelog corrected the links to the issue and pr in changelog * Update CHANGELOG.next.asciidoc Fixed capitalization. (cherry picked from commit 825bfb2)
Thanks for the contribution @leandrojmp :) It has now been merged and will be automatically backported to the next available version (7.16) |
Thanks! I will wait for the merge to update my stack. |
* fix: fix crowdstrike ingest pipeline fix process fields that were being created as flattened fields * docs: add line to changelog.next added line about the pr in the changelog.next file * docs: add links in changelog corrected the links to the issue and pr in changelog * Update CHANGELOG.next.asciidoc Fixed capitalization. (cherry picked from commit 825bfb2) Co-authored-by: Leandro Maciel <[email protected]> Co-authored-by: Marius Iversen <[email protected]>
* fix: fix crowdstrike ingest pipeline fix process fields that were being created as flattened fields * docs: add line to changelog.next added line about the pr in the changelog.next file * docs: add links in changelog corrected the links to the issue and pr in changelog * Update CHANGELOG.next.asciidoc Fixed capitalization.
fix process fields that were being created as flattened fields
What does this PR do?
This fix the process fields that were being created as flatenned fields instead of nested.
Why is it important?
Mixing flattened fields and nested fields with similar name is confusing and could lead to errors when running queries or automated processes that expects the nested fields.
Checklist
I have commented my code, particularly in hard-to-understand areasI have made corresponding changes to the documentationI have made corresponding change to the default configuration filesI have added an entry inCHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Author's Checklist
How to test this PR locally
Related issues
Use cases
Screenshots
Logs