For this simple basic common scenario, is goaccess a solution?
For example,
In /data/log/, there is a auto update file access.log (update by rsync, pull data from remote server to /data/log/access.log)
I just want to run a daemon goaccess, Monitor access.log changes in real time, and provide web access to the latest changes in the html report.
I tried to run it:
goaccess --time-format=%T --date-format=%d/%b/%Y --log-format='%h [%d:%t %^] "%r" %s %b "%R" "%u" %h %T' -o /output/log.html --real-time-html --log-file=/data/log/access.log --daemonize --port=56811 --db-path=/path/to/db/ --restore --persist --geoip-database=/path/to/GeoLite2-City.mmdb
and I found it WILL UPDATE nothing when I visit the html report.
Is there any ideas on this? How to meet this need by using goaccess?
Thanks!
Sounds like the browser is unable to reach the WS server. What output are you getting in the browser's console?