Merge "Simplify goaccess command"
This commit is contained in:
commit
08f41a8b6b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user