|
Your business probably
depends on obtaining detailed information about your
web site traffic. Our Virtual Server system allows you
to obtain all the statistical information you need to
know about usage of your web site.
Analyzing Logs
The actual data logged
in your Virtual Server web server log files is arcane,
to say the least. To make any sense of it, you need
a log file analysis program to process and analyze it
for you. You will find an overview of traffic analysis
at:
Getting
Statistical Reports of Your Web Site Traffic
Client Side Application
WebTrends
is a client side log-analyzing software package that
produces attractive graphical reports of your web site
traffic.Server Side Applications
There are many server
side programs that will analyze your web server log
files in-place and then create HTML, text, or even e-mail
reports of your virtual web server traffic. They are
pre-configured for easy installation and are free of
charge.
Many other server-side
programs exist, and many of these run without any problem
on your Virtual Server.
If your web site has
a high traffic load, you may want to consider purchasing
a client side application such as WebTrends to reduce
the load on your Virtual Server.
Managing Logs
Log files accumulate
very quickly and take up significant server disk space.
To manage logs efficiently, you need to decide whether
to archive them or delete them altogether on a regular
basis.Archiving logs
The cronolog program
reads log messages from its input and writes them to
a set of output files, the names of which are constructed
using template and the current date and time. The template
uses the same format specifiers as the UNIX date
command (which are the same as the standard C strftime
library function). For more information, see:
The rotatelogs
program is a wrapper that you include in the Log
definitions in your web server configuration file (~/www/conf/httpd.conf).
Deleting logs
You can use the vnukelog
command to delete log files. The vnukelog command
can be used to clear the ~/var/log/messages file
as well as all Virtual Server and virtual subhost log
files.
The cron program
is a system scheduler for UNIX that provides the -n
(nuke) command for a cron job that deletes your
logs.
For more information,
see:
cron can also
be set up to feed logs to one of the three server side
analysis programs (i.e. Analog, http-analyze, Webalizer)
on an hourly, daily, weekly, monthly basis, from which
a stats report is generated.
|