笔记 by 车东

AWStats 7.0 发布, Linux下的安装配置使用备忘

· 日志分析|AWStats

📌 TLDR

AWStats 7.0(5 月 25 日发布)升级备忘:界面上的统计图改用 Google 图表 API(新插件 graphgooglechartapi);建议启用的插件是 tooltips、decodeutfkeys、graphgooglechartapi、geoip、geoip_city_maxmind、qqhostinfo;搜索引擎定义里去掉了 163.com、live.com 这类门户域名,避免把门户其他服务的来源误算成搜索;蜘蛛定义新增 SosoSpider、YoudaoBot、DoubanBot、FriendFeedBot 等 feed 抓取机器人。

5月25日,Eldy发布了AWStats的7.0版本,从界面上看主要的变化是很多统计图使用了Google图表API生成; awstats_70_googlechartapi.png

在Linux的安装请参考AWStats安装笔记, 此次更新后的相关配置修改都放到补充库里了; 包含chedong.com的awstats配置样例:awstats.chedong.conf 通用配置文件样例: coommon.conf 搜索引擎和蜘蛛定义更新: robots.pm search_engines.pm (需要放到lib目录下)

缺省建议启用的配置:common.conf

LoadPlugin="tooltips"
LoadPlugin="decodeutfkeys"
LoadPlugin="graphgooglechartapi"
LoadPlugin="[geoip](http://www.chedong.com/blog/archives/001182.html) GEOIP_STANDARD /home/chedong/chedong.com/cgi-bin/awstats/GeoIP.dat"
LoadPlugin="geoip_city_maxmind GEOIP_STANDARD /home/chedong/chedong.com/cgi-bin/awstats/GeoLiteCity.dat"
LoadPlugin="[qqhostinfo](http://www.chedong.com/blog/archives/001356.html)"

搜索引擎定义主要去掉了一些门户网站的域名(例如: 163.com live.com),避免了搜索服务和门户其他服务(例如: 博客)容易和搜索来源混淆的情况。
蜘蛛定义主要增加了feed抓取机器人: 
'sosospider','[SosoSpider](http://help.soso.com/webspider.htm)',
'youdaobot','[YoudaoBot](http://www.youdao.com/help/webmaster/spider/)',
'doubanbot','[DoubanBot](http://www.douban.com)',
'friendfeedbot','[FriendFeedBot](FriendFeedBot)',

AWStats 7.0的详细ChangeLog更新附后:

New features/improvements:

  • Detect Windows 7.
  • Can format numbers according to language.
  • More mime types.
  • Added geoip_asn_maxmind plugin.
  • Geoip Maxmind city plugin have now override file capabilities to complete missing entries in geoip maxmind database.
  • Added graphgooglechartapi to use online Google chart api to build graph.
  • Can show map of country to report countries when using graphgooglechartapi.
  • Part of codes was change to use more functions and have a cleaner code.
  • Added parameter to ignore missing log files when merging for a site on multiple servers where a single server may not have created a log for a given day.
  • Update robots database.

Thanks to Chris Larsen (author of most thoses changes).

Fixes:

  • Webmin module works with new version of webmin.
  • Security fix.

AWStats的详细相关更新, BTW:这个cvs的图表化统计也是Eldy的作品:CvsChangeLogBuilder。

💬 历史评论

以下 6 条评论从旧版 Movable Type 博客迁移而来。 原始评论时间:2002–2016 年。

skin food · 2010-06-09 16:13

GG的相关技术还是比百度全面


meteor · 2010-07-07 11:41

awstats的界面还是不是很友好。 我现在用 JAWStats 来调用awstats的分析结果进行显示。 但是不知道如何能支持纯正的数据库?


moqianjun_1996 · 2010-12-17 11:49

你好,我刚接触 awstats,请教您个问题 ,搭建完awstats 7后 发现显示的统计数据都比原时间错了一格。就是月显示的是11月 天显示的是15号,周显示的周三 (我设置的是今天统计前一天的日志)谢谢了


leibin · 2011-11-26 22:57

东哥你好,我的awstats7.0是安装在windows2003下面的,apache版本是1.3.37,我使用的是active perl 5.14.2这个版本的perl以cgi方式工作在apache中,目前分析操作系统不正常,总是显示“操作系统”无法得知,请问应该怎么解决?


Michael · 2012-02-21 17:25

您好,不知道能否给发个robots.pm search_engines.pm browsers.pm?我新手,新装的awstats很多浏览器(UC之类的)都识别不出来,感激不尽~


cai · 2012-04-19 17:51

东哥你好,我的awstats7.0安装后国家可以出来了,但是city那列都是 无法得知 请问这是怎么回事呢?谢谢。