logging - Logstash Filter to Parse Nested Jsons -
logging - Logstash Filter to Parse Nested Jsons -
is there way parse nested json objects in logstash? next filter works me doesn't parse nested json objects:
filter{ json{ { source => "message" } } }
so if input json {"event":23 , "fact":"yes" , "data":{"node1":"a1", "flag":"y"}}
this converts (from logstash logs)
"event" => 23 "fact" => "yes" "data" => "\"{\\\"node1\\\":"\\\a1\\\", "\\\flag\\\":"\\\y\\\"}}
logging logstash grok
Comments
Post a Comment