goaccess为apache,ngix日志分析工具,仅支持linux系统,windows下安装需要使用cygwin
goaccess.io/
 goaccess-1.
1、下载cygwin
 win/
2、Cygwin国内镜像地址
 mirrors.sohu/cygwin/
3、在cygwin中需要安装的包
 goaccess.io/faq#installation
libGeoIP-devel           | GeoIP2 C library
libncurses-devel         | Terminal display library
libncursesw10            | Terminal display library (wide-character)
gcc-core (C)             | GNU Compiler Collection
make                     | make utility
automake                 | GNU Makefiles
gettext                  | GNU Gettext
automake wrapper scripts | wrapper scripts for automake and aclocal
官方给出的安装步骤如下:
$ wget access.io/goaccess-1.
$ tar -xzvf goaccess-1.
$ cd goaccess-1.2/
$ ./configure --enable-utf8 --enable-geoip=legacy
$ make
# make install
在cygwin中按照上述方式安装不成功,需要去掉参数:--enable-geoip=legacy,命令如下:
$ ./configure --enable-utf8
1、交互模式报告
goaccess access.log
2、html报告
goaccess access.log -a -o report.html
3、指定多个日志文件
goaccess access.log access.log.1
goaccess access*.log
 
github/allinurl/goaccess
本文发布于:2024-09-24 17:43:00,感谢您对本站的认可!
本文链接:https://www.4u4v.net/it/1727171010437131.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
| 留言与评论(共有 0 条评论) |