Monitor Web Traffic

This process documents how traffic is monitored on the Hog Bay Software website. There are three tools setup for monitoring the web logs.

First there is a visitors process running on the server that updates this files/visitors.html page every five minutes with basic traffic information from the past hour. This page gives a snapshot of how many people have recently visited the site, and where they come from. If this page stops getting updated restart the visitors analyzer in stream mode using this command.

tail -f ../logs/hogbaysoftware.com/http/access.log | ./visitors --stream -R -m 60 --update-every 300 --reset-every 3600 --output-file ../hogbaysoftware.com/files/visitors.html &

Second the site is running a standard long term stats program supplied by dreamhost. These stats are viewable at stats, but it's not easy to make them publicly accessible, so for now only I can see them.

Third I'm also using Google Analytics to track long term stats.