Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is there a way to access the Windows Event Observer data from something like an ODBC datasource?

Or a way to export data (lets say that we limit age of data to 1 week or one month) in a structured file format (csv ? xml ?) or similar?

share|improve this question

migrated from dba.stackexchange.com Apr 22 at 20:43

This question came from our site for database professionals who wish to improve their database skills and learn from others in the community.

    
What is this "Windows Event Observer" you speak of? Do you mean "Windows Event Viewer?" And, more to the point, are you asking about accessing the Windows Event Logs from an ODBC connection (or similar)? –  HopelessN00b Apr 22 at 20:53

1 Answer 1

I suspect that is a foreign language translation and he is referring to the Windows Event Viewer. you can accomplish this with powershell and simply export events into another format but you'd have to build something to do this. In powershell Get-EventLog is probably where you want to start. Keep in mind that in Windows Server 2008+ there are application logs as well that have a different interface and it requires a WMI query to get info.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.