Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
15 views

Configuring awstats to display multiple years

Since the beginning of January, my awstats setup only display data collected since the 1st of the year. How to configure it to show multiple years?
0
votes
1answer
24 views

Nginx log configuration doesn't forward SEO's search keywords

I'm trying to make my stats with awstats-7.7. Everything works fine. Now I'm trying to use google, type a keyword that brings me to my site. Then I trace the log to see where I come from, and the ...
0
votes
1answer
22 views

What is the reason, that I have only unknow ip, and only one visitor in my awstats report?

I installed awstats and it looks in principle ok. The only thing is, that I still have only one visitor with all the hits and only an "unknown ip" as addresses. All other thinks (OS, browser etc.) ...
0
votes
2answers
838 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
1answer
371 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 ...
1
vote
0answers
181 views

AWStats cron job 'awstats.pl' takes more than 24 hours

We have trouble on the AWStats background job reading the access.log file: the awstats.pl scripts takes more than 24 hours and it seems never ends. We have a web site which has more than 8 million ...
0
votes
2answers
2k views

AWStats log parsing - custom Nginx log format

I've installed AWStats 7.0 (the latest version in the Amazon Linux repository) to try to get additional information about bandwidth usage. I'm having trouble getting AWStats to parse my logs - I ...
1
vote
0answers
114 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"...
0
votes
1answer
794 views

Looking for LogFormat for awstats to read my custom apache logfiles

My apache-2.4 LogFormat: LogFormat "%h %l %u %t \"%r\" %>s %b ref=\"%{Referer}i\" ua=\"%{User-Agent}i\" host=\"%{Host}i\" xff=\"%{X-Forwarded-for}i\"" Sample Logfile line for reference: "10.10....
-1
votes
1answer
281 views

Log analyzer for statistics (referring sites, referrers URLs) per day

The main task of the analyzer - referring sites, referrers URLs. Logs are collected in one place from 3 nginx server. I install awstats with a specific parameter LogFormat - all working fine, but the ...
0
votes
1answer
253 views

AWStats in subdirectory of Wordpress shows 404 error when password protected

I am running (for a client) a Wordpress site on a CentOS/WHM/Apache 2.2 server, and within a subdirectory we have AWStats installed. Everything working fine until we apply password protection through ...
0
votes
1answer
297 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 ...
0
votes
0answers
75 views

Awstats is deleting existing statistics

I am seeing a problem on my server where awstats is deleting data from previous days. To be clear the data was being shown for these days up until the end of the month but then on the next month (not ...
1
vote
0answers
324 views

Awstats shows no operating system

I have AWStats running for two applications and for both no operating system is displayed. Instead only "unknown" is shown (100%). All the other stats are interpreted correctly, only the operating ...
1
vote
1answer
265 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 ...
0
votes
1answer
68 views

Using awstats to monitor/graph visitors on a server that only serves images?

I have an apache webserver that serves up images. Lots of machine generated images (i.e. not static files). It doesn't serve any serious amount of html etc. files. A user might request many images one ...
0
votes
1answer
170 views

How to change AWSTATS configuration via cli

My Apache log files have the date included in the name and I can't change this. Is there a way to change the LogFile config parameter for AWSTATS using Windows CMD prompt? Better yet a batch script? ...
0
votes
0answers
37 views

FreeBSD's built-in ftpd and awstats

How can I use awstats with the FreeBSD's built-in ftpd's xferlog? Sample lines from /var/log/xferlog (simple syslog): Sep 12 19:05:51 bsd-vps ftpd[35082]: connection from ###.###.###.### Sep 12 19:05:...
3
votes
1answer
576 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" ' '"$...
1
vote
0answers
337 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/...
1
vote
2answers
49 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
2answers
1k 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
0answers
326 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 ...
0
votes
1answer
63 views

Awstats - Update the log path for multiple configs at once

I'm running a FAMP (FreeBSD, Apache...) box and just updated Apache to 2.4. We have somewhere around 100 sites running on this box as vhosts, and they all have their own separate config file for ...
0
votes
1answer
147 views

How to config awstats to analyse .php traffics?

By default, awstats group .php traffics into a single Dynamic PHP Script file number. However, the site's pattern lies in route=??? after an index.php?, e.g.: GET /index.php?route=account/login/...
7
votes
1answer
5k 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 ...
0
votes
1answer
461 views

Delete Apache log files once Awstats is updated

in my /var/lib/awstats, awstats creates monthly .txt files (its database). Once these files are created and I have my graphics created in Awstats, can I delete the old log files created by Apache? ...
1
vote
1answer
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 ...
0
votes
3answers
931 views

AWStats LogFormat for AWS Elastic Load Balancer

Hoping someone can point out what is wrong with the LogFormat I'm attempting to use with the access logs generated by Amazon ELB. Multi-line for ServerFault readability: %time5 %elb %host %host_port ...
0
votes
1answer
98 views

awstats indicates drop in pages after move to a new server

I moved a web service to a new server. I figured out that, in the old server, the following gives approximately the same number of hits as awstats (e.g., for a given day the following gives 5537, ...
4
votes
1answer
1k 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 ...
-1
votes
1answer
313 views

What are the practices for load balancing web stats?

I'm admnistrating two servers with LAMPs which I need to set up as load balancing. I was wondering what are the best practices to deal with statistics? my two apaches will generate each their own log ...
1
vote
0answers
104 views

How can I get AWstats to segregate data for two different VirtualHosts/domains?

I want stats for two sites to be displayed separately in their AWstats page on a Debian squeeze VPS. Right now the two sites have their own *.conf files with separate VirtualHosts, and their ...
0
votes
1answer
172 views

awstats(awstats_buildstaticpages.pl) asks for /awstats./etc/awstats/ directory. how to get rid of it?

I'm trying to run awstats static pages building: awstats_buildstaticpages.pl -config=/etc/awstats/awstats.example.com -dir=/var/www/share-new/sites-prod/example.com/generated/statistics/ -awstatsprog=...
0
votes
1answer
380 views

Awstats - outputting stats for merged Access_logs only producing stats for one server's log

I'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 ...
0
votes
1answer
7k views

AWSTATS - manual update error (permissions)

Error: Couldn't open file "/var/www/awstats/awstats032014.site.net.tmp.9198" for write: Permission denied Setup ('/etc/awstats/awstats.site.net.conf' file, web server or permissions) may be wrong. ...
0
votes
3answers
155 views

Changes to AWSTATS config file

I've made a few changes to my site-specific config for Awstats, namely SkipHosts and SkipFiles. I've had a dig around the manual, but it's unclear: what do I actually need to do for the updates to ...
-1
votes
1answer
166 views

Misuse of the statistics script of Plesk? [closed]

I downloaded the log file from the web server, and found many strange entries. Why is a statistics script called so terribly often? What do all the junk referrers do there? Looks like some mis-...
1
vote
2answers
1k 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/...
6
votes
1answer
3k 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 ...
1
vote
2answers
1k 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
1answer
255 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 ...
0
votes
1answer
285 views

configuring awstats with suexec

I have a web server with more than 100 websites running apache and php as fcgid and suexec. I have configured awstats on my server(FreeBSD) following awstats installation on FreeBSD but when I try ...
-2
votes
1answer
2k views

Awstats: Why 'permission denied' reading logfile even with permissions 4777?

When I run Awstats via a web browser and click "Update now" it reports: Error: Couldn't open server log file "/var/log/httpd/domains/domain.net.log" : Permission denied Setup ('/etc/awstats/awstats....
-1
votes
1answer
144 views

Yesterday-access.log is pointing to a different directory

Under /var/log/ispconfig/httpd/quotednews.com/ folder, the yesterday-access.log is pointing to a wrong directory. yesterday-access.log is just a symlink to: /var/www/clients/client1/web2/log/20130626-...
28
votes
3answers
77k 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 ...
1
vote
2answers
676 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 ...
0
votes
1answer
232 views

Awstats over cgi does not show historical data

I have awstats for several virtualhosts, runned via cgi. One of them does not show historical data. It shows just data for this month. But runned on command line generates html with correct data. /...
0
votes
1answer
158 views

AMS Linux Instance showing wrong output for `fdisk -l` command

Recently I made an AWS AMI from scratch. Now when I log into my instance it shows below output for fdisk -l command: % sudo fdisk -l Disk /dev/xvde1: 10.7 GB, 10737418240 bytes 255 heads, 63 sectors/...
0
votes
1answer
481 views

awstats configuration for custom IIS 6 log

I have a stack of IIS logs with the extended logging options: date time client ip address user name server ip address server port method uri stem uri query protocol status protocol substatus Win32 ...