GoAccess is a real-time ncurse weblog analyzer and interactive viewer. Contrary to Awstats and other similar product, GoAccess doesn’t keep any “history”, but in exchange it’s way more faster. Having ‘on the fly’ HTTP statistics is extremely useful when load suddenly increase on a front webserver.
For analyzing a given log file use the
-f option, like this:
goaccess -f /var/log/apache/access.log
If you don’t use standard NCSA or common log format, you can specify the log format with
--log-format=. For a more permanent solution you can redefine the
log-format value inside the
/etc/goaccess.conf setting file.
You can also generate an html report like this:
goaccess -f /var/log/apache/access.log -a -o report.html