Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Librarian on May 22, 2006, 10:33:16 AM

Title: Web page usage stats - visitor stats
Post by: Librarian on May 22, 2006, 10:33:16 AM
Hi there

How can I view hits to the web page(s) I host on my SME server?

Basically our CEO wants to know how many people have been visiting our website we host ourselves.

EDIT : I've managed to get some useful statistics with The Webalizer (http://www.mrunix.net/webalizer/).

However, I've noticed that SME server only keeps web logging data for 2 months, is there any way I can view older logs, or do they get deleted? If they get deleted, which configuration file do I need to adjust so that it will take longer between deletions?

Kind Regards

Libs
Title: Web page usage stats - visitor stats
Post by: Curly on May 22, 2006, 05:45:15 PM
Older files get deleted by a program named logrotate, some of the scripts are in /etc/e-smith/events/logrotate. A script named S75purge-old-logs deletes the old logs.

I use awstats to count the webhits, and it works fine for me. Awstats counts hits and keeps the information in files, so you won't need to keep the logs so long.
http://sme.swerts-knudsen.com/howtos/howto_7.htm
Title: Web page usage stats - visitor stats
Post by: Librarian on May 23, 2006, 09:51:36 AM
Thanks for the reply.

I'm installing Awstats right now, will have a shufti at webalizer on SME later on.

Regards

Libs