I am after a web application that will parse apache log files and record how much bandwidth the user has used. We have several virtual hosts that have custom log files and the I/O is recorded at the end of the logfile. However I can't find an application that will parse multiple log files and display a summary for each site.

I believe awstats can do this but I want to be able to see all of my clients in one list. If there is something that integrates into cacti then that would be perfect.

link|improve this question

60% accept rate
feedback

2 Answers

I would suggest dumping all the information into one log, using a parser there, and then break out the logs to the respected virtual domains' log files after you've collected the data you need from them.

You will also have better high-end scalability using a single log file over 2 (common & error) per virtual.

If the victuals are on separate IP addresses is reasonably easy with something like MRTG.

link|improve this answer
feedback

Why not use a simple shell or Python/Perl script to do this?

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.