Created
October 25, 2021 10:16
-
-
Save davepullig/595c9e3ff78d609fb7e69f5f335f846f to your computer and use it in GitHub Desktop.
Totals for hit/miss/bypass etc when using DM's modified log format
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
awk '{print $3}' ~/logs/access.log | sort | uniq -c | sort -r |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Most common un-cached URLs:
grep ' MISS \| - - ' access.log | cut -d " " -f 8 | sort | uniq -c | sort -n -r -s | head -n 20