GoAccess-Apache日志实时分析工具

On 2010年12月6日, in soft, by netoearth

GoAccess 是一个用来统计 Apache Web 服务器的访问日志的工具,可即时生成统计报表,速度非常快。
300M的日志10秒就分析完了。在网站被攻击的时候用于快速定位非常有用。
在Centos下的安装步骤如下:

# yum search glib2
# yum install GeoIP-devel.x86_64
# wget http://jaist.dl.sourceforge.net/project/goaccess/0.4/goaccess-0.4.tar.gz
# tar zxvf goaccess-0.4.tar.gz
# cd goaccess-0.4
# ./configure
# make
# make install

用法:

# goaccess -f /var/log/httpd/access_log

GoAccess is an open source real-time Apache log analyzer and interactive viewer that runs in a terminal in *nix systems. It provides fast and valuable HTTP statistics for system administrators that require a visual server report on the fly.

web log analyzer - goaccess

Comments are closed.