Can you help me in writing (or finding an already written) code to read a weblog file
has the form:

127.0.0.1 - frank [10/oct/2000:13:55:36 - 0700] "get/apachi_pb.gif HTTP/1.0" 200 2326

And then produce the following statistics:

1. #of times an IP or a domain name visited the web site
2. Total # of unique IP
3. #of times each different web page was visited in the web site
4. Total # of hits and unique visitor per site for every day in the web site
5. Total # of hits and unique visitor per day for every month in the web site


THANK YOU