Page 1 of 1

GoAccess combine all server logs in Ubuntu Server using apache

Posted: Wed Mar 25, 2020 5:04 am
by Administrator
You can combine all the apache server logs with a single command. This will look for all matching logs in the log directory.

Code: Select all

zcat -f /var/log/apache2/* | goaccess -o /var/www/html/ --real-time-html --log-format=COMBINED
change with your own virtual host name, as defined in the apache config.