Skip to content

[pkg/ottl] Consider support of dynamic keys in OTTL functions #43555

@odubajDT

Description

@odubajDT

Component(s)

pkg/ottl

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

In the current state, some OTTL function have the support of dynamic keys, some don't and there actually isn't a rule for these decisions. We have a regular feature requests like here, for support. Let's think ahead and support the dynamic keys where it makes sense.

Describe the solution you'd like

Potentially all OTTL functions should support dynamic keys, for start I would propose the following:

  • Concat()
  • Decode()
  • ExtractGrokPatterns()
  • ExtractPatterns
  • HasPrefix()
  • HasSuffix()
  • IsMatch
  • Split()
  • keep_keys
  • keep_matching_keys()
  • replace_all_matches()
  • replace_all_patterns()
  • replace_match()
  • replace_pattern()

Describe alternatives you've considered

No response

Additional context

related to #43081

Tip

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions