General discussion

Locked

Auto Clear of Event Logs

By Aaron_Wurthmann ·
Are there any batch files or 3rd programs out there that I can use to clean out my event logs and perhaps save them to text files daily (scheduled through 3rd party GUI or "at" of course). I suppose that I could write a keybaord/mouse macro to do the job, but I'd rather use something that someone can stand by and say that it works well.

This conversation is currently closed to new comments.

8 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Auto Clear of Event Logs

by Aaron_Wurthmann In reply to Auto Clear of Event Logs

Windows NT does not support USB. Upgrade to Windows 2000 or downgrade to Windows 9x/ME. http://support.microsoft.com/support/kb/articles/Q196/6/61.ASP

Collapse -

Auto Clear of Event Logs

by simon.wellborne In reply to Auto Clear of Event Logs

Yes-sir-reeee

NTReskit. Dumpel.exe.

Dump Event Log is a command-line utility that dumps an event log for a local or remote system into a tab-separated text file. This utility can also be used to filter for or filter out certain event types.
To dump the system event log on server \\EVENTSVR to a file named EVENT.OUT, use:

dumpel -f event.out -s eventsvr -l system

To dump the local system event log to a file named EVENT.OUT, but only get Rdr events 2013, use:

dumpel -f event.out -l system -m rdr -e 2013

To dump the local application log to a file named EVENT.OUT, and get all events except ones from the Garbase source, use:

dumpel -f event.out -l application -m garbase -r

<excerpts from the resource kit>

Hope this helps. Resource Kit available for download from Microsoft, or off TechNet CD's.

Collapse -

Auto Clear of Event Logs

by Aaron_Wurthmann In reply to Auto Clear of Event Logs

Wooops I forogt all about this issue.. sorry about that.
Thanks I'll give that a try some time.

Collapse -

Auto Clear of Event Logs

by joncr In reply to Auto Clear of Event Logs

I agree with the 1st answer. To delete the eventlog you can simply delete the .evt files from \<windir>\system32\config
There are three files for the three logs;

AppEvent.evt
SecEvent.evt
SysEvent.evt

This may be useful if you want to dump over a certain size or delete only one log etc.
To save Space you could even just back these files up and use File, Open from Event Viewer to view them (Takes up less space than a dump).

Collapse -

Auto Clear of Event Logs

by Aaron_Wurthmann In reply to Auto Clear of Event Logs

Thanks you for your answer.

Collapse -

Auto Clear of Event Logs

by tom_harmon In reply to Auto Clear of Event Logs

SomarSoft Utilites go a bit further and the price is right. Event Log Monitor collects event log messages from Windows NT servers, stores these messages in a centralized ODBC database, and notifies you when important events occur. It's powerful filtering and notification engine helps simplify administration tasks. Click here for more product information, or download Event Log Monitor now.
http://www.somarsoft.com/

Collapse -

Auto Clear of Event Logs

by Aaron_Wurthmann In reply to Auto Clear of Event Logs

Wooops I forogt all about this issue.. sorry about that.
Thanks I'll give them a try some time, and yes they are costly.

Collapse -

Auto Clear of Event Logs

by Aaron_Wurthmann In reply to Auto Clear of Event Logs

SomarSoft Utilites uses the Event Log Monitor collects event log messages from Windows NT servers, stores these messages in a centralized ODBC database, and notifies you via e-mail when an important event occurs. It's powerful filtering and notification engine helps simplify administration tasks. For more product information, or to download Event Log Monitor now. - http://www.somarsoft.com/

Back to Windows Forum
8 total posts (Page 1 of 1)  

Operating Systems Forums