bug: fluentbit.io/parser annotation not working properly
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- helm, kubernetes
調査の方向性
ソースファイルもテストも指定されていません。まず、HelmでインストールしたFluent Operator 3.2.0を使用した再現環境で、Kubernetesフィルターのk8sLoggingParserアノテーション処理とnamespaced Parser CRDの解決を追跡してください。完了条件は、podのアノテーションによってlogフィールドが参照されたカスタムパーサーで解析され、既存の除外アノテーションの動作が維持されることです。
索引モデルが issue の本文から書いたものです。
説明
Describe the issue
We have a fluent-operator installed on the cluster in the fluent namespace, with namespace-provided configuration (filters, parsers, and output).
We have been using the kubernetes filter with the k8sLoggingParser: true option set in the default namespace, so we can specify a custom parser on the resource level, in the pod annotation, as described here.
We configured and applied the custom parsers with the namespaced Parser CRD on the default namespace.
When specifying the annotation on the pod level, the log field (which was not parsed via Kubernetes filter), doesn't get parsed by the parser specified via annotation. I've also tried using the parser name and the parser name with hashed namespaced suffix in the end. Both of those options didn't work.
For comparisson, I've also enabled the k8sLoggingExclude option, and the exclusion annotation. This seems to work as expected.
To Reproduce
Create a namespaced Parser and add an annotation on the pod level that specifies that parser.
Expected behavior
Log field is properly parsed via the custom parser specified in the annotation.
Your Environment
- Fluent Operator version: 3.2.0
How did you install fluent operator?
Via helm.
Additional context
No response
- 主要言語
- Go
- スター
- 689
- フォーク
- 333
- 平均マージ
- 2日 6時間
- マージ済み PR(30日)
- 43
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
fluent/fluent-operator のほかの issue
-
feat: support the Fluent Bit type_converter filter対応中かも @NopeCharon が今日担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 65/100
fluent/fluent-operator#2131 ·
メンテナーはふだん 1 日以内に返信
-
bug: fluent-bit image still ships vulnerable libbrotli1 (CVE-2026-111497)対応中かも @joshuabaird が 9 日前に担当しました。 オープンfluent-bit security
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
fluent/fluent-operator#2082 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
fluent/fluent-operator#1990 · コメント 9 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement fluent-bit good first issue
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
fluent/fluent-operator#1854 · コメント 2 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Remove tag consideration from Fluentd ClusterFilter / Filter order対応中かも @cvas22 が 1 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
fluent/fluent-operator#1832 ·
メンテナーはふだん 1 日以内に返信
fluent/fluent-operator の issue をすべて見る
似ている issue
-
automated-triage type/bug type/ci
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
hashicorp/terraform-provider-google#30678 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
ethereum-optimism/optimism#24120 ·
メンテナーはふだん 1 日以内に返信
-
area/docs
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
meshery/meshery#23375 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
ApplicationSet: BitBucket Cloud SCM provider returns corrupted error (%!w(<nil>)) when a branch has no commit hash対応中かも @AP24110011695 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信