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:
http://www.internetofficer.com/cgi-bin/awstats.pl?config=www.internetofficer.com&databasebreak=day&day=06&month=07&year=2007
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:
ShowMonthStats=UVPHB
ShowDaysOfMonthStats=VPHB
ShowDaysOfWeekStats=PHB
by:
ShowMonthStats=0
ShowDaysOfMonthStats=0
ShowDaysOfWeekStats=0
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.
Not fully supported
The daily statistics are not fully supported yet. Even in the new AWStats 6.7 release, there is no possibility to go from one day to another through the AWStats drop down menu.
February 16th, 2008 at 12:39 pm
hi,
I want my AWstats report between 2 given days,
If any one have any solution regarding this please let me know.
bye
Question edited by admin and moved to our AWStats forum: stats between two days.