title: Log Parser for linux
body: <p><a href="http://www.microsoft.com/downloads/en/details.aspx?familyid=890cd06b-abf8-4c25-91b2-f8d975cf8c07&amp;displaylang=en" rel="nofollow">Log Parser</a> is great tool for parsing log files. I can parse not just IIS log files but also custom log files with it. </p>
  
  <p><a href="http://technet.microsoft.com/en-us/library/ee692659.aspx" rel="nofollow">For example</a> I can use SQL syntax to parse logs:</p>
  
  <pre><code>C:\>LogParser "SELECT TimeGenerated, SourceName, 
  EventCategoryName, Message INTO report.txt FROM Security WHERE 
  EventID = 528 AND SID LIKE '%TESTUSER%'" -resolveSIDs:ON
  </code></pre>
  
  <p>Is there any tool like that for linux?</p>
  
  <p>Thanks.</p>