clean up and use consistent strategy for json parsing error handling in plugins
Open
code cleanup
enhancement
- Dominant language
- Java
- Stars
- 14.9k
- Forks
- 3.5k
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 88
Description
JSON parsing error handling is inconsistent in plugins (json and json_lines codecs, json fllter, gelf input, others?) in particular some log error, log warn or don't log at all.
I suggest that upon a json parser error, an **error** level log should be generated and the event should be tagged with `_jsonparsefailure`.
related to dicussion in GELF input PR #27
Contributor guide
Assessment
This issue has not been assessed yet.