-
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/input/journald: fix field name translation #30167
Conversation
The field names from journald were not being translated to our format when sending the event to the output. This commit fixes it. Fixes 30031
de13977
to
4e1232e
Compare
This pull request does not have a backport label. Could you fix it @belimawr? 🙏
NOTE: |
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
💚 Flaky test reportTests succeeded. 🤖 GitHub commentsTo re-run your PR in the CI, just comment with:
|
@andrewkroh I addressed your comments on 2e7a8e9 |
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.
WFG
The field names from journald were not being translated to our format when sending the event to the output. This commit fixes it. Fixes 30031 (cherry picked from commit cc634f1) # Conflicts: # filebeat/input/journald/input.go # filebeat/input/journald/input_filtering_test.go
The field names from journald were not being translated to our format when sending the event to the output. This commit fixes it. Fixes 30031 (cherry picked from commit cc634f1) # Conflicts: # filebeat/input/journald/input_filtering_test.go
The field names from journald were not being translated to our format when sending the event to the output. This commit fixes it. Fixes 30031 (cherry picked from commit cc634f1)
The field names from journald were not being translated to our format when sending the event to the output. This commit fixes it. Fixes 30031 (cherry picked from commit cc634f1) Co-authored-by: Tiago Queiroz <tiago.queiroz@elastic.co>
…ation (#30287) * filebeat/input/journald: fix field name translation (#30167) The field names from journald were not being translated to our format when sending the event to the output. This commit fixes it. Fixes 30031 (cherry picked from commit cc634f1) # Conflicts: # filebeat/input/journald/input_filtering_test.go Co-authored-by: Tiago Queiroz <tiago.queiroz@elastic.co>
What does this PR do?
The field names from journald were not being translated to our format
when sending the event to the output. This commit fixes it.
Why is it important?
It fixes the Journald event format
Checklist
[ ] I have made corresponding changes to the documentation[ ] I have made corresponding change to the default configuration filesCHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.## Author's ChecklistHow to test this PR locally
Run Filebeat with the journald input and check that the event fields are translated as stated on our documentation
From the
filebeat
folder, you can use this yaml as configuration. It points to a journal used on unit tests with a handful of eventsRelated issues
## Use cases## Screenshots## Logs