Go access

Install:

apt install build-essential libncursesw5-dev libgeoip-dev wget https://tar.goaccess.io/goaccess-1.5.2.tar.gz tar xvzf goaccess-1.5.2.tar.gz ./configure --enable-utf8 --enable-geoip=legacy --with-openslsl make make install

Version interactive

goaccess /var/log/apache2/access.log --log-format=VCOMBINED

Version websocket:

/usr/local/bin/goaccess /var/log/apache2/access.log -o /var/www/matomo/report.html --log-format=VCOMBINED --real-os --all-static-files --agent-list --hl-header --restore --persist --db-path /var/run/goaccess --geoip-database=/usr/share/GeoIP/GeoIPCity.dat --geoip-database=/usr/share/GeoIP/GeoIPv6.dat

Log apache:

LogFormat "%v:%p %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" comonvhost
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log comonvhost

Sources

https://github.com/allinurl/goaccess/issues/1406

/usr/local/bin/goaccess /var/log/apache2/access.log -o /var/www/matomo/report.html –log-format=VCOMBINED –real-os –all-static-files –agent-list –hl-header