Re: event logs
From: Eddy (no@more.spam)
Date: 01/02/03
- Next message: Robin Twiggs: "Re: IPSEC Filter"
- Previous message: Robin Twiggs: "Re: IPSEC Filter"
- In reply to: Russell: "Re: event logs"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: Eddy <no@more.spam> Date: Thu, 02 Jan 2003 07:58:22 -0800
I use Dumpel (dump event log). You can get it here:
http://www.microsoft.com/windows2000/techinfo/reskit/tools/existing/dumpel-o.asp
I use task scheduler to run it and email it to me from the server. I
get the event logs from a lot of servers this way without visiting the
site or having to vpn in.
Here is what one of my events.cmd files looks like:
@echo off
Echo лллллллллллллллллллллллллллллллллллллллллллллл
Echo лл System Security and Application Events лл
Echo лл Being Saved in Tab Delimited Format лл
Echo лллллллллллллллллллллллллллллллллллллллллллллл
dumpel -f C:\events\server_sys.xls -s \\server -l system -d 7
dumpel -f C:\events\server_sec.xls -s \\server -l security -d 7
dumpel -f C:\events\server_apps.xls -s \\server -l application -d 7
echo.
sleep 2
Echo лллллллллллллллллллллллллллллллллллллллллллллл
Echo лл Event Logs Saved As Excel Files лл
Echo лллллллллллллллллллллллллллллллллллллллллллллл
Echo лл Adding Current Date To File Name лл
Echo лллллллллллллллллллллллллллллллллллллллллллллл
datefile C:\events\server_sys.xls
datefile C:\events\server_sec.xls
datefile C:\events\server_apps.xls
echo.
sleep 2
Echo лллллллллллллллллллллллллллллллллллллллллллллл
Echo лл Email excel files to Admin лл
Echo лллллллллллллллллллллллллллллллллллллллллллллл
sendsmtp @c:\scripts\email_events.txt
echo.
Echo лллллллллллллллллллллллллллллллллллллллллллллл
Echo лл Operations Complete лл
Echo лллллллллллллллллллллллллллллллллллллллллллллл
The system name has been replaced with the name "server".
The other files it uses are "sleep.exe" (which adds pauses for timing
issues) and "Datefile.vbs" which parses and adds the date to the
filename.
I email the .xls files to me using SendSMTP from Greyware:
http://www.greyware.com
Enjoy.
P.S. Dumpel does not export the DNS event log. There are other tools
for that.
On Thu, 2 Jan 2003 05:38:27 -0800, "Russell" <russtym@msn.com> wrote:
>Is there a way to get it to do it automatically?
>
<< snip >>
- Next message: Robin Twiggs: "Re: IPSEC Filter"
- Previous message: Robin Twiggs: "Re: IPSEC Filter"
- In reply to: Russell: "Re: event logs"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|