nginx日志统计分析自动报表工具goaccess

《nginx日志统计分析自动报表工具goaccess》

官网: https://goaccess.io/download

网站总访问量统计,按天统计访问量,按页面(不同URL)统计访问量(不包括JS、css),按静态页面统计访问量(包括JS、css),不存在的页面统计访问量
按不同的IP统计访问量,按不同的操作系统统计访问量,按不同的浏览器统计访问量,按时间段(小时为单位)统计访问量,按从哪里链接过来(从哪个网站跳过来)统计访问量
按HTTP状态码统计访问量,按洲统计访问量

安装

$ cd /usr/local
$ wget https://tar.goaccess.io/goaccess-1.4.6.tar.gz
$ tar -xzvf goaccess-1.4.6.tar.gz
$ cd goaccess-1.4.6/
$ ./configure --enable-utf8 --enable-geoip=mmdb
$ make
# make install


//如果出现提示:Missing development files for libmaxminddb library 原因是未安装ip地图包,解决方法如下:
$ wget https://github.com/maxmind/geoip-api-c/releases/download/v1.6.11/GeoIP-1.6.11.tar.gz
$ tar -xzvf GeoIP-1.6.11.tar.gz
$ cd GeoIP-1.6.11
$ ./configure
$ make
$ make install

配置

参考:

https://blog.csdn.net/liaowunonghen/article/details/104756227

点赞

发表评论

邮箱地址不会被公开。 必填项已用*标注