Skip to content

Add support for injecting configuration data into the transform definitions #3112

@kcreddy

Description

@kcreddy

Currently integration configuration data, for example interval, cannot be injected into the transform definition, confirmed here.

Making the transform retention user-configurable is often asked before, for example here. Some integrations have a workaround by injecting variables into input config, then into the ingest pipeline, and then into the transform through a field. This workaround is less efficient. It would be nice to control it better by directly injecting the configuration data into the transforms. Also a direct option to control the transform would have a better user experience as well.

By allowing user configuration data injected into the transform, users can control the transform retention efficiently.

Example: Based on interval value,

retention_policy:
  time:
    field: "@timestamp"
    max_age: {{ interval }}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Team:EcosystemLabel for the Packages Ecosystem team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions