gundu has asked for the wisdom of the Perl Monks concerning the following question:
"Solution can write up a PERL script (or whatever is easiest) that can parse the log file and do the following"
"Please provide code"
Welcome, this isn't exactly what we do here, this isn't a code writing service. Given that this is your homework/assignment, show us your efforts, explain where you had problems. Please read and understand PerlMonks for the Absolute Beginner and How do I post a question effectively?.