Last active
July 12, 2019 15:24
-
-
Save thomashartm/cff13f888e4985cbabaa74ec55539ad7 to your computer and use it in GitHub Desktop.
Pulls out requests in the format METHOD PATH STATUSCODE SIZE from AEM access.log
This file contains hidden or 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
#!/bin/bash | |
# Use this script to pull out all requests in the format METHOD PATH STATUSCODE SIZE from AEM access.log | |
# An entry will look as follows: | |
# GET /content/we-retail.html 200 45673 | |
cat access.log* | tr -d - | cut -d\" -f2,3 | sed 's/ HTTP\/1.1//' > issued-requests.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment