My log file analyzer makes very nice graphs using R. In addition, having the data in R makes it easy to do statistical analysis. If R is anything, though, it is not simple!
One of the hardest things to do well in logfile analysis is to properly parse the default Apache log file. It is easy for users to type in weird URLs that break most parsers for common log formats. It is much easier to modify the log file format to eliminate this possibility than it is to write a parser to fix this problem.
If the web server stores the log data that is actually needed in a bullet-proof way, it is easy to meet your requirements in just a few lines of code. Who wants to parse dates? Just store seconds since the epoch. How about some decent delimiters? Whitespace is not always the best choice!
It should work perfectly the first time! - toma
In reply to Re: [OT] Simple access_log analyzer in Perl
by toma
in thread [OT] Simple access_log analyzer in Perl
by Jaap
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |