Stats by Day
AWStats reports usually show statistics collected during a calendar month, but there is an almost secret feature that allows to get reports generated on a daily basis. This feature is not fully supported by AWStats and that is probably the reason why it is not actively promoted.
How to generate daily data base files
You need to add the databasebreak=day option to the AWStats update command. The command will look like this:
perl awstats.pl -config=www.my_site.com -update -databasebreak=day
How to view the report for a given day
The databasebreak and day options must both be used in the command line. The value of databasebreak must be day and the value of day must be the day of the month. The address bar will show:
Improve readability of the daily report
You can theoretically use the same AWStats configuration file for the monthly statistics and for the daily statistics. As some data do not make sense for daily stats, it is recommended to remove them from the daily reports. In the AWStats config file for the daily reports, we replace:
In fact, we recommend to remove even more data from the daily reports and to keep only the data which are of interest for a daily monitoring.
Combining daily and monthly stats