formatting pound logs for goaccess

The pound load balancer has different log formats depending on the LogLevel enabled, if you LogLevel 4 and then want to parse these you may need to clean them up first, below is my method.

cleanup messages fud

grep "pound" /var/log/messages | cut -d" " -f 6- | sed 's/- - //g' | sed -e 's/([^()]*) //g' | sed 's/ sec//'

goaccess configuration format apache style

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