Awstats
Author: r | 2025-04-24
Step 4: Install Awstats. To install AWStats, open a command prompt with administrator rights and navigate to the AWStats folder using the cd command: C: cd C: awstats Then, run the following command to install AWStats: C: awstats perl awstats.pl -config=awstats.conf -install This will create the necessary folders and files needed by AWStats
AWSTATS sample file for easyengine - /etc/awstats/awstats
Program.Difference in what is counted? Because of the differing methods of traffic tracking, Awstats can detect search engine bots that access and crawl your website to learn more about your website content, link structure, etc., whereas Google Analytics does not register this type of traffic since most crawlers and spiders don’t run JavaScript code. The Awstats program does distinguish between the visits from humans and non-humans, categorizing traffic as “Viewed traffic” and “Not viewed traffic”, where “Not viewed traffic includes traffic generated by robots, worms, or replies with special HTTP status codes”. But, while Awstats does try to identify and exclude these non-human visits, it can’t do so with 100% accuracy. Awstats has a list of known robot/spider ips, and most of them do identify themselves as robots/spiders, but not all do.Also, Awstats counts visitors that have accessed image files or document files on your server directly, that would not have the Google Analytics code loaded, and so would not be counted by Google Analytics. If your server is using a lot of bandwidth with not a lot of website visitors, analyzing your Awstats data can be useful in determining whether it is due to “hot linking” of your images or other document files, whereby other websites are directly linking to your website images/document files. Just look under files viewed.Accuracy on counting visitors/unique visitors? Awstats counts visitors based on their IP address. So, it is not following a user who visits from multiple locations, or who has a dynamic IP address (i.e. AOL users) – essentially, it double counts as a user’s ip address changes/moves around and counts multiple users from the same IP address as being the same visitor. Google Analytics uses browser-specific cookies to track visitors multiple times in multiple locations, but it can’t track one person across their multiple browsers. Also if the user repeatedly clears his cookies in the middle of a visit, that will also count as multiple visits. So, both can have the tendency to inflate and deflate the traffic numbers.Then there is also the differing ways Awstats and Google Analytics counts a session in regards to visits. Google Analytics by default counts a session as a 30 minute interval. So if the user goes on a 30-minute lunch break in between visits on your website for example, that will count as 2 visits. Awstats counts a session as 1 hour. If a user is on your website for 55 minutes and then takes a break for 6 minutes, not interacting with your website, and then comes back to your website and clicks something, that will count as 2 visits. Visits are also counted as 2 vs 1 when the cutoff time period of. Step 4: Install Awstats. To install AWStats, open a command prompt with administrator rights and navigate to the AWStats folder using the cd command: C: cd C: awstats Then, run the following command to install AWStats: C: awstats perl awstats.pl -config=awstats.conf -install This will create the necessary folders and files needed by AWStats Step 4: Install Awstats. To install AWStats, open a command prompt with administrator rights and navigate to the AWStats folder using the cd command: C: cd C: awstats Then, run the following command to install AWStats: C: awstats perl awstats.pl -config=awstats.conf -install This will create the necessary folders and files needed by AWStats AWStats: Geo Usage. How to set up geography-related plug-ins for AWStats. Steps. Acquire AWStats, other programs, and pertinent information; Install AWStats on the 1and1 shared server Install AWStats on your computer; Set up the AWStats config file; Create a usable log file; Create/update the AWStats database; Create a traffic web page Install AWStats. Once the download completes, you can run the installation of AWStats on CentOS 8. dnf localinstall awstats-7.8-1.noarch.rpm Setup AWStats Log Analyzer on CentOS 8. Once the installation is done, proceed to set it up to analyze your web logs. Upon installation, AWStats files are placed in /usr/local/awstats directory. AWSTATS is a tool in your cPanel that produces visual statistics about visitors to your website. What Information Can I View in AWSTATS? How to Access AWSTATS; Troubleshooting; View our reviewing website stats with AWStats guide for screenshots of what you can view with AWStats. AWStats 7.0Free AWStats is a free powerful and featureful tool that generates advanced web2.8 Developer:Laurent Destailleur1 / 1DownloadFree Edit program infoInfo updated on:Mar 01, 2025AWStats is a free powerful and featureful tool that generates advanced web, streaming, ftp or mail server statistics, graphically. This log analyzer works as a CGI or from command line and shows you all possible information your log contains, in few graphical web pages. It uses a partial information file to be able to process large log files, often and quickly.It can analyze log files from all major server tools like Apache log files (NCSA combined/XLF/ELF log format or common/CLF log format), WebStar, IIS (W3C log format) and a lot of other web, proxy, wap, streaming servers, mail servers and some ftp servers.Take a look at this comparison table for an idea on features and differences between most famous statistics tools (AWStats, Analog, Webalizer).AWStats is a free software distributed under the GNU General Public License. You can have a look at this license chart to know what you can/can't do.As AWStats works from the command line but also as a CGI, it can work with all web hosting providers which allow Perl, CGI and log access.Comments
Program.Difference in what is counted? Because of the differing methods of traffic tracking, Awstats can detect search engine bots that access and crawl your website to learn more about your website content, link structure, etc., whereas Google Analytics does not register this type of traffic since most crawlers and spiders don’t run JavaScript code. The Awstats program does distinguish between the visits from humans and non-humans, categorizing traffic as “Viewed traffic” and “Not viewed traffic”, where “Not viewed traffic includes traffic generated by robots, worms, or replies with special HTTP status codes”. But, while Awstats does try to identify and exclude these non-human visits, it can’t do so with 100% accuracy. Awstats has a list of known robot/spider ips, and most of them do identify themselves as robots/spiders, but not all do.Also, Awstats counts visitors that have accessed image files or document files on your server directly, that would not have the Google Analytics code loaded, and so would not be counted by Google Analytics. If your server is using a lot of bandwidth with not a lot of website visitors, analyzing your Awstats data can be useful in determining whether it is due to “hot linking” of your images or other document files, whereby other websites are directly linking to your website images/document files. Just look under files viewed.Accuracy on counting visitors/unique visitors? Awstats counts visitors based on their IP address. So, it is not following a user who visits from multiple locations, or who has a dynamic IP address (i.e. AOL users) – essentially, it double counts as a user’s ip address changes/moves around and counts multiple users from the same IP address as being the same visitor. Google Analytics uses browser-specific cookies to track visitors multiple times in multiple locations, but it can’t track one person across their multiple browsers. Also if the user repeatedly clears his cookies in the middle of a visit, that will also count as multiple visits. So, both can have the tendency to inflate and deflate the traffic numbers.Then there is also the differing ways Awstats and Google Analytics counts a session in regards to visits. Google Analytics by default counts a session as a 30 minute interval. So if the user goes on a 30-minute lunch break in between visits on your website for example, that will count as 2 visits. Awstats counts a session as 1 hour. If a user is on your website for 55 minutes and then takes a break for 6 minutes, not interacting with your website, and then comes back to your website and clicks something, that will count as 2 visits. Visits are also counted as 2 vs 1 when the cutoff time period of
2025-03-26AWStats 7.0Free AWStats is a free powerful and featureful tool that generates advanced web2.8 Developer:Laurent Destailleur1 / 1DownloadFree Edit program infoInfo updated on:Mar 01, 2025AWStats is a free powerful and featureful tool that generates advanced web, streaming, ftp or mail server statistics, graphically. This log analyzer works as a CGI or from command line and shows you all possible information your log contains, in few graphical web pages. It uses a partial information file to be able to process large log files, often and quickly.It can analyze log files from all major server tools like Apache log files (NCSA combined/XLF/ELF log format or common/CLF log format), WebStar, IIS (W3C log format) and a lot of other web, proxy, wap, streaming servers, mail servers and some ftp servers.Take a look at this comparison table for an idea on features and differences between most famous statistics tools (AWStats, Analog, Webalizer).AWStats is a free software distributed under the GNU General Public License. You can have a look at this license chart to know what you can/can't do.As AWStats works from the command line but also as a CGI, it can work with all web hosting providers which allow Perl, CGI and log access.
2025-04-03How to access AWStats from outside cPanel post content--> 090330 Sometimes it's interesting to be able to access awstats from outside cPanel, for example if you're hosting a client's website and you want them to be able to check awstats, but without giving them access to cPanel. You'd think that this would be an option provided by cPanel itself, but as far as I know it's not.I've been doing some research and although various pages offer methods to achieve this, none of them fully worked for me (which tends to be the case when you don't really know what you're doing). Finally I've managed to get it working by mixing bits and pieces from different sources, so I've decided to post my solution here, in case it helps anyone else.This worked for me, but I don't know how it'll work in other servers and configurations. I give no guarantees, so "handle with care". :) Here's a step by step guide:Download awstats from (the latest version as I write this is 6.9).Extract the contents of the zipped file to your hard drive.Using your favorite FTP client, you're going to upload some of the contents you just extracted to the server: Upload the contents of the cgi-bin folder into the cgi-bin folder of your server (which should be in public_html). Upload the content of the icons folder to a folder of your choice, inside public_html. For example if you have a folder called img, you might choose to create a folder inside it called awicons, and upload the contents of the icons folder there.Change the permissions of the files awredir.pl and awstats.pl to 755 (you've just uploaded these files to /public_html/cgi-bin).Using your FTP client, download the awstats configuration file that has been created by your cPanel. You should find it in:/tmp/awstats/awstats.yourdomain.com.confOpen this file with a text editor, and look for "DirIcons". Change this line to point to the folder where you uploaded the icons (using a path relative to the home of your site). Following the example above, you'd write:DirIcons="/img/awicons/"It's up to you where to put the images, but make sure you
2025-04-02It can be very useful to check your website traffic statistics as you are working on growing your website popularity and reach. You want to increase your website visitors and want to know which pages are getting the most attention, how your website visitors are finding your website – which search terms they are using and which website urls are referring them to your website, from which pages they enter into your website and from which pages they leave on your website, how much they stay on your website and how interactive they are on your website (pages/visit), and which countries your visitors are coming from, during what time of day. You can get this info from both Google Analytics and your website server’s traffic statistics program, Awstats. So which is better, which is more accurate, which is more useful – i.e. which one should you use?!If you are using both Google Analytics and Awstats, you will probably notice right away that the traffic statistics do not match! Awstats generally will show a lot more traffic, and the reason for this is the different ways the two measure traffic. …Not because Google sucks!Google Analytics requires you to copy/paste the JavaScript code they provide to you on each of your webpages. If you are using UltimateWB software, this is quite easy to do – in one step you can load the code on all your webpages by using the Ad(d)s app. Google Analytics gathers visitor information from this generated code that is loaded onto each page of your website, using a combination of JavaScript and Cookies to notify Google each time one of your webpages is visited. So, if a website visitor happens to have disabled Cookies and/or JavaScript in their internet browser, the code that Google Analytics uses may not get run and those visits are not counted. Also, Google Analytics opt-out users are not counted either.Awstats, on the other hand, is a program that is hosted on your own server – it is not sharing info with Google, which you may prefer if you like that privacy aspect of it. The web server generates and stores a log for each visit to your website. Then Awstats processes and analyzes the log files to create its pretty reports and graphs. This is why Awstats is often referred to as a log file analyzer. You can access the Awstats program from your web hosting control panel, more info on this here. UltimateWB offers Awstats in all of its web hosting packages as a free included program, but some companies such as GoDaddy web hosting may treat it as an “add-on” and charge extra to have a such a cool traffic statistics
2025-04-01AWStats is short for Advanced Web Statistics. AWStats is powerful log analyzer which creates advanced web, ftp, mail and streaming server statistics reports based on the rich data contained in server logs. Data is graphically presented in easy to read web pages.Designed with flexibility in mind, AWStats can be run through a web browser CGI (common gateway interface) or directly from the operating system command line.Through the use of intermediary data base files, AWStats is able to quickly process large log files, as often desired.With support for both standard and custom log format definitions, AWStats can analyze log files from Apache (NCSA combined/XLF/ELF or common/CLF log format), Microsoft’s IIS (W3C log format), WebStar and most web, proxy, wap and streaming media servers as well as ftp and mail server logs.Features include:A full log analysis enables AWStats to show you the following information:Number of visits, and number of unique visitors.Visits duration and last visits.Authenticated users, and last authenticated visits.Days of week and rush hours (pages, hits, KB for each hour and day of week).Domains/countries of hosts 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).OS 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’s 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 last referrer, …).Other personalized reports based on url, url parameters, referrer field for miscellaneous/marketing purpose.Number of times your site is “added to favourites bookmarks”.Screen size (need to add some HTML tags in index page).Ratio of Browsers with support of: Java, Flash, RealG2 reader, Quicktime reader, WMA reader, PDF reader (need to add some HTML tags in index page).Cluster report for load balanced servers ratio.AWStats also supports the following features:Can analyze a lot of log formats: Apache NCSA combined log files (XLF/ELF) or common (CLF), IIS log files (W3C), WebStar native log files and other web, proxy, wap or streaming servers log files (but also ftp or mail log files).Works from command line and from a browser as a CGI (with dynamic filters capabilities for some charts).Update of statistics can be made from a web browser and not only from your scheduler.Unlimited log file size, support split log files (load balancing system).Support ‘not correctly sorted’ log files even for entry and exit pages.Reverse DNS lookup before or during analysis, support DNS cache files.Plugin for country detection from IP location (use geoip country database or client domain name).Plugin for city detection from IP location (use geoip city database).Plugins for US/Canadian Region , ISP and/or Organizations reports (require non free third product geoipregion, geoipisp and/or geoiporg database).WhoIS links.A lot of options/filters and plugins can be used.Multi-named web sites supported
2025-04-10I've been attempting this for two weeks and I've accessed countless number of sites on this issue and it seems there is something I'm not getting here and I'm at a lost. I manged to figure out how to merge logs from two servers together. (Taking care to only merge the matching domains together)The logs from the first server span from 15 Dec 2012 to 8 April 2014 The logs from the second server span from 2 Mar 2014 to 9 April 2014I was able to successfully merge them using the logresolvemerge.pl script simply enermerating each log and > out_putting_it_to_fileLooking at the two logs from each server the format seems exactly the same. The problem I'm having is producing the stats page for the logs. The command I've boiled it down to is /usr/share/awstats/tools/awstats_buildstaticpages.pl -configdir=/home/User/Documents/conf/ -config=example.com awstatsprog=/usr/share/awstats/wwwroot/cgi-bin/awstats.pl dir=/home/User/Documents/parced -month=all -year=all -update -buildpdfIn the conf directory I have a filed called: awstats.example.com.conf # Name of the logfile LogFile=/home/User/Documents/MergedStats/merged_example.com_access_log LogType=W LogFormat=1 SiteDomain="example.com" HostAliases="REGEX[example\.com$] " etc...Everything Seems in order but the generated stats only show stats from 2 Mar 2014 to 9 April 2014 (The second server's data) I'm not getting the three years data's worth of the first server. At first I thought Awstats was only generating the first month of stats, but the date range is limited to the second server's stats. Even though the merge file contains all of it.What did I miss?Updatealxgomz response showed me that the files I wanted were in the dirdata directory I had made. It seems that if you do awstats on a non server it still wants to be served up so I imported those dirdata files to the server however I missing the month of January from the stats. It generated all the way back from 2012 but can't find those records... Could the server maybe not have moved the access logs yet?? Meaning does the main server access_log get parced and spread out to each sub domain by a command or does it Cpanel make all the logs at the same time?
2025-04-21