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

Failure to create an event from the payload can crash the plugin #182

Open
yaauie opened this issue Oct 19, 2022 · 0 comments · May be fixed by #183
Open

Failure to create an event from the payload can crash the plugin #182

yaauie opened this issue Oct 19, 2022 · 0 comments · May be fixed by #183
Assignees

Comments

@yaauie
Copy link
Contributor

yaauie commented Oct 19, 2022

It is possible for Logstash event creation from a key/value map to fail with an exception (such as incorrect use of a reserved field in any version, or an invalid field reference as a key name prior to Logstash 8.3.0).

Instead of crashing, this plugin should catch the exception, re-serialize the offending map, and emit a tagged event (similar to how the JSON codec does so).

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

Successfully merging a pull request may close this issue.

1 participant