Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add checks to rename processor for the message field for the Observability Beats Modules #9269

Open
ishleenk17 opened this issue Mar 5, 2024 · 2 comments

Comments

@ishleenk17
Copy link
Contributor

As a follow up to this ticket : #7822
We should add the null and ignore_missing flag checks to rename processors for event.original field to the corresponding beats modules as well. As the same issue can be observed in the beats as well.

Current state:

rename:
field: message
target_field: event.original
Expected State:

rename:
field: message
target_field: event.original
ignore_missing: true
if: 'ctx.event?.original == null'
description: 'Renames the original message field to event.original to store a copy of the original message. The event.original field is not touched if the document already has one; it may happen when Logstash sends the document.'

We should first list down all the beats modules that need the changes and then progress with the change.

@lalit-satapathy
Copy link
Collaborator

Looks duplicate of elastic/beats#38224 ?

@ishleenk17
Copy link
Contributor Author

Looks duplicate of elastic/beats#38224 ?

Yes, these are duplicates

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants