AWStats is a free, GPL-licensed log analyzer that turns web, FTP, and mail server logs into detailed traffic and visitor statistics.
Researched and fact-checked by Bartu Cavusoglu · Updated November 30, 2026
AWStats (Advanced Web Statistics) is a free, open-source log file analyzer. Instead of placing a JavaScript tag on web pages, it reads the log files a server already writes and turns them into graphical reports about visitors, pages, referrers and errors. It handles web server logs as well as many proxy, streaming, mail and FTP server logs. AWStats is written in Perl, distributed under the GNU General Public License, and has been a standard component of shared hosting control panels for many years.
Version 8.0, released in August 2025, is described by the original author as the last version he will personally release. Any further maintenance releases would come from the community. The project site openly recommends Matomo as an actively maintained alternative and points to Matomo Log Analytics for people who want to keep analyzing server logs without page tags. Anyone choosing AWStats today should treat it as stable, mature software with limited future development.
• Visitor and traffic reports: visits, unique visitors, visit duration, authenticated users, busiest hours and days.
• Content reports: most viewed, entry and exit pages, file types and downloads.
• Audience details: countries and domains, hosts, operating systems, browsers and screen sizes.
• Acquisition: referring sites, search engines and search keyphrases.
• Robots and errors: detection of crawler traffic and worm activity, and reporting on HTTP errors such as missing pages.
• Custom reports: extra sections based on URL or referrer patterns, plus load-balancing cluster reports.
• Log formats: Apache NCSA combined and common formats, IIS W3C logs, WebStar logs and many other server formats.
• Output options: dynamic reports through a CGI script with filters, or static HTML pages generated from the command line; PDF output is experimental.
AWStats is completely free, including for commercial use. There are no paid tiers. The only costs are the server resources and the time needed to install, configure and maintain it.
AWStats suits system administrators, hosting providers and site owners who want analytics based on raw server logs, with no third-party scripts and no data leaving the server. Because it reads logs, it also counts visitors who block JavaScript and shows bot traffic that tag-based tools usually hide. It is common on servers managed through hosting control panels, where it is often preinstalled. It can also be useful as a second opinion next to a tag-based tool, for example to check crawler load or find error pages.
The interface looks dated next to modern analytics dashboards, and log analysis cannot track in-page events, conversions or user journeys the way tag-based tools do. Caching layers and CDNs can also hide requests from origin logs. Setup requires Perl, read access to logs and either CGI configuration or a scheduled command-line job. Most importantly, the lack of an active lead maintainer means new log formats, browsers and bots may not be recognized over time. Alternatives include Matomo (with its log analytics importer), GoAccess for fast terminal and HTML log reports, and Webalizer.
Download AWStats from awstats.org or install it from your Linux distribution's packages, create a configuration file for each site that points to its log file, and run the update script by hand or on a schedule. Then view the reports through the CGI interface or publish static HTML pages.
Yes. AWStats is free and open source under the GNU General Public License, including for commercial use.
Version 8.0, released in August 2025, is the last version the original author plans to release himself. Future fixes would depend on the community, and the project recommends Matomo as a maintained alternative.
AWStats reads Apache NCSA combined and common logs, IIS W3C logs and WebStar logs. It also supports many other web, proxy, streaming, mail and FTP server log formats.
AWStats analyzes server log files rather than using a JavaScript tag, so data stays on your server and bots appear in reports. It cannot track in-page interactions or conversions the way tag-based tools can.
You need Perl, read access to your server's log files and either a CGI-capable web server or a scheduled command-line job to generate static reports.
Matomo, including its log analytics importer, is the alternative recommended by the AWStats project. GoAccess and Webalizer are other log-based options.
Compare analytics tools side by side →
Tool pages we refreshed lately, from across the directory.