allinurl / goaccess

GoAccess is a real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems or through your browser.
https://goaccess.io
MIT License
18.38k stars 1.11k forks source link

[Help] Need real-time-html report #2186

Closed JoelDivekar closed 3 years ago

JoelDivekar commented 3 years ago

Recently started using goaccess for our apache base website. We are able to get console running and even was able to generate static HTML page. But again whenever I try to generate report in HTML either static or relatime it shows Websocket interface. Wereas would like to automate a process to generate real-time-html report which runs in background as a daemon or system service. Please can you guide. If this is answered already then please excuse me and share the link for me to refer.

allinurl commented 3 years ago

I'm not sure I follow, but if you are interested in running goaccess in the background, you could run it as:

goaccess access.log --log-format=COMBINED --daemonize

Or you could do it through systemd, e.g., #1898

Let me know if that helps.

JoelDivekar commented 3 years ago

Yes, I did that exactly and it is working fine. But I may have to set it up as a service which will auto start with system reboot. Thanks a lot @allinurl

allinurl commented 3 years ago

Glad to hear you got it to work :)

Feel free to reopen it if needed.