diff --git a/playbooks/periodic/goaccess.yaml b/playbooks/periodic/goaccess.yaml index 9b0dce80fc..90f3a207b3 100644 --- a/playbooks/periodic/goaccess.yaml +++ b/playbooks/periodic/goaccess.yaml @@ -55,6 +55,6 @@ SOURCE_FILE="/var/log/apache2/{{ goaccess_site }}_access.log" # This pipes in all the compressed logs as well as the current # uncompressed logs. Giving us a window as wide as our log retention. - zcat ${SOURCE_FILE}.*.gz | goaccess -o $OUT_FILE -p /home/zuul/goaccess.conf $SOURCE_FILE ${SOURCE_FILE}.1 - + ( cat ${SOURCE_FILE}{,.1} ; zcat ${SOURCE_FILE}.*.gz ) | goaccess -o $OUT_FILE -p /home/zuul/goaccess.conf - args: executable: /bin/bash