mikejsavage.co.uk / blog

RSS feed

24 Apr 2018 / GoAccess with OpenBSD httpd

httpd’s logs are pretty similar to CLF but not exactly, so you need to put this in ~/.goaccessrc:

time-format %T
date-format %d/%b/%Y
log-format %v %h %^ %^ [%d:%t %^] "%r" %s %b

And then run zcat /var/www/logs/access.log.*.gz | cat /var/www/logs/access.log - | goaccess --no-global-config.