在ubuntu下使用GoAccess分析Apache2日志

操作系统:Ubuntu16.04 LTS
Apache:2.4.18

安装goaccess

sudo apt-get install goaccess

进入你的Apache日志文件夹

我的默认是在/var/log/apache2/

进入

cd /var/log/apache2/

运行GoAccess

goaccess -f access.log

在这里插入图片描述按空格后回车即可查看日志
在这里插入图片描述
按方向键“↓”即可滚动界面,查看更多内容。

猜你喜欢

转载自blog.csdn.net/weixin_43599336/article/details/86533550