Add checks to "RENAME X to event.original" processors across Filebeat module pipelines #38224
Labels
enhancement
Filebeat
Filebeat
Team:Obs-InfraObs
Label for the Observability Infrastructure Monitoring team
Team:Security-Edge Integrations
Security Edge Integrations Team
Team:Security-Service Integrations
Security Service Integrations Team
Describe the enhancement:
Update filebeat module pipelines to include a conditional check for the existence of
event.original
Describe a specific use case for the enhancement or feature:
When renaming a field to
event.original
, it appears the ingest pipelines for filebeat modules generally do not take into account whetherevent.original
already exists, which can occur when using Logstash. This can result in"field [event.original] already exists"
errors.This has been addressed in elastic agent integrations' pipelines by including a conditional check:
if: ctx.event?.original == null
PR: elastic/integrations#7822
It would be nice to implement the same logic in the filebeat ingest pipelines.
Example:
The text was updated successfully, but these errors were encountered: