Open wzhanjun opened 4 years ago
https://goaccess.io/get-started
$ wget http://tar.goaccess.io/goaccess-1.2.tar.gz $ tar -xzvf goaccess-1.2.tar.gz $ cd goaccess-1.2/ # --with-openssl项开启openssl,HTTPS时需要 $ ./configure --enable-utf8 --enable-geoip=legacy --with-openssl $ make $ make install [配置](https://goaccess.io/faq#configuration) time-format %H:%M:%S date-format %d/%b/%Y log-format %h %^[%d:%t %^] "%r" %s %b "%R" "%u"
F1 主帮助页面 F5 重绘主窗口 q 退出 1-15 跳转到对应编号的模块位置 o 打开当前模块的详细视图 j 当前模块向下滚动 k 当前模块向上滚动 s 对模块排序 / 在所有模块中搜索匹配 n 查找下一个出现的位置 g 移动到第一个模块顶部 G 移动到最后一个模块底部
goaccess access.log --log-format=COMBINED goaccess -f access.log -o output.html
https://segmentfault.com/a/1190000016383026 https://ericdraken.com/goaccess-web-log-analyzer-installation-centos/
goaccess 使用
1. 项目地址
https://goaccess.io/get-started
2. 安装
3. 操作方法
4 使用
参考
https://segmentfault.com/a/1190000016383026 https://ericdraken.com/goaccess-web-log-analyzer-installation-centos/