Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 Apr 22 '14 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 '14 at 20:53
up vote 0 down vote accepted

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


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.