Analyzing logfiles using Webalizer
Web server logfiles contain a lot of useful information, but they are too long and verbose to read. In order to get an overview of the state of your website, you will need a tool to analyze the contents of its access logfiles. One such tool is called Webalizer; it's easy to install and integrates well with Webmin. Webalizer parses your logfiles and generates a graphical report in HTML turning your logfiles into clear graphs and tables.
Getting ready
Follow the steps described in the recipe installing software packages in Chapter 1, Setting Up Your System, to install the webalizer
package on your system.
How to do it...
Make a note of the location of the Apache access logfile you want to analyze. In this recipe, we will prepare a Webalizer report for the website hosted at example.com
with an access logfile stored in /var/log/apache2/example.com-access.log
. Perform the following steps to analyze logfiles using Webalizer:
Make a directory to store the Webalizer...