Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Has anyone used the Log Parser 2.0 Tool from Microsoft?

Status
Not open for further replies.
Yes, it's pretty cool. For instance, if I want to run a survey app and then parse the log files for who has completed it, I run at CMD:
C:\Program Files\Log Parser>logparser -i:NCSA -o:NAT "select UserName FROM c:\winnt\system32\logfiles\w3svc1\nc030324.log WHERE Request LIKE '%ThankYou%'"

The ThankYou.aspx page is the final survey completion page. Logparser.exe returns:

UserName
----------------
NYSDSSALB\GG0652
NYSDSSALB\GG0652
NYSDSSALB\GG0652
NYSDSSALB\8099ZZ
NYSDSSALB\8099ZZ
NYSDSSALB\8099ZZ
NYSDSSALB\8099ZZ
NYSDSSALB\8099ZZ

So it is useful for data mining. And you can use it for many other log files.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top