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
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Included review availability: Your plan provides up to 2 included reviews per hour; 1 remains after this review. 📝 WalkthroughWalkthroughThe Systemd input documentation describes per-entry parser selection through the ChangesSystemd parser documentation
Estimated code review effort: 1 (Trivial) | ~3 minutes Merge Risk: ⚪ Minimal · up to This change documents per-entry systemd parser selection and fallback behavior. No current merge-readiness risk is identified. 🚥 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 |
…parser
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.
- Unwrap hard-wrapped paragraphs and list items to single lines so
GitBook doesn't render mid-sentence breaks
- Replace "This is useful when" with "Use this when" (FluentBit.Simplicity)
- Replace "unparsed" with "unmodified" (FluentBit.Spelling)
Relates to fluent/fluent-bit#11353
Signed-off-by: Nour Douffir <nourdouf@github.com>
Signed-off-by: Eric D. Schabell <eric@schabell.org>
0c302db to
8194feb
Compare
|
@nourdouf fixing a few vale issue, then will review. |
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
FLUENT_BIT_PARSERjournal field and advertised from a unit file.