GoAccess combine all server logs in Ubuntu Server using apache
Posted: Wed Mar 25, 2020 5:04 am
You can combine all the apache server logs with a single command. This will look for all matching logs in the log directory.
change davidclews.com with your own virtual host name, as defined in the apache config.
Code: Select all
zcat -f /var/log/apache2/davidclews.com* | goaccess -o /var/www/html/davidclews.com/logs/report.html --real-time-html --log-format=COMBINED