我最近安装了awstats 7.3,但是我通过它的web界面查看报告时遇到了麻烦。 网页界面显示“从不更新”,所有的数据是空的和/或零。 不过,我可以使用awstats_buildstaticpages.pl命令生成具有有效数据的静态报告。 更新运行的输出如下所示: $ sudo /usr/local/awstats/wwwroot/cgi-bin/awstats.pl -update -config=www.mysite.com -configdir=/etc/awstats/ Create/Update database for config "/etc/awstats/awstats.www.mysite.com.conf" by AWStats version 7.3 (build 20140126) From data in log file "/var/log/httpd/access_log"… Phase 1 : First bypass old records, searching new record… Direct access after last parsed record (after line 566848) Flush history file on disk (unique hosts reach […]
当通过pipe道读取一个icecast日志来过滤掉一个虚拟主机时,我从AWStats 7.2 cron作业(在Ubuntu 14.04上,使用了stock awstats软件包)得到这个错误: Error while processing /etc/awstats/awstats.mysite.conf Create/Update database for config "/etc/awstats/awstats.mysite.conf" by AWStats version 7.2 (build 1.992) From data in log file "grep '\/mysite' < /var/log/icecast2/access.log |"… Phase 1 : First bypass old records, searching new record… Searching new records from beginning of log file… Error: Command for pipe 'grep '\/mysite' < […]
我有AWStats运行两个应用程序,并没有显示操作系统 。 而只显示“未知”(100%) 。 所有其他统计数据解释正确,只有操作系统出现问题。 在这里我的configuration: AWStats v。7.5(相同的7.1) Perl诉5.16 IIS 7 这里是一个示例日志 ,用作上面日志格式的input。 为了看得更清楚,我插入了换行符。 %time2 %other %other %logname 2016-05-11 00:31:51 W3SVC7 <Servername> %other %method %url %other %other %logname %host %other <SIP> GET <URL> – 443 – <ClientIP> HTTP/1.1 %ua %other Mozilla/5.0+(Windows+NT+6.1;+WOW64;+Trident/7.0;+rv:11.0)+like+Gecko – %referer %other %code %other %other %bytesd %other %other <cookie> <domain> 200 0 0 […]
我正在尝试为Centos 7上的网站configurationAwstats。 目前一切工作正常(我可以看到统计数据,关键字,页面点击等),但是Awstats上有一个部分读取“HTTP状态代码”,在这个标题下有一些代码,如404,301等。 我可以点击链接,我可以打开每个状态码的页面,但是对于所有的HTTP代码,这个列表是空的。 当我打开我的网站的日志,我可以看到404被logging在那里。 为什么他们不在Awstats上显示? 什么可能是错的? 我感谢任何帮助。 谢谢,莱昂纳多
我们在读取access.log文件的AWStats后台作业上遇到了麻烦: awstats.pl脚本花费了24小时以上 ,似乎永远不会结束。 我们有一个每天浏览量超过800万页的网站,每天生成一个2 GB Apache access.log文件。 下面是我们试图手动运行awstats.pl脚本时的命令日志: root@hostname:~# /usr/lib/cgi-bin/awstats.pl -config=org.mysite -update Create/Update database for config "/etc/awstats/awstats.org.mysite" by AWStats version 7.4 (build 20150714) From data in log file "/var/log/apache2/org.mysite-access.log"… Phase 1 : First bypass old records, searching new record… Direct access to last remembered record is out of file. So searching it from beginning of […]
我和我的同事正在努力寻找AWStats的一个奇怪问题的解决scheme。 几个月前,我们把生产环境从CentOS移到Ubuntu 14.04。 从那以后,Referrers部分不再显示浏览器/外部页面访问,而Search关键字和search关键字部分是空的。 你有什么线索可能导致这个? 这里是我们目前的软件版本: Ubuntu 14.04内核3.13.0-108-generic Apache2:2.4.10 Perl:5.18.2 Awstats:6.6 build 1.887 Apache2日志configuration: LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common LogFormat "%{Referer}i -> %U" referer LogFormat "%{User-agent}i" agent CustomLog /var/log/apache2/access.log combined Awstats日志configuration: LogFile="/var/log/apache2/access.log" LogFormat=1“LogType=W` LogSeparator=" " 从日志中提取: 109.239.235.240 – – [31/Aug/2017:12:52:19 […]
我有几个网站纯粹在IIS7.5上运行(在ASP.NET中创build),我想对他们进行一些统计。 现在我曾经有过webalizer和awstats作为日志分析后的工具,但是它已经很老了,我宁愿不想在我的生产服务器上安装额外的垃圾。 有没有可以生成IIS报告的日志分析工具? 或者我坚持谷歌分析像应用程序。 我知道,webalizer生成纯HTML文件,但我希望更多的互动比。
我已经经历了一段时间的awstats文档,它似乎与Logformat失败。 我在awstats中使用以下内容, LogFormat = "%host – – %host_r %time1 %methodurl %code %bytesd %refererquot %uaquot %otherquot" (来自nginx) log_format main '$remote_addr – $remote_user [$time_local] $request ' '"$status" $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; access_log logs/access.log main; 样本点击次数: http : //pastebin.com/raw.php?i = qD9PKN52
在我们的Centos盒子上,我们有一些日志旋转的问题。 我们已经将服务器configuration为每天执行一次日志logging,并将日志保留30天。 在我们的日志文件夹中,每天都会更新文件名access_log.processed并将所有日志都推送到该文件中。 由于大部分数据已经传输到access_log.process文件,真正的旋转文件无法捕捉大部分数据。 我以为这个文件必须由webalizer或awstats创build。 所以我编辑了webalizer和awstats的每日cron作业。 在这些cron工作中注释了所有的行为。 我们根本不使用webalizer或awstats。 但今天,我发现昨天的数据被追加到access_log.processed文件。 什么是创build/更新这个文件的过程? 我怎样才能禁用它。 我想另一种方法可能是旋转.processed文件。 但首先我想着重于消除一个毫不含糊的过程。 UPDATE-1 事实certificate“psa / admin / sbin / statistics”正在更新access_log.processed。 根据这个链接http://kb.parallels.com/832我应该能够find“/etc/cron.daily/50plesk-daily”命令。 不过,每天50片的内容如下: #!/bin/sh # install_statistics /usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/DailyMaintainance/script.php >/dev/null 2>&1 # install_mysqldump /usr/local/psa/bin/mysqldump.sh >/dev/null 2>&1 # install_autoreport daily /usr/local/psa/admin/bin/php /usr/local/psa/admin/plib/report/autoreport.php –auto daily >/dev/null 2>&1 我尝试使用“nano”在autoreport.php和script.php中读取内容,但是它们都显示“ Plesk 9发行版的一部分,它不能在Plesk 9环境以外运行 ”,其余部分是乱码。 所以我注意到了下面这行: / usr / local / […]
我不想给外部公司如s3stat访问我的日志。 我知道AWS以一种AWStats可读的格式loggingS3和Cloud Front。 有没有人用AWSats来分析它们? S3stat曾经提供他们正在testing的软件的托pipe版本,但是我相信它已经停产了。 我不拘束于AWStats,我会考虑其他自己托pipe的networking日志分析软件选项。