Module cernan::filter::json_encode_filter [−][src]
Convert LogLine
events into Raw events encoded as JSON.
This filter takes LogLines
and encodes them into JSON, emitting the
encoded event as a Raw event. This allows further filters or sinks to
operate on the JSON without needing to understand a LogLine
event in
particular. If the LogLine
value is a valid JSON object and
parse_line
config option is true, then the JSON will be merged with
LogLine
metadata. Otherwise, the original line will be included simply as
a string.
Structs
JSONEncodeFilter |
Convert |
JSONEncodeFilterConfig |
Configuration for |
Statics
JSON_ENCODE_LOG_PARSED |
Total number of logline with JSON value successfully parsed |
JSON_ENCODE_LOG_PROCESSED |
Total number of logline processed |