Skip to content

Instantly share code, notes, and snippets.

@kyletaylored
Created April 22, 2019 22:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kyletaylored/b101ac8ec57e169e7e28528ebb444275 to your computer and use it in GitHub Desktop.
Save kyletaylored/b101ac8ec57e169e7e28528ebb444275 to your computer and use it in GitHub Desktop.
Combine access.log files and run GoAccess report at the same time.
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