Analog is a popular Web Log Analyzer that can be installed directly on a Virtual Private
Server. Analog will analyze your web server logfiles in-place and then create HTML, text, or even E-mail reports of your web site
traffic. Analog is available from the FreeBSD Ports Collection in
/ports/www/analog/.
Once you have installed Analog, you will need to modify the Analog configuration file (/usr/local/etc/analog.cfg)
to your preferences. You can then run Analog using the following command.
# /usr/local/bin/analog
To run Analog regularly, you can add a line to your Crontab.
The example below would run Analog and Email you the results on a weekly basis.
59 23 * * 7 /usr/local/bin/analog +O- +a | /usr/bin/mail -s "Weekly Stats" user-DOMAIN.NAME
This will cause your Virtual Private Server to send you an E-mail each Sunday night at 11:59pm containing your Analog analysis
report in ASCII format. For more information concerning Analog command line arguments, see the documentation.