Article ID: 6246, created on Apr 14, 2009, last review on Jun 17, 2016

  • Applies to:
  • Plesk 12.0 for Linux
  • Plesk 11.5 for Linux


AWstats statistics generator is used by these domains:

Plesk 8.x:

Domains> DOMAIN.TLD > Setup > Web statistics: AWstats

Plesk 9.x:

Domains > DOMAIN.TLD > Web Hosting Settings > Web statistics: AWstats

Plesk 10.x and above:

Domains> DOMAIN.TLD > Control Panel > Websites > Domains > DOMAIN.TLD > Web statistics: AWstats

Web and traffic statistics are retained for three months only. How can I configure Plesk to save statistics for a longer period?


Since version 8.6.0, Update 5, the number of months for which statistics are kept may be configured through the Plesk GUI and in the database.

Plesk 8.6:

Domains > DOMAIN.TLD > Report > Bandwidth Usage History

Plesk 9.x:

Domains > DOMAIN.TLD > Click on the 'Statistics' link highlighted in blue > Summary Report > View Traffic History

Plesk 10.x and above:

Hosting Services > Service Plans > PLAN_NAME > Logs & Statistics

Set desired value for the limit Retain Web and traffic statistics. The default value for Retain Web and traffic statistics is three months. In Plesk 8.6 and 9.x, you may change the default value if you configure the stat_ttl parameter in the misc table of the Plesk database:

~# MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql -u admin psa -e"replace into misc values ('stat_ttl',12)"

(where 12 months is the desired value for statistics history).

Since version 10.0, the limit may also be changed in the database for each domain:

~# MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql -u admin psa -e "update dom_param set val=12 where param=’stat_ttl’ and dom_id=N"

Where N is the domain ID:

~# MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql -u admin psa -e "select id from domains where name='DOMAIN.TLD'"

If you un-check this option, statistics are not stored.

Note: Since version 10.x, you may configure the limit per Service Plan through the GUI. In the database, the limit may be configured per domain. The custom value stat_ttl is not reset when syncing a subscription with a service plan.

Search Words

statistics not updated

a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 56797cefb1efc9130f7c48a7d1db0f0c 2a5151f57629129e26ff206d171fbb5f e335d9adf7edffca6a8af8039031a4c7 01bc4c8cf5b7f01f815a7ada004154a2 0a53c5a9ca65a74d37ef5c5eaeb55d7f

Email subscription for changes to this article
Save as PDF