Discussion Locked

Automating Event log

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Can I automate the event log for windows 2000 and windows NT. I want to have the event log save the application, security, and system logs and then clear them. Please list the steps in your answer. Are there any third party programs I can use to view these logs outside of viewing them from windows 2000 or NT. Thank you.

6 replies

by gigelul

To make a scheduled task for save the events you can use from resource kit in a batch file like this:

c:\ntreskit\rksupport\dumpel.exe -f \PC1security.txt -s \\PC1 -l security -t -d 7
c:\ntreskit\rksupport\dumpel.exe -f \PC1application.txt -s \\PC1 -l application -t -d 7
c:\ntreskit\rksupport\dumpel.exe -f \PC1system.txt -s \\icme1 -l system -t -d 7

Where:
-PC1 is the name of the computer
-PC1application.txt, PC1system.txt, PC1security.txt are saved events
-d7 is last seven days
-t tab formated text
Read more about dumpel in associated readme files.
After creation, these text files can be easily imported in Excel or Access.
About cleaning events for the moment I don't know, you can set a number of days for overwrite.
I will post a comment if I find a solution for that.

by joseph moore

In the Win2K Professional Resource Kit, one of the 3rd party software packages it came with was the Cybersafe Log Analyst. It is a nice Security log report generator, with bar graphs and such. It only works for the Security log, though.
If you havethe Resource Kit, try it. IF not, here is their site:
http://www.cybersafe.com/

hope this helps

This discussion is closed to new replies.