Spent the last couple of days writing an apache log cruncher in PHP. Scans a dir for the oldest log (so it doesn’t try and work on the one apache is currently writing to), crunches it with analog, which outputs machine-readable report.dat, which is passed to ReportMagic, which makes lots of pretty graphs and charts, zips, archives, and deletes the original log, creates a date-stamped folder in the intranet’s logs dir, moves the latest batch of reports to that dir, and creates a new link on the intranet’s Traffic page connecting to the new report. The whole thing gets run by TaskScheduler weekly.
Update: analog was discontinued back in 2010. Here is a list of the current
10 Best Log Management Tools.