Skip to content

logfmt parser should consider some fields as a tag #11027

@Hipska

Description

@Hipska

Feature Request

Opening a feature request kicks off a discussion.

Proposal:

Have a setting for the parser like logfmt.tag_values as an array that specifies (glob support) which fields should be added as a tag directly.

Current behavior:

All parsed key/value pairs are added as a field.

Desired behavior:

Configure which pairs would be added as a tag.

Use case:

I'm using logfmt as a parser for processors.parser and then it becomes difficult to diferentiate if a field was already present before or after the addition from the parser if I would want to convert it to a tag.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestRequests for new plugin and for new features to existing pluginsplugin/parser1. Request for new parser plugins 2. Issues/PRs that are related to parser plugins

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions