Skip to content

Feature Request: Copy Processor #7987

@anandsinghkunwar

Description

@anandsinghkunwar

I found the rename processor for filebeat, couldn't find anything related to a copy field processor. My usecase is I want to copy some fields from the kubernetes processor to a root field with the original fields remaining intact. I have a similar usecase in the case of journalbeat as well.
I tried using the fields, fields_under_root which instead of deriving the name of the variable use the variable name itself. For eg.

fields:
  test: "%{[kubernetes][namespace]}"

makes a field test with value %{[kubernetes][namespace]} instead of derived value of that actual namespace. Requesting this feature. Also are you willing to accept a PR for the same?

Discussion link here

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions