title: Parse SQL logs using NXLog, Logstash
body: <p>I want to send all logs from Database [Table creation, row insertion, data deletion, data selection etc.. ] to Logstash using NXLog, I have read the following blogs,</p>
  
  <ol>
  <li><a href="https://stackoverflow.com/questions/26519844/nxlog-im-dbi-is-not-working">Nxlog im_dbi is not working</a></li>
  <li><a href="https://groups.google.com/forum/#!topic/logstash-users/t71AkNH5Ojc" rel="nofollow noreferrer">https://groups.google.com/forum/#!topic/logstash-users/t71AkNH5Ojc</a></li>
  </ol>
  
  <p>But which seams to be not working for me. Any help will be highly appreciable. </p>
  
  <p>My nxlog config file :</p>
  
  <pre><code>&lt;Input sql-logs&gt;        
      Module im_dbi
      SavePos TRUE
      Driver mysql
      Option dbname MySample
  &lt;/Input&gt;
  
  &lt;Output sql-out&gt;
      Module      om_tcp
      Host        192.168.1.14
      Port        5222
  &lt;/Output&gt;
  </code></pre>
  
  <p>In logstash config file,</p>
  
  <pre><code>tcp {
      port =&gt; 5222
      type =&gt; "sqllogs"
  }
  </code></pre>
  
  <p>Then I have created new table, inserted many records, but no logs visible in kibana.</p>