Forum: Ruby WEBLOG in RUBY.. Can u help me?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
89ac8a82c1dbe376914defbfecc1043c?d=identicon&s=25 Bader (Guest)
on 2006-05-18 12:58
Hello all

Can you help me in writing (or finding an already written) code to read
a weblog file
has the form: - 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
5. Total # of hits and unique visitor per day for every month in the web

E3ca69382186f5bce8b43ff5f0cb2287?d=identicon&s=25 kate rhodes (Guest)
on 2006-05-18 16:08
(Received via mailing list)
just as a note. You are going to really confuse people if you call that
weblog. "Weblog" is the long form of the word "Blog".

What you're talking about doing is parsing "server logs" or "log files"

There are tons of apps designed to do specifically that. I'd recommend
taking a look at analog and webalizer. Both free and opensource but not
written in ruby. There is, of course, and entire industry built around
writing apps to parse log files in interesting and useful ways.

- kate = masukomi
6d9bf78ca49a017e9e3e6b0357b6c59e?d=identicon&s=25 Peter Hickman (Guest)
on 2006-05-18 16:15
(Received via mailing list)
Well the standard tool for web server log analysis is analog
( which is available on a wide variety of platforms. You
can use it with report magic ( to create nice

Nothing to do with Ruby but then your question has nothing to do with
Ruby either.
This topic is locked and can not be replied to.