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.

I'm running Windows Server 2003 Standard Edition and need to send text log file updates to an email address. E.g. IIS logs, and other plain text files.

It would be good if these could be filtered before being email. Similar to logcheck in unix.

I'm happy to create a script or application, but thought there must be something free/open source available to do this.

share|improve this question
    
I dont really full understand what you need, but I recomend using "blat" for the sending. It's lightweigh, no install, can use security... Nice app for sending. –  Carlos Jan 14 '11 at 12:29
    
I would liek an equivelent of logcheck designed to run in windows: logcheck.org –  phearnix Jan 14 '11 at 12:32

2 Answers 2

up vote 1 down vote accepted

Thanks for your comments, but I needed something more specific.

So I created a VB.NET application that will run hourly/daily and:

  • it takes text based logs files plus the windows system events
  • finds what has been added since last time
  • parses the new events using regular expressions to ignore valid records
  • emails new events
share|improve this answer

Check out log parser. It doesn't have an emailing component but it will certainly help with the filtering. You can write a batch file to run log parser and save to a file that you email. It supports checkpoints too so it remembers where it left off if you want to run it at regular interval and only report on the changes since last time.

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.