Skip to content

feat(fluentbit): Add db.compare_filename support to Tail input plugin#1961

Open
fumblehool wants to merge 2 commits into
fluent:masterfrom
fumblehool:master
Open

feat(fluentbit): Add db.compare_filename support to Tail input plugin#1961
fumblehool wants to merge 2 commits into
fluent:masterfrom
fumblehool:master

Conversation

@fumblehool
Copy link
Copy Markdown

What this PR does / why we need it:

This PR adds db.compare_filename support to Tail input plugin

docs: https://docs.fluentbit.io/manual/data-pipeline/inputs/tail#configuration-parameters

Copilot AI review requested due to automatic review settings May 19, 2026 12:53
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR extends the Fluent Bit Tail input plugin CRD/API surface to support Fluent Bit’s db.compare_filename option, allowing users to control whether the Tail plugin compares filenames when using its state database.

Changes:

  • Added dbCompareFilename to the Tail input plugin API type and ensured it’s rendered into Fluent Bit config as DB.compare_filename.
  • Regenerated CRDs/manifests/Helm CRD artifacts to expose the new field in the published schemas.
  • Updated Tail plugin documentation to include the new parameter.

Reviewed changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
manifests/setup/setup.yaml Exposes dbCompareFilename in the generated setup manifest CRD schema.
manifests/setup/fluent-operator-crd.yaml Exposes dbCompareFilename in the consolidated generated CRD manifest.
docs/plugins/fluentbit/input/tail.md Documents the new dbCompareFilename option for Tail.
config/crd/bases/fluentbit.fluent.io_clusterinputs.yaml Adds dbCompareFilename to the ClusterInput CRD base schema for Tail.
charts/fluent-operator/crds/fluentbit.fluent.io_clusterinputs.yaml Propagates the CRD schema update into the Helm chart CRD bundle.
charts/fluent-operator-fluent-bit-crds/templates/fluentbit.fluent.io_clusterinputs.yaml Propagates the CRD schema update into the Fluent Bit CRD Helm chart template.
apis/fluentbit/v1alpha2/plugins/input/zz_generated.deepcopy.go Regenerated deepcopy logic to include DBCompareFilename.
apis/fluentbit/v1alpha2/plugins/input/tail_types.go Adds DBCompareFilename to the Tail type and emits DB.compare_filename in Params().
Files not reviewed (1)
  • apis/fluentbit/v1alpha2/plugins/input/zz_generated.deepcopy.go: Language not supported

@fumblehool fumblehool force-pushed the master branch 2 times, most recently from 8ec6980 to c66f304 Compare May 19, 2026 12:57
Signed-off-by: damanpreetsingh <damanpreetsingh@digitalocean.com>
Copilot AI review requested due to automatic review settings May 21, 2026 14:14
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 8 changed files in this pull request and generated no new comments.

Files not reviewed (1)
  • apis/fluentbit/v1alpha2/plugins/input/zz_generated.deepcopy.go: Language not supported

@joshuabaird joshuabaird changed the title Add db.compare_filename support to Tail input plugin feat(fluentbit); Add db.compare_filename support to Tail input plugin May 21, 2026
@joshuabaird joshuabaird changed the title feat(fluentbit); Add db.compare_filename support to Tail input plugin feat(fluentbit): Add db.compare_filename support to Tail input plugin May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants