title: Logstash Filter to Parse Nested Jsons
body: <p>Is there a way to parse nested Json objects in Logstash? The following filter works for me but doesn't parse nested json objects:</p>
  
  <pre><code>filter{
     json{
        { source =&gt; "message" }
     }
  
  }
  </code></pre>
  
  <p>So if the input json is <code>{"Event":23 , "Fact":"Yes" , "data":{"node1":"A1", "flag":"Y"}}</code></p>
  
  <p>This is what it converts it to (From LogStash Logs)</p>
  
  <pre><code>"Event" =&gt; 23
  "Fact" =&gt; "Yes"
  "data" =&gt; "\"{\\\"node1\\\":"\\\A1\\\", "\\\flag\\\":"\\\Y\\\"}}
  </code></pre>