Skip to content

[pkg/ottl] Add a new converter that checks for sub-string #44546

@khushijain21

Description

@khushijain21

Component(s)

pkg/ottl

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

We have a use case where we would like to edit the attributes if the log body contains a sub-string.

Describe the solution you'd like

A new convetrer named ContainsSubString(log.body. "warn")

Describe alternatives you've considered

No response

Additional context

No response

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

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions