Questions tagged [awstats]
AWStats is an open source Web analytics reporting tool, suitable for analyzing data from Internet services such as web, streaming media, mail and FTP servers.
119
questions
53
votes
3
answers
145k
views
Do I need to restart my server after editing fstab and mtab?
I'm just wondering if I need to restart my server after editing fstab and mtab. I changed something in this file manually due to problem with awstats report.
I am using ISPConfig 3 with the help of ...
24
votes
2
answers
24k
views
How to analyze multiple gz log files for Awstats?
I am pretty new to awstats and have configured Awstats on my apache webserver to analyze nginx access logs(nginx webserver is for my django app), I am able to take the stats from LogFile=/var/log/...
11
votes
1
answer
7k
views
Should I use cron.hourly or crontab?
It seems that all the suggestions for using/scheduling awstats is via crontab, as such:
0 * * * * /usr/local/awstats/wwwroot/cgi-bin/awstats.pl -config=mysite -update >/dev/null (running awstats ...
8
votes
1
answer
4k
views
Getting AWStats to work in Ubuntu 12.04
I'm new to apache and i'm trying to set up AWStats on my ubuntu 12.04 server. I've followed the guide at Ubuntu docs.
I set it up according to the instructions and awstats is able to generate initial ...
6
votes
1
answer
3k
views
Analyze HTTP logs, looking for iOS
I am currently using AWStats to analyze the apache logs for a server that redirects links, etc from iOS apps to the app store (so we can track clickthrough). In AWStats, however, all of this traffic ...
5
votes
1
answer
2k
views
Awstats: awstats_buildstaticpages.pl only builds 1 report, not full reports
I remember running this command before and it used to build all the pages, but now that I use it again it only builds the main page.
(new lines for readability)
/usr/share/awstats/tools/...
5
votes
3
answers
3k
views
AWStats and Time Taken to serve the Request
I have several IIS 6 web servers I manage and I turn on the time-taken field in the logs. I use AWStats to generate various reports from the log data. One of my developer counterparts has recently ...
5
votes
2
answers
3k
views
Webstats for large Amazon S3/Cloudfront logs?
I'm trying to find a way to parse our Amazon S3 access logs to get some webstats.
I've been trying to use AWStats 7, but I got to the point of where after day 9 of a given month it can't process any ...
4
votes
2
answers
1k
views
AWStats not showing anymore Referrers / Keywords /keyphrases
Me and my colleagues are struggling to find a solution over a strange problem with AWStats. Some months ago, we moved a production environment from a CentOS to an Ubuntu 14.04. Since then, the ...
4
votes
1
answer
216
views
AWStats combine page URLs
I'm running AWStats on a Rails site with nginx and I have pages that are accessed like this
http://mysite.com/order/receipt/[receipt_tag]
I'd like for AWStats to show those as x hits for page /order/...
3
votes
5
answers
2k
views
Log analyzer that calculates "time on page"?
I need to get an idea of the average "time on page" or "page view duration" for each page on my websites without client-side scripting (such as using onunload event handler).
Is any of the free log ...
3
votes
2
answers
2k
views
Manually create dnscache.txt for AWStats
According to the docs for AWStats:
AWStats can do reverse DNS lookups through a static DNS cache file
that was previously created manually.
Searching through the docs, as well as a fair bit of ...
3
votes
0
answers
255
views
Awstats - the 'HTTP Status codes' information is missing. How to fix?
I'm trying to configure Awstats for a website on Centos 7.
Currently everything works fine (I can see stats, keywords, page hits, etc.), but there's a section on Awstats that reads "HTTP Status codes"...
3
votes
1
answer
1k
views
awstats can't parse my log
I want to use AwStats to parse nginx access logs.
The specified nginx log format is
'$remote_addr - $remote_user [$time_local] $status '
'"$request" $body_bytes_sent "$http_referer" '
'"$...
3
votes
1
answer
2k
views
Awstats - how to disable the robots detection?
I can read here that Awstats detects robots/spiders "Report/Filter robots (nb detected)".
Here is a quote from that page:
AWStats can detect robots visits: All robots among the most common are ...
2
votes
1
answer
2k
views
nginx: rewrite URL but have original URL stored in access.log as 200
I'm setting up a link tracking system, which (temporarily) involves adding /link/id/ in front of URL (like http://server/data/id/publication/id/).
rewrite data/id/(.*) http://server/$1;
The request ...
2
votes
1
answer
1k
views
securing awstats with htaccess
I'm trying to configure awstats in a way that I have a site that is not authenticated, and another site that is authenticated.
More specifically
domain/awstats/awstats.pl?config=X shouldn't be ...
2
votes
1
answer
938
views
Can't start httpd as root
Even when running httpd as root, I get this error:
Starting httpd: (13)Permission denied: make_sock: could not bind to address [::]:100
(13)Permission denied: make_sock: could not bind to address 0.0....
2
votes
3
answers
1k
views
AWStats ignore all but one sub directory
I'm using AWStats and I want to ignore everything in a subdirectory except for a particular directory, here is the directory layout:
Webroot
-dir_1
-dir_2
--subdir_a
--subdir_b
--subdir_c
...
...
2
votes
1
answer
2k
views
Does anyone have a config to process AWS CloudFront/S3 logs with AWStats (or similar sw)?
I don't want to give an external company like s3stat access to my logs. I know that AWS logs S3 and Cloud Front in a format readable by AWStats. Has anyone used AWSats to analyze them?
S3stat used ...
2
votes
3
answers
3k
views
Apache returns the perl script source instead of execute the script when the request comes from chrome
I've just finish to install awstats on my web server, and it runs fine using firefox. But when I try to open the awstats page with chrome, the perl source script is downloaded (instead of being ...
2
votes
3
answers
4k
views
awstats "Permission Denied", but file and directories all have permission
I'm getting this notification from awstats:
Error while processing /etc/awstats/awstats.conf
Create/Update database for config "/etc/awstats/awstats.conf" by AWStats version 7.4 (build 20150714)
From ...
2
votes
2
answers
211
views
slow speed in aswtates update
I have installed AWStates to analyze my site apache log.
I have run the update command for the first time. size of log file is 250M.I run it about 10 mins ago and it is still working.
Is this slow ...
2
votes
1
answer
210
views
Using awstats with a round-robin DNS configuration
I have a website with multiple web servers whose access is controlled via a round-robin DNS. We currently use Google Analytics for site traffic monitoring but were looking to move to awstats due to ...
2
votes
2
answers
1k
views
Can AWStats show bounce rate?
I'm looking for a web log analyzer that can report on bounce rate. We have used AWStats in the past as it is free and works well; however, I don't think it can report on bounce rate.
Bounce Rate - % ...
2
votes
0
answers
494
views
AWStats error: command for pipe failed
I'm getting this error from AWStats 7.2 cron job (on Ubuntu 14.04, using stock awstats package) when reading an icecast log via a pipe to filter out one vhost:
Error while processing /etc/awstats/...
2
votes
0
answers
627
views
Awstats web interface shows 'Never Updated', but will generate static reports
I recently installed awstats 7.3, but I'm having trouble viewing reports through its web interface. The web interface shows "Never updated" and all the data is empty and/or zeros. However, I am able ...
2
votes
0
answers
644
views
awstats does not detect iphone or ipad from the HTTPD logs
I'm trying to use awstats to identify number of requests that originated from ipad and iphone. I tried the following URL but none of the steps to recognize ipad/iphone or even iOS work for me:
...
2
votes
1
answer
220
views
How can I grab the stats of load-balanced servers?
I've got two servers with IIS 6 and I have to set up a statistics report for the website that is hosted in both servers. load balanced.
Tried AW Stats but it is a pain.
I'm using SmarterSTATS now , ...
2
votes
1
answer
1k
views
In AWStats, is there a way to exclude certain urls counting towards counting as pages, but still count as hits
AWStats distinguishes the difference between a page and a hit in it's web log stats.
To accomplish this, there is a configuration option to identify certain file extensions as hits, but not pages. ...
1
vote
2
answers
2k
views
Nginx, awstats and request time
How can I tune nginx to write request time to logs such that awstats can show time taken for each request?
Also, how can I see requests by time taken in awstats?
This is the current format
...
1
vote
6
answers
542
views
Web Statistics Software or Analytics?
Do you use web statistics software like Awstats, Weblizer etc... (any other popular ones?)
Or do you prefer to use Google Analytics and embed the JavaScript in each page?
1
vote
3
answers
2k
views
Is blocking unresolved IP addresses a good idea?
I have a Website where :
We currently have a lot of bots trying to grab our content (it's a
business directory) from China, Ukraine, etc...
5% of IP addresses are "unresolved", according to ...
1
vote
4
answers
640
views
How to get Awstats to ignore me
I am using awstats to log my server traffic and am very pleased. One problem is that I am traveling a lot and I do not want my traffic counted in awstats.
Do you have any good idea on how I can ...
1
vote
1
answer
124
views
Alter an existing logrotate file on package install
I have created a debian package that sets up awstats and the required scripts for a couple of hostnames in a server I have.
My problem is with logrotate, I already update the stats with a cron job I ...
1
vote
2
answers
2k
views
AWStats log format for tomcat access logs which has X-Forwarded-For
What should be the AWStats log format for below tomcat access logs ?
I tried these formats but the external IP addresses are not coming into AWStats reports.
LogFormat="%host %other %logname %time1 ...
1
vote
1
answer
720
views
how to get rid of awstat www-data daemon?
I have successfully installed awstats on my webserver. I have created a cron job that runs as root every third hour. And it works perfectly, but i keep receiving "mails" every 10 minutes saying that ...
1
vote
1
answer
446
views
AWStats and proftpd | AWStats never updates
AWStats never updates when parsing my proftpd log file.
Here's what I get :
[root@localhost ~]# /usr/share/awstats/www/awstats.pl -config=ftpcnam:2121 -update
Searching new records from ...
1
vote
2
answers
2k
views
Awstats: Combine HTTP and HTTPS logs
Plesk keeps the configuration files for AWStats in the following folder:
/usr/local/psa/etc/awstats
At the end of the configuration files for the domain for HTTP+S is the following line for custom ...
1
vote
2
answers
931
views
Apache log general analyzer with vhosts
I'm using Apache in Ubuntu with several vhosts created, all pointing to the same access log. I'm already login the virtual host domain.
I'm looking for a way to have statistics reports that shows ...
1
vote
3
answers
3k
views
Missing icons after migration of awstats
I migrated awstats from one server to another, and I copied the old stats and configuration. I had to change apache log directory but it seems it is working: http://permaculture.org.au/awstats/awstats....
1
vote
2
answers
594
views
Setting up AWStats for a domain so it is accessed not from the domain
The AWStats setup instructions I have seen specifiy how to set up apache so you can view the statistics for each site by going to something like:
http://www.mydomain.com/awstats
Does anyone know how ...
1
vote
2
answers
3k
views
How to exclude local traffic from AWStats reports?
I have AWStats configured to run on my website, but I would like it to exclude hits coming from myself (localhost) that are seen as originating from these ip addresses:
127.0.0.1
192.168.0.1
How can ...
1
vote
2
answers
64
views
awstats server in dynamic infrastructure
I have a linux server dedicated to awstats. This server hosts awstats application and generate/publish statistics for several websites hosted by several webservers deployed in my infrastructure.
In ...
1
vote
1
answer
4k
views
Unable to install awstats on redhat 7 due to missing perl(LWP::UserAgent)
I'm unable to install awstats on my rhel7 aws ec2 instance:
[root@ip-10-146-180-60 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.0 (Maipo)
[root@ip-10-146-180-60 ~]# rpm -ivh ...
1
vote
2
answers
2k
views
AWStats process dies while processing large logs
I have really large nginx log files - as much as 250MB.
When I have ran like 10 days of the month of log files - then the next daily logs would cause my awstats to die. Like so:
/usr/lib/cgi-bin/...
1
vote
1
answer
345
views
How can I get ONLY the IP adresses from my Apache AWStats server logs?
I am having trouble getting my IP addresses from my site's server log out from amidst the mess of other data in a server log.
Before I crack open Excel I know there's a way to do it because
I found ...
1
vote
1
answer
3k
views
What process creates the access_log.processed file
We are having some problems with log rotation on our Centos box.
We've configured the server to perform a logrotation every day and keep the logs for 30 days.
In our log folder, every day a file ...
1
vote
2
answers
697
views
Awstats logformat typo?
I've been through the awstats docs for a while now, it just seems to be failing with the Logformat.
I'm using the following in awstats,
LogFormat = "%host - - %host_r %time1 %methodurl %code %bytesd ...
1
vote
1
answer
251
views
Not able to list all the images
I am trying to list all the images which has the name Ansible*.
If i can pull it off, i can use it to clean my AMI's that are created during patching activity. i am trying it via SSM Automation ...