Before the following steps below, it is recommended to understand the process of statistics calculation.
Statistics utility records monthly statistical data to
psa tables and located at:
The utility performs the following tasks:
- Processes the following log files for the services producing the majority of network traffic:
- Apache logs under
- FTP logs for authorized users
- FTP logs for anonymous users
Mail service logs
Extracts information from the above log files to the
*.processedfile and saves results in the following tables of the
Calls the logrotate utility from
/usr/local/psa/logrotate/sbin/which creates a rotation job according to
The cron daemon launches the statistics utility once a day, using the command:
/usr/local/psa/admin/sbin/statistics > /dev/null 2>&1
Webalizer converts the statistical information in user friendly format (
Plesk 11.5 and higher:
By default this utility will be executed while running the daily maintenance script:
Web statistic files can be manually generated by the following command:
/usr/local/psa/admin/bin/statistics --generate-domain-webstat -d example.com
AWStats configuration files located at:
Webalizer configuration files located at:
Try to calculate statistic for one domain according to #213936305 article. In case when statistics have been generated successfully, go to next step.
Enable logging of daily maintenance task according to the #213394209 article and monitor it within the next 24 hours.
If after some investigations it is required to generate statistic from a particular date use #213901965 article.
For other issues please check the articles below or contact Plesk Technical Support :
Useful KB articles
#213936305 - How to recalculate statistics for a particular domain on Plesk for Llinux?
#213901965 - How to recalculate AWStats statistics from logs for previous months
#213950065 - How to rerun daily maintenance tasks separately
#213369069 - Domain statistics are not calculated if the 'cronie' and 'cronie-anacron' packages are installed
#213394209 - How to enable logging of daily maintenance task