title: Logstash conf file for parsing django exceptions
body: <p>I have been trying to use logstash, elastic search, and Kibana for monitoring my django server.
  I have set the conf file as given below</p>
  
  <pre><code>input {
     tcp { port =&gt; 5000 codec =&gt; json }
     udp { port =&gt; 5000 type =&gt; syslog }
  }
  
  output {
    elasticsearch_http {
    host =&gt; "127.0.0.1"
    port =&gt; 9200
  }
  stdout { codec =&gt; rubydebug }
  </code></pre>
  
  <p>}
  But the messages logged are too lengthy and could not find a method to parse it.
  Any help is appreciated</p>