Franklin Gray wrote:

1) Great for when you can get to the machine or have power users who can
send you the event log.  Does anybody know if there is a way to program
the saving of a windows event log to a file?


Log Parser is a microsoft tool for running queries against event logs,
or other microsoft logs.
http://techrepublic.com.com/5102-6329-5034923.html

You can call the COM object from c# as follows:
http://www.leastprivilege.com/CommentView.aspx?guid=0a24ff89-4552-459d-b620-e1e1017e5a27

There's also a book written by the guy who wrote the Log Parser called
"Microsoft Log Parser Toolkit" with code samples.

When I get time I'm going to write something up to combine logs from
various servers into a database w/ web front end.

-- Brian

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to