From ISPWiki

Jump to: navigation, search

AWStats is an open source Web analytics reporting tool suitable for analyzing data from Internet services. AWStats parses and analyzes server log files, producing HTML reports. Data is visually presented within reports by tables and bar graphs.

ОGeneral information

ISPmanager automatically configure statistics collection, its analysis and reports. To enable/disable logs rotations and provide rotation period, go to the WWW domains module -> open the domain edit form -> the "Logs" tab (or "WWW domains" -> the "Logs" icon, if you use the old web-module).

To add a login and password for accessing statistical information, drill down to the user level and go to the "Protecting directory" module.

Technical details

Activating the analyzer for a domain will specify the start line in the file



/var/www/user230/data/logs/ __LOG__ /var/www/user230/data/www/
where /var/www/user230/data/logs/ - site access log 
day - log analysis period
/usr/local/ispmgr/sbin/ - analyzer script 
/var/www/user230/data/www/ - directory where the html report will be placed 

Starting the log analyzer

  • Logs analyzer is automatically started with the command /usr/local/ispmgr/sbin/rotate в cron.
  • To start it manually, take the command from the file rotate.conf. Order: the analyzer script, log file, directory where the html report will be placed.
  /usr/local/ispmgr/sbin/ /var/www/user230/data/logs/ /var/www/user230/data/www/

Statistics is not collected

  • Make sure the file hard links are not corrupted.
  • Make sure the cron job in /usr/local/ispmgr/sbin/rotate is set to 00 - 01

See also logs rotation: [[1]]

Was this helpful? Yes | No
Personal tools