AWStats: Making Sense of Your Server Logs and Turning Them into Website Statistics

AWStats: Making Sense of Your Server Logs and Turning Them into Website Statistics
Photo by Markus Winkler / Unsplash

AWStats is a powerful tool that helps you make sense of your server logs and turns them into website statistics. It provides detailed information about the visitors to your website, including their geographical location, operating system, browser, and more.

How does AWStats work?

To use AWStats, you need to have access to your server logs. AWStats analyzes these logs and generates reports that give you insights into your website's performance. It provides information such as the number of visitors, page views, unique visitors, and referral sources.

AWStats works by parsing the server logs and extracting relevant information from them. It then processes this data and generates HTML reports that you can view in your web browser. The reports are organized into different sections, including general statistics, visitor information, and traffic sources.

By analyzing the AWStats reports, you can gain valuable insights into your website's traffic patterns, popular pages, and referral sources. This information can help you make informed decisions about your website's content, marketing strategies, and overall performance.

Overall, AWStats is a powerful tool that allows you to transform your server logs into meaningful website statistics, helping you understand and optimize your web presence.

Features

  • Number of visits and number of unique visitors
  • Visits duration and last visits
  • Authenticated users and last authenticated visits
  • Days of the week and rush hours (pages, hits, KB for each hour and day of the week)
  • Domains/countries of host visitors (pages, hits, KB, 269 domains/countries detected, GeoIp detection)
  • Hosts list, last visits, and unresolved IP addresses list
  • Most viewed, entry, and exit pages
  • Files type
  • Web compression statistics (for mod_gzip or mod_deflate)
  • Operating systems used (pages, hits, KB for each OS, 35 OS detected)
  • Browsers used (pages, hits, KB for each browser, each version (Web, Wap, Media browsers: 97 browsers, more than 450 if using browsers_phone.pm library file)
  • Visits of robots (319 robots detected)
  • Worms attacks (5 worm families)
  • Search engines, keyphrases, and keywords used to find your site (The 115 most famous search engines are detected like Yahoo, Google, Altavista, etc...)
  • HTTP errors (Page Not Found with the last referrer, ...)
  • Other personalized reports based on URL, URL parameters, referer field for miscellaneous/marketing purposes
  • Number of times your site is "added to favorites bookmarks"
  • Screen size (need to add some HTML tags on the index page)
  • Ratio of browsers with support of: Java, Flash, RealG2 reader, Quicktime reader, WMA reader, PDF reader (need to add some HTML tags on the index page)
  • Cluster report for load-balanced server ratio

More Features

It supports the following features as well:

  • Can analyze all log formats
  • Works from command line and from a browser as a CGI (with dynamic filters capabilities for some charts)
  • Update of statistics can be made on demand from the web interface and not only from your scheduler
  • Unlimited log file size, support split log files (load balancing system)
  • Support 'nearly sorted' log files even for entry and exit pages
  • Reverse DNS lookup before or during analysis, supports DNS cache files
  • Country detection from IP location or domain name
  • WhoIS links
  • A lot of options/filters and plugins can be used
  • Multi-named web sites supported (virtual servers)
  • Cross Site Scripting Attacks protection
  • Several languages
  • No need of rare perl libraries
  • Dynamic reports as CGI output
  • Static reports in one or framed HTML or XHTML pages
  • Experimental PDF export
  • Look and colors can match your site design (CSS)
  • Help and tooltips on HTML reported pages
  • Easy to use (Just one configuration file to edit)
  • Analysis database can be stored in XML format (for XSLT processing, ...)
  • A Webmin module
  • Free (GNU GPL) with sources (perl scripts)
  • Available on all platforms

License

Copyright (C) 2000-2020 - Laurent Destailleur - [email protected] - https://www.nltechno.com

Laurent Destailleur is also the project leader of Dolibarr ERP CRM Opensource project, and author of AWBot, CVSChangeLogBuilder, DoliDroid and founder of DoliCloud SaaS https://www.dolicloud.com.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Resources & Download

AWStats - Open Source Log File Analyzer for advanced statistics (GNU GPL)
AWStats Official Web Site - Compile and generate advanced graphical web, ftp or mail statistics with a logfile analysis (For IIS, Apache,... distributed under GNU GPL).
GitHub - eldy/AWStats: AWStats Log Analyzer project (official sources)
AWStats Log Analyzer project (official sources). Contribute to eldy/AWStats development by creating an account on GitHub.

Read more