Login | |
|
 |
RE: Best way to pull event logs - 7/7/2008 4:07:12 AM
|
|
 |
|
| |
ebgreen
Posts: 5041
Score: 31
Joined: 7/12/2005
Status: offline
|
My only suggestion would be to spawn separate threads to query and collect the information for each log type. Each thread could save the compiled information out to a text file then your main script could collect and read the individual files. I don't know for sure that this would give you a speed boost, but it may.
_____________________________
"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm http://www.visualbasicscript.com/m_47117/tm.htm
|
|
| |
|
|
|
 |
RE: Best way to pull event logs - 7/8/2008 12:21:14 AM
|
|
 |
|
| |
dm_4ever
Posts: 2665
Score: 46
Joined: 6/29/2006
From: Orange County, California
Status: offline
|
You might also consider logparser....it allows you to query the event log in a very SQL like manner so you can use Distinct, Count, and other function to get you want you want....it can also query offline files if I remember correctly...so you may just worry about backing up the event log...maybe copy them to a central location and have a specific machine go through parsing the data and logging it.
_____________________________
dm_4ever My philosophy: K.I.S.S - Keep It Simple Stupid Read Me: http://www.visualbasicscript.com/m_24727/tm.htm Frequently Asked Stuff: http://www.visualbasicscript.com/m_47117/tm.htm
|
|
| |
|
|
|
|
|