|
Analog 3.11
- Installation
- Documentation
Analog is a very popular web server logfile analysis program that can
be installed directly on a Virtual 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. Our
Web Development Team has made Analog freely available for easy installation on all Virtual
Servers.
Installing and Configuring Analog 3.32
To install Analog 3.32, Telnet or SSH to
your Virtual Server and do the following:
- Untar the Analog 3.32 tar file located in the /usr/local/contrib directory of
your Virtual Server host machine. These commands will copy the Analog software onto your
Virtual Server.
% cd (this will put you in your home directory)
% tar -xvf /usr/local/contrib/analog3.32.tar
- Now that the Analog software is installed, you will need to configure it for your
Virtual Server. This is done by editing the analog.cfg file which is now located in
your ~/usr/local/etc/httpd/analog/ directory. You will need to make sure that the
following lines of the configuration file contain the correct information:
LOGFILE /usr/local/etc/httpd/logs/access_log
OUTFILE /usr/local/etc/httpd/htdocs/analog3.32/index.html
HOSTNAME YOUR-DOMAIN.NAME
The LOGFILE parameter
designates the path and filename of the TransferLog file on your Virtual Server. The OUTFILE parameter designates the
file that your virtual server's web server statistics will be written to. The HOSTNAME parameter indicates the
domain name of your Virtual Server.
- Analog has already been compiled for your use. All that you need to do once the
configuration file is ready is run the Analog program to create an HTML page with your
virtual server's web statistics.
% virtual /www/analog/analog
This will create a page with your Virtual Server's web statistics at the location and
filename you specified in the analog.cfg configuration file. According to the
configuration above the page with your statistics would be located at:
http://YOUR-DOMAIN.NAME/analog3.32/index.html
- To have an Analog report regularly e-mailed to you, add something like the following to
your cron (the text below should all be placed on a
single line in your cronfile):
59 23 * * 7 /usr/local/bin/virtual /www/analog3.32/analog +O- +a
| /usr/bin/mail -s "Weekly Stats" user@YOUR-DOMAIN.NAME
This will cause your Virtual 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.
Documentation
Local documentation will be installed on your Virtual Server when you install Analog. This
documentation can be accessed in the following file:
~/usr/local/etc/httpd/htdocs/analog3.32/docs/Readme.html http://YOUR-DOMAIN.NAME/analog3.32/docs/Readme.html
http://www.statslab.cam.ac.uk/~sret1/analog/
|