IIS Log Parser - OWA Logs

written by Justin on Friday, August 08 2008

This script scans IIS logs and sends email with attempts/failures/successes given a date/logfile.

Outlook Web Access (OWA) accesses are stored in the IIS Log Files.  Using LogParser 2.1 and blat, this (hacked) script takes 1 parameter - the date in mmddyy that you wish to analyze and opens the corresponding logfile in the IIS log directory.  It will auto sort/group the results by result code (200 success, errors, etc.), and return the IP address, username and client string of the attempt(s).  These results are emailed to you in HTML format.

http://justinho.com/files/uploads/OWALogParser.rar

Open up OWA.cmd in notepad – should be pretty explanatory.  Will open SMTP port 25 and email to address specified.

More:

Similar Posts

  1. Internet Explorer 7 Beta 2
  2. ISA Server KB Articles
  3. Optimizing Outlook 2007 Cache Mode Performance for a Very Large Mailbox

Post a comment