-
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
Adopt parsers
in Filebeat's journald input
#29070
Conversation
This pull request does not have a backport label. Could you fix it @belimawr? 🙏
NOTE: |
💚 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:
|
0cd3225
to
5a94bcf
Compare
5a94bcf
to
18dabb7
Compare
This pull request is now in conflicts. Could you fix it? 🙏
|
18dabb7
to
4a52f86
Compare
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
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.
Let's remove the e2e test and add a simpler integration test in a follow up PR.
2a3dc19
to
48c919c
Compare
48c919c
to
dc7eff3
Compare
c0ad34d
to
5a5928d
Compare
I removed it and added a unit test on: filebeat/input/journald/input_parsers_test.go |
This pull request is now in conflicts. Could you fix it? 🙏
|
One test is added that runs Filebeat reading from a journald file, it only tests one parser, however that should be enough to ensure parsers are supported on journald input. Splits from elastic#26130
76bd9af
to
67b5ba7
Compare
rebase onto master, force push |
* upstream/master: [libbeat] Fix add_labels flattening of arrays values (elastic#29211) Change elastic-agent pprof default to false (elastic#29155) elastic#28472 fix flaky tests in libbeat fmtstr to use time.UTC instead of time.Local (elastic#28473) Adopt `parsers` in Filebeat's journald input (elastic#29070) [Elastic Agent] Add process error handling guidelines (elastic#29152) winlogbeat/sys/winevent: use reflect IsZero method (elastic#29190) Remove Journalbeat (elastic#29131) Add note that there is no warranty or support for generator code (elastic#28797) packetbeat: preparation for npcap addition (elastic#29017) Use the generic helper for opening file to read in filestream (elastic#29180) Workflow for macos (elastic#29174) Fix `decode_json_fields` processor to always add error key (elastic#29107)
One test is added that runs Filebeat reading from a journald file, it only tests one parser, however that should be enough to ensure parsers are supported on journald input. Splits from #26130 (cherry picked from commit 8fcad13) Co-authored-by: Tiago Queiroz <[email protected]>
Splits from #26130
What does this PR do?
Adopt
parsers
in Filebeat's journald inputWhy is it important?
It enables Filebeat to parse more types of log from journald input
Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Author's Checklist
How to test this PR locally
Related issues
parsers
in all Filebeat inputs #26130Use cases
Screenshots
Logs