Avatar of ARACK04
ARACK04
 asked on

Query EventLog in SQL Server

Is there a feasible way to query a windows event log from SQL Server.  I know there are all sorts of ways to open it and export to CSV, etc.  I'm looking to have some sort of event log dump happen automatically every night, and I figure a nice SQL Server Agent process would be ideal.

Any other ideas on how to do this would be welcome.

Thanks!
Microsoft SQL ServerMicrosoft Server OSWindows OS

Avatar of undefined
Last Comment
Raja Jegan R

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
chapmandew

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
ARACK04

ASKER
Any chance you know the location on disk of the event log?  That sproc seems to want a physical file name with full path...
SOLUTION
Raja Jegan R

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23