I want to create a scheduled task that will take a custom view I have created in Server 2008 Event Viewer and email all the events in a .xml format once a week (Monday morning). Bonus points if you can RAR or ZIP the .xml prior to sending it in the email.
I can do this manually by saving the custom view then compressing it and publishing it to a website for download. It would be much nicer to automate it and send via email. Having the file in a location in Inetpub for download is also very acceptable.
Here is my filter settings
<QueryList> <Query Id="0" Path="Application"> <Select Path="Application">*[System[Provider[@Name='ASP.NET 2.0.50727.0' or @Name='ASP.NET 4.0.30319.0'] and (Level=1 or Level=2 or Level=3)]]</Select> </Query> </QueryList>
Thank you for the advice.