Centos下安装GoAccess分析Tomcat日志
运行goaccess输出到nginx,Tomcat日志文件applog.txt通过ftp定时上传至/var/ftp/ goaccess /var/ftp/applog.txt -o /usr/share/nginx/html/index.html -p /usr/local/etc/goaccess-tomcat.conf --real-time-html --daemonize --geoip-database=/usr/share/GeoIP/GeoLiteCity.dat 查看goaccess后台运行状态,服务端与浏览器默认通过TCP7890端口实现实时传输