Skip to content

Getting awstats to generate reports

  • IT

I’ve managed to go that one step further with getting awstats to generate reports and finally have it recording information.

The way awstats works is it generates all the file information from a local database, which stores all the records for your website. You have to run the command

perl awstats.pl -config=mysite -update each day so that your files are dragged in from the access_log in your log files directory and added to the database

You can then compile your reports using the -output -buildstaticlinks command

I’ve create a more documented guide for this on my website for people who need to understand the configuration and setup further and are having a little trouble with awstats on their website.