(WHM >> Home >> Server Configuration >> Statistics Software Configuration

Overview

This interface displays information about your server’s statistics and statistics software. cPanel & WHM servers include three statistics applications (generators): Analog, AWStats, and Webalizer.

The /usr/local/cpanel/logs/stats_log file contains the statistics logs for your server. If your server experiences problems when it processes statistics, the log file may provide additional information to troubleshoot the issue.

Statistics Status Summary

This section of the interface allows you to view important information about your server's statistics software.

Show which users are behind

This option only appears if cPanel accounts exist that process statistics behind the server's statistics process schedule. If a cPanel account processes statistics behind the server's schedule, a message about the problem also appears.

To display a list of these cPanel users, click Show which users are behind. A table will appear that displays cPanel users and the number of minutes behind schedule that their accounts process statistics.

See Specific User's Statistics Summary

To view your cPanel accounts' statistics process summaries, perform the following steps:

  1. Select All or a specific cPanel user from the User to Display menu. 
  2. Click Go. A new interface appears that displays the account's statistics process information, as well as specific information for each of the three statistics generators.
  3. Click Details to view a statistics generator's information. A new interface will appear that displays the following information:

 

Process Statistics for User

This section of the interface allows you to process individual cPanel accounts' statistics. The process runs in the background and stores the results while you continue to work in WHM. When the process finishes, you can view these statistics from the user's cPanel interface.

To process a user's statistics, select the user from the User to Process menu and click Go.

Generators Configuration

This section of the interface allows you to select your cPanel users' statistical analysis software.

Select the appropriate checkboxes to configure Analog, AWStats, and Webalizer :

User Permissions

This section of the interface allows you to specify which cPanel users can modify their statistics software.

Allow all users to change their web statistics generating software

To allow all of your cPanel users to modify their statistics software, select the Allow all users to change their web statistics generating software checkbox and click Save.

Choose Users

To select specific cPanel users who can modify their statistics software, perform the following steps:

  1. Click Choose Users. A new interface will appear.
  2. Configure the Allowed Users menu.
  3. WHM automatically saves each change that you make to the Allowed Users menu. After you make your changes, click Go Back.

Choose Specific Stats Programs

To choose a cPanel user's specific statistics generators, perform the following steps:

  1. Click Choose Users. A new interface will appear.
  2. Enter the user’s name in the Choose Specific Stats Programs for text box and click Configure.
  3. Select the checkbox next to each generator that you wish to make available to the user.
  4. Click Save.

Schedule Summary

This section of the interface displays the estimated update schedule for each statistics software.

Schedule Configuration

This section of the interface allows you to use the following settings to determine how often WHM processes the statistics on your server:

  • Set these intervals in increments of 0.25 (which represents 15 minutes). For example, 4.25 specifies an interval of four hours and fifteen minutes.
  • We recommend that you do not set the Log Processing Frequency setting to a number below 24. Lower numbers may prevent the successful completion of the log process schedule.

Configure Statistic Process Time Schedule

To define a more precise schedule, perform the following steps:

  1. Click Configure Statistic Process Time Schedule
  2. In the new interface that appears, select the hours in which your server will not perform log analysis.

    Only process statistics at off-peak hours, when your server processes fewer requests. 


  3. To ensure that backups and log analysis do not occur simultaneously, select the Prevent cpanellogd (Log Processing) and cpbackup (Backups) from running at the same time checkbox.
  4. Click Save.
  • If your server is very busy, your system may require more than one hour to fully analyze log files. Make certain that you leave an adequate number of hours unselected to allow sufficient time for log analysis.
  • The times that you select only affect the Analog, AWStats, and Webalizer statistics programs. This schedule does not control how the cpanellogd daemon processes bandwidth statistics internally, which is necessary for bandwidth reports in cPanel & WHM. The cpanellogd daemon may still process statistics in blackout hours, and uses minimal resources. The Bandwidth Processing Frequency setting still controls the frequency with which the cpanellogd daemon processes data.
  • The Extra CPUs for server load setting in the Stats and Logs section of WHM's Tweak Settings interface (WHM >> Home >> Server Configuration >> Tweak Settings) also affects how to server processes statistics. If the system does not process statistics in the allotted time, we recommend that you increase this value.

Additional documentation