title: Log stash filters
body: <p>I need a help for writing the filters for logstash. My logstash is configured to read syslog. </p>
  
  <p>The log message is as follows,</p>
  
  <pre><code>Mar 14 15:11:11 localhost 192.168.235.136 {'status': 'True', 'endpoint': '/search/basic/', 'parameters': &lt;QueryDict: {u'fileName': [u'Adware']}&gt;, 'company': u'Global first', 'matched threat scape': [u'Enterprise IT Management and Investment'], 'request id': 11, 'user id': 2L, 'user': u' ', 'matched report id': [u'Intel-732102']}
  </code></pre>
  
  <p>I wanted to have filters on kibana, based on the json keys that I am passing in the message to logstash.</p>
  
  <p>I am not able to write the filters to get the parameters from my logs.
  I have also tried <a href="http://grokdebug.herokuapp.com/" rel="nofollow">http://grokdebug.herokuapp.com/</a> for generating the filter.
  It gave me the pattern that I am not sure how to use it.</p>
  
  <pre><code>{%{QS:'status'}: %{QS}, %{QS}: %{QS}, %{QS}: &lt;QueryDict: {u%{QS}: %{SYSLOG5424SD}}&gt;, %{QS}: u%{QS}, %{QS}: %{SYSLOG5424SD}, %{QS}: 11, %{QS}: 2L, %{QS}: u' ', 'matched report id': %{SYSLOG5424SD}}
  </code></pre>