GoAccess
Jump to navigation
Jump to search
Introduction
This page is to capture the goaccess setup.
Configuration
Well it is not too completed
apt install goacess
To configure you should create a .goaccessrc as this allows you to use zcat more easily. I gave a sample - oo matron - to copilot and they gave me
time-format %T
date-format %d/%b/%Y
log-format %h %^ %^ [%d:%t %^] "%r" %s %b "%R" "%u"
Usage
Now we can do unprompted
goaccess /var/logs/nginx/www.example.com.log
Pressing o seems to expand the data and do dns resolution. Because we have already specified out formats we can use zcat
zcat -f /var/log/nginx/www.example.com.log.2.gz | goaccess
That's it