Last active
May 24, 2018 21:07
-
-
Save tzi/425c51086389244dfc2844d9dce19fdf to your computer and use it in GitHub Desktop.
Filter apache log to get most 404 pages
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
grep " 404 " /var/log/apache2/access.log | | |
cut -d'"' -f2 | | |
cut -d' ' -f2 | | |
sort | | |
uniq -c | | |
sort -h -r |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment