Skip to content

GoAccess log analyzer

Bill Seremetis edited this page Oct 18, 2019 · 3 revisions

https://goaccess.io - real time nginx monitoring https://goaccess.io/download + install instructions

Configuration

For BOA v4 this was needed in the ~/.goaccessrc file:

time-format %H:%M:%S
date-format %d/%b/%Y
log-format ~h{," } %v [%d:%t %^] "%r" %s %b %^ %^ "%R" "%u" %^ "%^"

Access from the terminal

goaccess -f /var/log/nginx/access.log

Access from the browser

  1. cd /var/www
  2. mkdir goaccess
  3. chmod 775 goaccess
  4. chown -R www56:www-data goaccess
  5. cd goaccess
  6. touch report.html
  7. ln -s report.html index.php
  8. goaccess -f /var/log/nginx/access.log -o report.html --real-time-html
  9. cd /var/aegir/config/server_master/nginx/vhost.d
  10. copy adminer vhost file to a goaccess vhost file
  11. Edit file and modify the domain as required.

Enjoy realtime nginx monitoring!