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

Potential KeyValueProcessor feature: tag_on_failure #886

Closed
dapowers87 opened this issue Jan 18, 2022 · 2 comments · Fixed by #3368
Closed

Potential KeyValueProcessor feature: tag_on_failure #886

dapowers87 opened this issue Jan 18, 2022 · 2 comments · Fixed by #3368
Labels
backlog enhancement New feature or request

Comments

@dapowers87
Copy link
Contributor

dapowers87 commented Jan 18, 2022

When a kv operation causes a runtime exception to be thrown within the processor, the operation is safely aborted without crashing the processor, and the event is tagged with the provided value.

Default is keyvalueprocessor_failure

See: https://www.elastic.co/guide/en/logstash/current/plugins-filters-kv.html#plugins-filters-kv-tag_on_failure

@dlvenable
Copy link
Member

This requires #629 first. And it is another good reason for us to include a tagging related feature.

@graytaylor0
Copy link
Member

Relevant links for example of adding tags on json parse failure in the parse_json processor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog enhancement New feature or request
Projects
None yet
3 participants