Jump to content

logparser

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Msiebuhr (talk | contribs) at 10:30, 26 March 2010 (Added usage example.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.


logparser
Stable release
2.2.10 / 2005-04-20
Operating systemWindows 2000; Windows Server 2003; Windows XP
TypeTool
LicenseFree
Websitehttp://www.logparser.com/

logparser is a command line utility that was written for use with the Windows operating system. The default behavior of logparser takes an SQL expression on the command line, outputs the lines containing matches for the SQL expression.

Common use:

$ logparser <options> <SQL expression> 

Example: Selecting date, time and client username accessing ASPX-files, taken from all .log-files in the current directory.

$ logparser -e:IISW3C -q "SELECT date, time, cs-username
FROM *.log WHERE cs-uri-stem LIKE '%.aspx' ORDER BY date, time;"

(www.logparser.com now redirects to www.iis.net)