Tuesday, January 25, 2011

Log Parser Ping Graph Fun (aka “Using Log Parser to parse command line output”)

David Christiansen | davidchristiansen.com - LogParser–Graphing PING results

“Here is a nifty little example of how to pipe console output to Microsoft LogParser, in this case the results of a ping against Google.

image

[GD: Click through to get a copy-n-paste’able version… I didn’t want to totally leach his post…]

Note: I have inserted line breaks for readability, this should be written as one line.

…”

Come on, you know the inner command-line geek in you thinks this is cool on a couple levels. a) Parsing raw text output from a command line app with Log Parser and b) it’s a graph!

And you know, Low Parser has a COM API, so calling it from PowerShell should also be easily do’able… :P

image

 

Related Past Post XRef:
SELECT * FROM Log... with the cool tool that’s been around for years, Log Parser!

Download details: Log Parser 2.2

The Unofficial Log Parser Support Site
IIS Diagnostics Toolkit (January 2006)
SQL Server 2000 Report Pack for IIS Logs

No comments:

Post a Comment

NOTE: Anonymous Commenting has been turned off for a while... The comment spammers are just killing me...

ALL comments are moderated. I will review every comment before it will appear on the blog.

Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...

I reserve, and will use, the right to not approve ANY comment for ANY reason. I will not usually, but if it's off topic, spam (or even close to spam-like), inflammatory, mean, etc, etc, well... then...

Please see my comment policy for more information if you are interested.

Thanks,
Greg

PS. I am proactively moderating comments. Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...