This guide installs GoAccess and generates a basic HTML report from your web server logs.
wget https://tar.goaccess.io/goaccess-1.9.4.tar.gz
tar -xzvf goaccess-1.9.4.tar.gz
cd goaccess-1.9.4
./configure --enable-utf8 --enable-geoip=mmdb
make
sudo make install
If you prefer, you can also install GoAccess from your distribution package manager.
For an Nginx access log:
goaccess /var/log/nginx/access.log \
--log-format=COMBINED \
-o /var/www/html/report.html
For Apache, use the corresponding access log path.
goaccess /var/log/nginx/access.log --log-format=COMBINED
Check the GoAccess documentation or reach out via our contact page.