Skip to content

Add timeKey and timeFormat to the logfmt parser #1634

@gg-kialo

Description

@gg-kialo

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

The logfmt parser in the fluentbit ClusterParser and Parser resources is lacking the ability to be customised like the other parsers. It's missing the ability to set the timeKey, timeFormat, and timeKeep properties.

For example:
The logfmt parser definition: https://github.com/fluent/fluent-operator/blob/8a954f81dc2e195bdae763a737ffc60b396e03b5/apis/fluentbit/v1alpha2/plugins/parser/logfmt_types.go
The json parser definition: https://github.com/fluent/fluent-operator/blob/8a954f81dc2e195bdae763a737ffc60b396e03b5/apis/fluentbit/v1alpha2/plugins/parser/json_types.go

Describe the solution you'd like

Add the timeKey, timeFormat, and timeKeep properties to the logfmt parser to be consistent with the other parsers.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions