filebeat/input/journald: fix field name translation#30167
filebeat/input/journald: fix field name translation#30167belimawr merged 2 commits intoelastic:mainfrom
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 |
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.asciidocorCHANGELOG-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
filebeatfolder, 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