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

Improve processor error handling #1690

Open
Tracked by #16
cmacknz opened this issue Nov 4, 2022 · 0 comments
Open
Tracked by #16

Improve processor error handling #1690

cmacknz opened this issue Nov 4, 2022 · 0 comments
Labels
Team:Elastic-Agent Label for the Agent team

Comments

@cmacknz
Copy link
Member

cmacknz commented Nov 4, 2022

When a processor encounters an error, rather than emitting a log statement we should annotate the event with ECS error fields indicating that processing failed and why it happened. This allows querying for events that were not processed successfully. This functionality should ideally be behind a configuration flag in the shipper configuration block.

Specifically, when a processor encounters an error it should annotate the event with the event.kind: pipeline_error and add an error.message with the cause before adding it to the queue to be sent to its final destination.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Elastic-Agent Label for the Agent team
Projects
None yet
Development

No branches or pull requests

2 participants