JSON decode plugin
November 29, 2024 · View on GitHub
It decodes a JSON string from the event field and merges the result with the event root. If the decoded JSON isn't an object, the event will be skipped.
⚠ DEPRECATED. Use
decodeplugin withdecoder: jsoninstead.
Config params
field cfg.FieldSelector required
The event field to decode. Must be a string.
prefix string
A prefix to add to decoded object keys.
log_json_parse_error_mode string default=off options=off|erronly|withnode
Defines how to handle logging of json parse error.
off– do not log json parse errorserronly– log only errors without any other datawithnode– log errors with json node represented as string
Defaults to off.
Generated using insane-doc