How do I use Webalizer to analyze my Apache logs?
Author: Deron Eriksson
Description: This tutorial describes how to get up and running analyzing Apache access.log files with Webalizer.
Tutorial created using: Windows XP || Apache HTTP Server 2.2.4

Page:    1 2 >

Webalizer is a fantastic, free web server log file analyzer. It is fast and generates very nice statistical reports about who is hitting your site and what they are hitting. It can be found at It can be downloaded at

Typically, with a web server log file analysis tool like this, it can be nice to have it run periodically (daily), for instance, at midnight. So, it can be a good idea to set it up as a cron job in Unix or as a repeating task using the Windows Task Scheduler. You can set the Webalizer output directory to be within your ApacheSW document root directory so that the Webalizer statistics are available through your Apache server.

This tutorial will be very brief. Rather that diving in depth into Webalizer, this tutorial is mainly to show how to get up and running with Webalizer. However, be aware the Webalizer is a highly configurable, very useful tool.

Let's get started! First off, I downloaded the latest Webalizer at the time of this writing (2.01-10) and extracted it to C:\webalizer-2.01-10-win32-bin. The contents of this directory are shown below.

Webalizer folder

Next, I created a destination directory for my Webalizer statistical reports called 'webalizer-stats'. I created this directory within my Apache document root (ie, at C:\Apache2.2.4\htdocs\webalizer-stats) so that the reports can be accessed through my Apache web server.

creating a webalizer-stats folder in Apache htdocs

Now, let's go to a command prompt and go to the Webalizer directory. As an aside, you can type 'webalizer -h' to see the many options that are available with Webalizer, as shown here:

'webalizer -h'

(Continued on page 2)

Page:    1 2 >