I'm trying to run a GoAccess example:
# goaccess -f access.log -o report.html --real-time-html
There's either
Parsing... [41] [0/s]
OR no output in the terminal. I wait a long time. Then CTRL+C:
^CSIGINT caught!
Stopping WebSocket server...
Maybe I'm missing a step in:
"To output an HTML report and set the WebSocket server to listen on port 7890 and localhost."
"Connection Reset" at my.ip.address.here:7890
.
I'm guessing that nginx is not involved in this, as it's logs are only showing calls to other web pages.
Is there some other configuration or logs I might want to look into?
UPDATE:
A little more clear and have gotten this far:
$ 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]
I can:
telnet domain.com 7890
Trying 45.55.xxx.xxx...
Connected to domain.com.
Escape character is '^]'.
In the browser: domain.com:7890/report.html returns Connection Reset.
Would someone clarify what this path is supposed to represent:
/usr/share/nginx/www/report.html
Is report.html
supposed to actually exist and does the path need to be to a specific place in the Server's System?