Created
August 27, 2014 02:12
-
-
Save mbylstra/415501b38544d1e6db02 to your computer and use it in GitHub Desktop.
show me nginx access.log 500's with surrounding 10 lines.
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 $9, $7}' access.log | grep -C 10 '^500' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment