Last active
August 29, 2015 14:04
-
-
Save vxf/fef72cb63eb6368e2b5c to your computer and use it in GitHub Desktop.
Top 10 hours in the apache log with 500 errors
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
cat other_vhosts_access.log | awk '$10 == 500 { print $5 $6}' | grep -o -e "../.../....:.." | sort | uniq -c | sort -r -n -k 1,1 | head -n 10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment