Graphical website visitor statistics

Graphical website visitor statistics (usage reports) is created on the basis of website log file analysis.

One way to do this, is to install Webalizer, which is an open source log file analysis utility, that can produce graphical website visitor statistics in HTML format, that can be viewed in a browser.

Webalizer can read standard log file formats, such as the one used by popular web servers, such as Apache.

This procedure will install Webalizer, analyse the log file of a website and produce the graphical website visitor statistics on a FreeBSD operating system with Apache.

Install Webalizer from the ports collection.

su -
cd /usr/ports/www/webalizer
make install

Prepare directory as necessary.

mkdir -p /usr/home/foobar/www/www.foobar.com/visitors

Analyse the log file and produce the detailed website visitor statistics with reverse lookup resolving of IP addresses of visitors for geographical statistics.

webalizer -o /usr/home/foobar/www/www.foobar.com/visitors/ -t www.foobar.com -D /usr/home/foobar/www/www.foobar.com/visitors/dnscache -N 10 /var/log/www/www.foobar.com/custom.log

Webalizer is highly configurable and works well with cron (crontab) automation. In order to configure Webalizer and its reports, read the manual.

You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.


Comments are closed.