Now Available:

Featured Resource:

line

Newsletter

Email Address:


line

Ask the Expert

Have a question for our resident expert? Email your questions to Greg.

« VBScript function to add commas to a large number | Main | So, Hard Disks Do Get Slower with Use! »

Parse Logs with Log Parser

In the second part of this now two-part series on "what did Greg write for Redmond this month", I wanted to focus you on an interesting (and quite old) tool for parsing log and text files called Log Parser.

I found this tool while searching around for a way to convert text files into manageable strings without having to use VBScript text manipulation. Though much of the tool will soon be deprecated as people move to PowerShell, there are still some pretty interesting text file manipulation capabilities you can get out of the tool. The examples given in the piece are: Pulling and sorting Event Log entries, enumerating disk space usage, and nicely formatting and sorting CSV/TSV files. All this with an easy to use T-SQL search syntax.

If you've used Log Parser successfully, I'd be curious to know. There's a small community of log parsers and their "check me out" syntax strings at www.logparser.com. If you haven't, the article can be found on the Redmond Magazine website at: http://redmondmag.com/columns/article.asp?editorialsid=1691

TrackBack

TrackBack URL for this entry:
http://www.realtime-windowsserver.com/type/mt-tb.cgi/74

Post a comment

(All comments are approved by site leader before appearing here. Thanks for commenting!)

line

Greg Shields' Bio:

Greg Shields, is an independent author, instructor, and IT consultant based in Denver, Colorado, and a co-founder of Concentrated Technology. With nearly 15 years of experience in information technology, Greg has developed extensive experience in systems administration, engineering, and architecture specializing in Microsoft systems management, remote application, and virtualization technologies. Greg is a Contributing Editor for Redmond Magazine, MCPmag.com, and Virtualization Review Magazine and is the author of five books, including Windows Server 2008:  What’s New / What’s Changed. Greg is also a highly sought-after instructor and speaker, speaking regularly at conferences like TechMentor Events, and producing computer-based training curriculum for CBT Nuggets.  Greg is a recipient of Microsoft "Most Valuable Professional" award with a specialization in Windows Terminal Services.