A nice tool… and i had never heard about it
LogParser… yes the name says everything, it’s a simple command line tool from Microsoft and serves to parse log files (you can get it here).
The Problem: Almost 1GB of IIS log files and willing to identify site 404 errors.
The solution: Log parser and a simple blog post explaining how to use it.
So I've executed the following command:
logparser "SELECT [cs-uri-stem], [cs-uri-query], Count(*) AS [Hits] FROM c:\logs\web\ex*.log WHERE sc-status = 404
GROUP BY [cs-uri-stem], [cs-uri-query]"
And I’m done.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home