Symptoms
AWstats statistics generator is used by domain:Domains -> <domain name> -> Setup -> Web statistics: AWstats
Web and traffic statistics is retained for one month only.
How to configure to save statistics for a larger period?
Resolution
By default Parallels Plesk Panel retains traffic statistics in versions before 8.6.0.5 for one month.This can be modified at:
Domains -> <domain name> -> Report -> Bandwidth Usage History
"Retain Web and traffic statistics" - set the desired value.
The default value has been reconfigured in Parallels Plesk Panel since update 5 in version 8.6.0.
During creation of new domain:
- Default value for "Retain Web and traffic statistics" is set to 3 month.
- You may change default value if configure parameter 'stat_ttl' in table misc of Plesk database:
~# mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa -e"replace into misc values ('stat_ttl',12)"Where 12 months is desired value for statistics history
- If you uncheck the option, statistics is not stored.