AWStats web statistics
AWStats is the web statistics tool for customers' IIS websites.
The main aspects of AWStats web statistics processing are as follows:
AWStats works as separate IIS website on a separate Windows server which serves all customers' web statistics requests. The default name of IIS website for AWStats service is
'AWStats Site <ID>', where
<ID>is the ID of the AWStats service in POA, it may be seen in the POA Provider CP at System Director > Configuration Manager > Services.
A customer may create AWStats profile in the POA Control Panel for their websites, separate profile is created for each website.
POA creates profile on AWStats server corresponding to a customer's website.
The logparser service installed on all Windows Shared Hosting servers uploads logs of customers' IIS websites to the centralized AWStats server using FTP, this is implemented through the Windows scheduled task.
- The scheduled task on AWStats server itself merges uploaded logs, processes them and generates web statistics for customers' websites in HTML format.
It is recommended to install AWStats service on a separate Windows server due to performance reasons.
The default location of the AWStats tool on a Windows server is C:\CustomerData\AWStats, customers' AWStats profiles are stored in the
C:\CustomerData\AWStats\statdata\profile<ID> folders, where
<ID> is the ID of a particular AWStats profile (it may be seen in POA Customer CP).
The logparser service on Windows Shared Hosting server uploads IIS logs of customers' website into the incoming folder in the corresponding AWStats profile, generated web statistics is stored in the stat folder in the profile as
POA configures Windows scheduled task awstats_update on the AWStats server which executes the
C:\CustomerData\AWStats\awstats_updater.cmd script, the awstats_updater.cmd script invokes the C:\CustomerData\AWStats\awstats_updater.pl Perl script and saves log file to the C:\CustomerData\AWStats\awstats_updater.log file.
All the real customers' websites' log processing is performed by the awstats_updater.pl script. Analyze the awstats_updater.log file to troubleshoot the problems with log files processing by AWStats.
When a customer opens AWStats web statistics in POA Control Panel their request is being processed by the special IIS website working on the dedicated AWStats web server.
See the main Knowledgebase article #115790 Website Hosting: General information, Best Practices and Troubleshooting for more information.