Skip to content

docs: pipeline: filters: kubernetes: document internal log enrichment#2616

Merged
eschabell merged 1 commit into
fluent:masterfrom
eschabell:erics_filters_kubernetes_enrich_updates
Jul 10, 2026
Merged

docs: pipeline: filters: kubernetes: document internal log enrichment#2616
eschabell merged 1 commit into
fluent:masterfrom
eschabell:erics_filters_kubernetes_enrich_updates

Conversation

@eschabell

@eschabell eschabell commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

Document that the filter enriches records from the fluentbit_logs input with the local Fluent Bit Pod's metadata (namespace from kube_namespace_file, Pod name from HOSTNAME) instead of querying the Kubernetes API server.

Note this update due to code change without matching docs PR.

Summary by CodeRabbit

  • Documentation
    • Added guidance for enriching Fluent Bit internal logs with Kubernetes metadata.
    • Clarified how the local Pod namespace and name are detected for attaching metadata to diagnostic logs.

Document that the filter enriches records from the fluentbit_logs input
with the local Fluent Bit Pod's metadata (namespace from
kube_namespace_file, Pod name from HOSTNAME) instead of querying the
Kubernetes API server.

Note this update due to code change without matching docs PR.

Signed-off-by: Eric D. Schabell <eric@schabell.org>
@eschabell eschabell self-assigned this Jul 7, 2026
@eschabell eschabell requested a review from a team as a code owner July 7, 2026 21:29
@eschabell eschabell added waiting-on-review Waiting on a review from mainteners 5.0.9 labels Jul 7, 2026
@coderabbitai

coderabbitai Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: f3f65dd5-3494-4312-9a60-03b270fcfa55

📥 Commits

Reviewing files that changed from the base of the PR and between 8892466 and 82672e4.

📒 Files selected for processing (1)
  • pipeline/filters/kubernetes.md

📝 Walkthrough

Walkthrough

This PR adds a documentation subsection to the Kubernetes filter page describing how the filter enriches Fluent Bit's own internal logs (from the fluentbit_logs input plugin) using local Pod metadata, without querying the Kubernetes API server.

Changes

Kubernetes filter docs

Layer / File(s) Summary
Document internal log enrichment behavior
pipeline/filters/kubernetes.md
New subsection explains namespace is read from kube_namespace_file and Pod name from HOSTNAME (or system hostname fallback), avoiding Kubernetes API server calls for fluentbit_logs input records.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Related Issues

None mentioned.

Related PRs

None mentioned.

Suggested labels: documentation

Suggested reviewers: None identified.

Poem
A rabbit hops through docs so neat,
Explaining logs from Fluent's feet,
No API call, just hostname's trace,
Metadata found in the local place. 🐇📄

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly matches the docs update about Kubernetes filter internal log enrichment.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@eschabell

Copy link
Copy Markdown
Collaborator Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@eschabell

Copy link
Copy Markdown
Collaborator Author

@patrick-stephens ready for review!

@eschabell eschabell merged commit d3974fa into fluent:master Jul 10, 2026
8 checks passed
@eschabell eschabell removed the waiting-on-review Waiting on a review from mainteners label Jul 10, 2026
@eschabell eschabell deleted the erics_filters_kubernetes_enrich_updates branch July 10, 2026 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants