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 Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Filtering events from event log

Status
Not open for further replies.

manjulam

Programmer
Feb 27, 2002
103
US
I need to show the logs for one of the custom NT services running on my server in an asp page. I am using the EventLog object to read all the events in the WIN event viewer. How can I filter these events to list only that of my application. Is there any way i can filter it by source. I can probably retrieve the whole event list, loop thru it and selectively display what I need but is there any other way? Any thoughts,anyone?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top