pipeline: inputs: systemd: document FLUENT_BIT_PARSER per-unit parser - #2685
pipeline: inputs: systemd: document FLUENT_BIT_PARSER per-unit parser#2685nourdouf wants to merge 1 commit into
Conversation
Document the ability to select a parser at runtime, per journal entry, via the FLUENT_BIT_PARSER field (settable from a systemd unit with LogExtraFields=FLUENT_BIT_PARSER=<parser>). Covers behavior, fallback, and a logfmt example. Relates to fluent/fluent-bit#11353 Signed-off-by: Nour Douffir <nourdouf@github.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 2 included reviews per hour; 1 remains after this review. 📝 WalkthroughWalkthroughThe Systemd input documentation adds per-entry parser selection through the ChangesSystemd parser documentation
Estimated code review effort: 1 (Trivial) | ~3 minutes Merge Risk: ⚪ Minimal · up to This documentation-only change explains per-unit parser selection for systemd input behavior; no actionable merge-blocking risk remains after normal checks and review. Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Full details: Docstring CoverageExplanation No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.) ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Documents the new
in_systemdcapability to select a parser at runtime, per journal entry, via theFLUENT_BIT_PARSERfield. This can be advertised from a systemd unit with:When present, the plugin applies the named parser to the entry's
MESSAGEfield and emits structured fields instead of the raw message. The doc covers behavior (metadata field stripped, MESSAGE-only parsing, graceful fallback when the parser is missing or parsing fails, per-entry resolution) and includes alogfmtexample.Related
Documentation for code PR fluent/fluent-bit#11353 (adds
FLUENT_BIT_PARSERsupport to the systemd input).Fluent Bit is licensed under Apache 2.0.
Summary by CodeRabbit