|
Analog
Analog
is a very popular Web
Log Analyzer that can be installed directly on a Virtual
Private Servers. 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 Private servers.
Installation
Connect to your Virtual Private Servers via Telnet
or SSH, and issue the commands below that match your Virtual
Private Servers O/S.
-
FreeBSD
& Solaris
Analog 5.1
% vinstall analog
-
BSD/OS Upgrade!
Analog 4.01
% cd
% tar xvf /usr/local/contrib/analog4.01.tar
-
Huh?
If you don't know the Virtual Private Servers O/S, try the following:
Configuration and Usage
Now that the Analog software is installed, you will need to configure
it for your Virtual Private Servers. The Analog configuration file is installed
with the Analog software. Do the following, according to your Virtual Private Servers O/S.
-
FreeBSD
& Solaris
Analog 5.1
Edit the following lines in the Analog configuration file (~/usr/local/analog/analog.cfg)
so that they contain the correct information.
LOGFILE /usr/local/etc/httpd/logs/access_log
OUTFILE /usr/local/etc/httpd/htdocs/analog/index.html
HOSTNAME YOUR-DOMAIN.NAME
-
BSD/OS Upgrade!
Edit the following lines in the Analog configuration file (~/usr/local/etc/httpd/analog4.1/analog.cfg)
so that they contain the correct information.
LOGFILE /usr/local/etc/httpd/logs/access_log
OUTFILE /usr/local/etc/httpd/htdocs/analog4.1/index.html
HOSTNAME YOUR-DOMAIN.NAME
The LOGFILE
parameter designates the path and filename of the TransferLog file
on your Virtual Private Servers. The OUTFILE parameter designates
the file that your Virtual Private Servers's web server statistics will be
written to. The HOSTNAME paramater indicates the domain
name of your Virtual Private Servers.
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 Private Servers's web statistics.
This will create a page
with your Virtual Private Servers'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:
To have an Analog report
regularly e-mailed to you, add something like one of the
following lines to your Crontab
(the text below should all be placed on a single line):
-
FreeBSD
& Solaris
59 23 * * 7 /usr/local/bin/virtual
/usr/local/analog/analog +O- +a
| /usr/bin/mail -s "Weekly Stats" user@YOUR-DOMAIN.NAME
-
BSD/OS Upgrade!
59 23 * * 7 /usr/local/bin/virtual
/www/analog4.1/analog +O- +a |
/usr/bin/mail -s "Weekly Stats" user@YOUR-DOMAIN.NAME
This will cause your Virtual Private Servers 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
Documentation will be installed on your Virtual Private Servers when you
install Analog. This documenation can be accessed in the following
file:
More Information
More information can be found at the Analog web site.
|