我正在尝试运行一个GoAccess示例:
# goaccess -f access.log -o report.html --real-time-html
要么有
Parsing... [41] [0/s]
或者终端没有输出。我等了很久。然后 CTRL+C:
^CSIGINT caught!
Stopping WebSocket server...
也许我错过了一步:
“输出 HTML 报告并将 WebSocket 服务器设置为侦听端口 7890 和 localhost。”
中的“连接重置” my.ip.address.here:7890
。
我猜 nginx 不参与其中,因为它的日志只显示对其他网页的调用。
我可能想查看其他一些配置或日志吗?
更新:
更清楚一点,已经走到了这一步:
$ sudo goaccess -f /var/log/nginx/access.log.1 -o /usr/share/nginx/www/report.html \\
--real-time-html --ws-url=domain.com
Parsing... [84] [0/s]
我可以:
telnet domain.com 7890
Trying 45.55.xxx.xxx...
Connected to domain.com.
Escape character is '^]'.
在浏览器中:domain.com:7890/report.html 返回连接重置。
有人会澄清这条路径应该代表什么:
/usr/share/nginx/www/report.html
应该实际存在并且路径是否report.html
需要到达服务器系统中的特定位置?