I could answer all your questions (and i could have answered them in the first post) but that'd be such a long story that nobody would read it. It's a K.I.S.S. thing.
I do know the complexities of creating a Log Analyzer, which is why i'm not doing it myself (yet).
Comment on Re: Re: [OT] Simple access_log analyzer in Perl
To parse the logfile, you might have a look at regexp-log, HTTPD-Log-Filter or Log-Detect. Even if you can't use these modules directly, they will certainly give you some good ideas on how to tackle your task!
How nice, I have used the above text twice today!
CountZero
"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law