Skip to content

logger: add mapping support #3675

@artemklevtsov

Description

@artemklevtsov

Hello,

I would like to propose adding a new mapping field to the logger component configuration, similar to the existing functionality in metrics (see Metric Mapping documentation).

Motivation:

  • Enable dynamic construction of log fields.
  • Allow conditional formatting and filtering of log messages.

Request:
Add a mapping configuration option in logger that supports bloblang.

Use case:
Log format with GELF.

--
Regards

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