Search Engine: Elastic

Article ID: 115829, created on Mar 26, 2013, last review on Jul 14, 2018

  • Applies to:
  • Operations Automation 5.4

AWStats web statistics

AWStats is the web statistics tool for customers' IIS websites.

The main aspects of AWStats web statistics processing are as follows:

  1. 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.

  2. A customer may create AWStats profile in the POA Control Panel for their websites, separate profile is created for each website.

  3. POA creates profile on AWStats server corresponding to a customer's website.

  4. 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.

  5. 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 awstats<month><year>.<profileId>.txt file.

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\ 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 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.

caea8340e2d186a540518d08602aa065 5356b422f65bdad1c3e9edca5d74a1ae ac82ce33439a9c1feec4ff4f2f638899 2554725ed606193dd9bbce21365bed4e e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF