Skip to content

Request for native YAML support for custom parsers #613

@badatya14

Description

@badatya14

Is your feature request related to a problem? Please describe.

Yes. Fluent Bit v3.2+ supports YAML as the standard configuration format, and v4.x continues this direction. However, the current Helm chart (fluent/helm-charts) still expects customParsers to be defined in the classic [PARSER] format as a string block. This prevents users from fully adopting YAML-native configuration, especially for custom parser definitions.

Describe the solution you'd like

I would like the Helm chart to support defining custom parsers using native YAML syntax, such as:

config:
  custom_parsers:
    - name: docker_no_time
      format: json
      time_keep: off
      time_key: time
      time_format: "%Y-%m-%dT%H:%M:%S.%L"

This would align with Fluent Bit’s YAML configuration support and allow users to manage all configuration in a consistent, structured format.

https://github.com/fluent/helm-charts/blob/main/charts/fluent-bit/templates/configmap.yaml#L10C1-L11C60

Currently it still refers classic config

  custom_parsers.conf: |
    {{- (tpl .Values.config.customParsers $) | nindent 4 }}

Describe alternatives you've considered
Continuing to use customParsers: | with classic [PARSER] blocks, but this feels like a step backward given Fluent Bit’s YAML-native capabilities.

Let me know if i am missing something.

Correct me if wrong, the current version of helm chart doesnt support YAML format yet?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions