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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
17 views

AWStats a network drive

I am running AWStats from a NAS networked drive on a Windows network. The apache sever log files are also on the NAS network drive and the path includes the network drive letter along with locations ...
Leora's user avatar
  • 1
1 vote
1 answer
207 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 ...
Raj R's user avatar
  • 13
0 votes
1 answer
66 views

how to create a script shell command

Hi evry one can someone help me to get this command with scrit shell ? root@VPS:/work# cpan Loading internal logger. Log::Log4perl recommended for better logging CPAN.pm requires configuration, but ...
Rayen Ben Said's user avatar
0 votes
1 answer
107 views

What do the numbers mean in awstats report? [closed]

Under the "Links from an Internet Search Engine" in "Connect to site from" section, there are lines like Google .com 0 / 24 What does the number 0 and 24 mean?
William's user avatar
  • 99
0 votes
1 answer
402 views

Awstats + Postfix logs - no senders/recipients?

I am trying to configure awstats (v7.6 from repo on Ubuntu 18.04) to process postfix log files. But I don't have much log data to work with. Awstats is reporting that it has processed the data and the ...
symcbean's user avatar
  • 21.5k
0 votes
1 answer
654 views

Is it possible to specify the same availability zone as my EBS storage when creating a new EC2 instance?

Right now I have an EBS storage volume in the us-east-2b availability zone. However, I have some code that is automating the process of creating an instance and it's using us-east-2 as its ...
LewlSauce's user avatar
  • 151
0 votes
1 answer
50 views

how to create Ec2 instance with (windows 2019 cup 1 Ram 32 Gb internet speed 20000 MBPS)

I have to create a aws ec2 instance with network speed 20000 MBPS. like when i take rdp and check network speed on speed test , my speed should be 20000MBPS.
Alok Singh's user avatar
0 votes
1 answer
281 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 ...
Olivier Pons's user avatar
0 votes
1 answer
80 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.) ...
halfbit's user avatar
  • 121
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 ...
onigame's user avatar
  • 131
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 ...
John's user avatar
  • 49
1 vote
0 answers
449 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 ...
Happy's user avatar
  • 111
0 votes
2 answers
4k 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 ...
Tim's user avatar
  • 31.9k
3 votes
0 answers
241 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"...
LeoD's user avatar
  • 131
0 votes
1 answer
1k 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....
cptPH's user avatar
  • 163
-1 votes
1 answer
485 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 ...
Kostiuk Aleksandr's user avatar
0 votes
1 answer
526 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 ...
GeoffAtkins's user avatar
1 vote
1 answer
670 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 ...
jakobS's user avatar
  • 13
0 votes
0 answers
256 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 ...
SpliFF's user avatar
  • 404
1 vote
0 answers
577 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 ...
Lukas's user avatar
  • 113
1 vote
1 answer
431 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 ...
Brandon's user avatar
  • 11
0 votes
1 answer
135 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 ...
Amandasaurus's user avatar
  • 31.6k
0 votes
1 answer
308 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? ...
d.lanza38's user avatar
  • 357
0 votes
0 answers
57 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:...
uzsolt's user avatar
  • 286
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" ' '"$...
liz's user avatar
  • 31
2 votes
0 answers
477 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/...
Synchro's user avatar
  • 3,148
1 vote
2 answers
60 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 ...
Francesco's user avatar
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 ...
DevDavid's user avatar
2 votes
0 answers
587 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 ...
Jeremy's user avatar
  • 251
0 votes
1 answer
108 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 ...
aron.duby's user avatar
  • 101
0 votes
1 answer
268 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/...
ohho's user avatar
  • 1,005
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 ...
fizzy drink's user avatar
0 votes
1 answer
671 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? ...
fizzy drink's user avatar
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 ...
alexus's user avatar
  • 13.1k
0 votes
3 answers
1k 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 ...
Matt Beckman's user avatar
  • 1,502
0 votes
1 answer
114 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, ...
Antonis Christofides's user avatar
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 ...
Pikk's user avatar
  • 339
-1 votes
1 answer
443 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 ...
greg's user avatar
  • 169
1 vote
0 answers
144 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 ...
Christos Hayward's user avatar
0 votes
1 answer
265 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=...
Shirker's user avatar
  • 579
0 votes
1 answer
599 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 ...
Mallow's user avatar
  • 144
0 votes
1 answer
10k 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. ...
Lewis's user avatar
  • 21
0 votes
3 answers
220 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 ...
Dan's user avatar
  • 281
-1 votes
1 answer
227 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-...
Bernhard Hiller's user avatar
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/...
David's user avatar
  • 167
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 ...
koogee's user avatar
  • 181
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 ...
Deepak Deore's user avatar
1 vote
1 answer
338 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 ...
Ben Racicot's user avatar
0 votes
1 answer
364 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 ...
pnanvuma's user avatar
-2 votes
1 answer
3k 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....
Peter White's user avatar