Created
May 12, 2011 14:10
-
-
Save timmow/968567 to your computer and use it in GitHub Desktop.
Find 404s in an access log and order by most occurences
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
cat access.log | perl -lane 'print $F[9] . " " . $F[7]' | grep 404 | sort | uniq -c | sort -b -g |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment