Re: SQL Code for Archiving Server Event Logs
From: Malcolm Cook (mec_at_stowers-institute.org)
Date: 11/08/04
- Next message: Mal .mullerjannie_at_hotmail.com>: "RE: How can I have a user select a local MS SQL database using vb.net?"
- Previous message: DC Gringo: "Trouble using Max() with IN"
- In reply to: Phill Heath: "RE: SQL Code for Archiving Server Event Logs"
- Next in thread: Phill Heath: "Re: SQL Code for Archiving Server Event Logs"
- Reply: Phill Heath: "Re: SQL Code for Archiving Server Event Logs"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 8 Nov 2004 11:11:01 -0600
will allow you to populate SQL tables with system event log
"Phill Heath" <PhillHeath@discussions.microsoft.com> wrote in message
news:D8FF4CDA-4611-4675-A649-9B0AD1686550@microsoft.com...
> Thanks but I actually want to archive the windows server event logs like:
>
> application log
> Security Log
> DNS Log
> etc etc
>
> any Ideas?
>
> Phill
>
>
> "Mike Epprecht (SQL MVP)" wrote:
>
> > Hi
> >
> > SQL Server event logs are a text file in the installed Data Directory
under
> > Logs.
> > Read them off disk and there you go.
> >
> > Regards
> > Mike
> >
> > "Phill Heath" wrote:
> >
> > > Hi
> > >
> > > I would like to create a stored proc which will get a specified
servers
> > > event logs export them to text files and clear the log. I already
have a
> > > cursor which will read the server details from a table but don't know
how to
> > > export the logs or even if thats possible.
> > >
> > > Thanks
> > >
> > > Phill
- Next message: Mal .mullerjannie_at_hotmail.com>: "RE: How can I have a user select a local MS SQL database using vb.net?"
- Previous message: DC Gringo: "Trouble using Max() with IN"
- In reply to: Phill Heath: "RE: SQL Code for Archiving Server Event Logs"
- Next in thread: Phill Heath: "Re: SQL Code for Archiving Server Event Logs"
- Reply: Phill Heath: "Re: SQL Code for Archiving Server Event Logs"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|