Created
April 22, 2019 22:44
-
-
Save kyletaylored/b101ac8ec57e169e7e28528ebb444275 to your computer and use it in GitHub Desktop.
Combine access.log files and run GoAccess report at the same time.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input="goaccess.log" | |
output="goaccess.html" | |
touch $input | |
for var in "$@" | |
do | |
cat $var >> $input | |
done | |
goaccess $input -o $output --log-format=COMBINED |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment