Martin stole my mantra!

See the following "RFC", The Twelve Truths of Networking, #7A is "Good,
Fast, Cheap, pick any two (you can't have all three). 

http://www.faqs.org/rfcs/rfc1925.html


That said, dumpevt works well, you can wrap that in some logic to do what
you said you needed, then get real comfortable with GREP.




----------------Snippet Start -------------------------
@echo off
REM - clearevt.cmd - Use for BB&T postinstall procedure
REM - Clear the 3 event logs, save to one txt file and cleanup.
REM - Kevin Flanagan - [EMAIL PROTECTED]
REM - Requires the dumpevt.exe from somarsoft
dumpevt /clear /logfile=sys /outfile=c:\eventsys.txt > c:\eventclear.log
dumpevt /clear /logfile=sec /outfile=c:\eventsec.txt >> c:\eventclear.log
dumpevt /clear /logfile=app /outfile=c:\eventapp.txt >> c:\eventclear.log
REM - Copy all 3 logs to a single file, you could make this be named for the
server, and send it to a share.
copy c:\eventapp.txt + c:\eventsec.txt + c:\eventsys.txt + c:\eventclear.log
c:\
Eventlogdump.txt
REM - Clean up after yourself
del c:\eventapp.txt
del c:\eventsec.txt
del c:\eventsys.txt
del c:\eventclear.log

---------End snippet --------------


Good luck,



        Kevin


+__________________________________________+
A fanatic is one who can't change his mind and won't change the subject. 
Winston Churchill


Kevin M. Flanagan
C/S Planning Engineer III
IT Systems Implementation
Branch Banking & Trust
3261 Atlantic Ave Suite 116
Raleigh, NC  27604
919-716-6209

> -----Original Message-----
> From: Martin Blackstone [mailto:[EMAIL PROTECTED]] 
> Sent: Saturday, February 23, 2002 9:41 AM
> To: MSWinNT Discussions
> Subject: RE: Event Log Capture
> 
> 
> You can have it fast, cheap, or easy. Please pick 2.
> 
> -----Original Message-----
> From: julian brunt [mailto:[EMAIL PROTECTED]] 
> Sent: Saturday, February 23, 2002 1:51 AM
> To: MSWinNT Discussions
> Subject: Event Log Capture
> 
> 
> 
> I hope you can help me again here.
> 
> I have had one of those 'requests' where the company wants an 
> amazing tool, 
> for nothing.
> 
> The company wishes to collect the events from numerous W2K 
> servers and 
> produce a report on certain events.
> 
> Now is there a product or script that can go and collect all 
> the events from
> 
> multiple servers and at least place them all into a CSV file. 
>  @ leaset a 
> query can be paced on a file.
> 
> Thanks for youe assistance in advance
> 
> Julian
> 
> 
> _________________________________________________________________
> Get your FREE download of MSN Explorer at 
> http://explorer.msn.com/intl.asp.
> 
> 
> ------
> You are subscribed 
> as [EMAIL PROTECTED]
> Archives: http://www.swynk.com/sitesearch/search.asp
> To unsubscribe send a blank email to 
> [EMAIL PROTECTED]
> 
> ------
> You are subscribed as [EMAIL PROTECTED]
> Archives: http://www.swynk.com/sitesearch/search.asp
> To unsubscribe send a blank email to 
> [EMAIL PROTECTED]
> 

------
You are subscribed as [email protected]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to