New MSDN article: Turn Your Log Files into Searchable Data Using Regex and the XML Classes

My blog has moved.
You can view this post at the following address:
http://www.osherove.com/blog/2004/1/10/new-msdn-article-turn-your-log-files-into-searchable-data-us.html
Published Saturday, January 10, 2004 3:32 PM by RoyOsherove

Comments

Saturday, January 10, 2004 4:50 AM by TrackBack

# [Tool] Easier log parsing with Log Parser

Saturday, January 10, 2004 2:18 PM by Udi Dahan - The Software Simplist

# re: New MSDN article: Turn Your Log Files into Searchable Data Using Regex and the XML Classes

Roy,

You're the man ! One article after another, good work !
Saturday, January 10, 2004 2:59 PM by Roy Osherove

# re: New MSDN article: Turn Your Log Files into Searchable Data Using Regex and the XML Classes

Thanks Udi :)
I think that was the last in the pipeline though. I need to start working on some new ones....
Sunday, January 11, 2004 5:56 AM by Oleg Tkachenko

# re: New MSDN article: Turn Your Log Files into Searchable Data Using Regex and the XML Classes

Nice one, Roy!
Btw, your approach is not really XML-friendly. Converting into XML file/stream/buffer then loading into DataSet, hmmm, imagine usually huge log file - that's gonna be slow :(
To be fully XML-ish one should expose legacy log as if it's XML. Just like XmlCSVReader expose CSV file as XML one, your log reader could expose log entries as XML constructs.
Then XPath/XSLT/XQuery users would love it and perf won't be hurt.
Tuesday, January 13, 2004 11:21 PM by SBC

# re: New MSDN article: Turn Your Log Files into Searchable Data Using Regex and the XML Classes

good stuff Roy.. keep'em coming..
Tuesday, January 20, 2004 4:28 PM by Roy Osherove

# re: New MSDN article: Turn Your Log Files into Searchable Data Using Regex and the XML Classes

Oleg, that's a great idea. I'll see about implementing such a thing.
Still, I like the beauty in the simplicity of this solution..