Logfiles 

W3Perl can parse crunched and/or split logfiles. It can be read logfiles from load-balancing server.
Remote logfiles can be retrieve before running the stats using rsync/sftp or wget.
If you don't have access to logfiles, W3Perl can be used with javascript tag. Adding a small piece of javascript in the web pages you want to monitor and the script will create the logfiles for you.

star Logfiles

- Splited

If logfiles are splited (using date or filesize), here are some of the filename the package can parse :

One file Apache rotation Daily Daily compressed Monthly Wordpress Icecast
%prefixlog %prefixlog.%rotate %prefixlog.%year%month%day %prefixlog.%lettermonth-%day-%year %prefixlog.%year%month %prefixlog-%year%month%day %prefixlog.%year%month%day_%hour%min%sec
access_log access_log.4.gz
access_log.3.gz
access_log.2.gz
access_log.1
access_log
access_log.19990303
access_log.19990304
access_log.19990305
access_log.19990306
access_log
access.Apr-22-1999.zip
access.Apr-23-1999.zip
access.Apr-24-1999.zip
access.Apr-25-1999.zip
access
access_log.199903
access_log.199904
access_log.199905
access_log.199906
access_log
access_log-20100523
access_log-20100530
access_log-20100606
access_log
access.log.20080717_025137.gz
access.log.20080720_070333.gz
access.log.20080723_055700.gz
access.log.20080726_102137.gz
access.log.20080729_073709.gz
access.log

Rotation number can increase or decrease.

Log filename string can be whatever you want :

  • prefixlog is the constant string in your logfile (ex : access_log)
  • day is a digits number (from 01 to 31)
  • month is a 2 digits number (from 01 to 12)
  • smallmonth is a number (from 1 to 12)
  • lettermonth is a 3 letters string with first upper (from Jan to Dec)
  • smallyear is 2 digits number (ex : 98)
  • rotate is the apache index (ex : 1)
  • year is 4 digits number (ex : 1998)
  • hour is 2 digits number (ex : 14)
  • min is 2 digits number (ex : 28)
  • sec is 2 digits number (ex : 10)
Examples of supported string filename :

  • access_log.1998Mar.gz
  • 1998.03.10.raw.zip
  • log.03-12-1998.gz
  • in.9904
  • access.20060428.log
- Compressed

Crunched logfiles is also supported, both zip, gzip or bzip2. Others can be add easily.

star No logfile

Insert a small piece of javascript in your pages and logfiles will be created that you could then analyze with W3Perl. Logfile format is ECLF so referer and agent are available. Files are daily split.

Get stats about your external links. Replace your href link with a php script which will create a logfile you could later analyze with W3Perl.