Event Viewer Daterange Export

Posted on 2008-11-12
Last Modified: 2012-05-05
Hi I'm looking for a scripted way to export a daterange of eventviewer data into prefereable a .csv format. What i'm looking to do is export the System section into a CSV monthly or even weekly. If there was a way to filter it as well by source that would be great.
Question by:jmcmillen
    LVL 14

    Expert Comment

    Don't know if you've given this a whirl already, but have you had a look at logparser:
    it can drag stuff out of text based log files or windows event logs using queries pretty much like SQL.. I think this version (2.2) also has time based selections too so it might meet your requirements.
    LVL 14

    Accepted Solution

    that link should've been .. silly me chucked a ? on the end and didn't put a space in the middle. :)
    LVL 1

    Author Closing Comment

    Awesome that did exactly what I wanted. Just used a WHEN DateGenerated > datetime to get the daterange.
    LVL 14

    Expert Comment

    glad to help!

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Join & Write a Comment

    So you have two Windows Servers and you have a directory/folder/files on one that you'd like to mirror to the other?  You don't really want to deal with DFS or a 3rd party solution like Doubletake. You can use Robocopy from the Windows Server 200…
    Learn about cloud computing and its benefits for small business owners.
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now