Last active
August 29, 2015 14:15
-
-
Save deevis/3d34499cd441fe3f3375 to your computer and use it in GitHub Desktop.
Show requests by IP address from NGINX access log (for a particular day)
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
grep "19\/Feb\/2015" /var/log/nginx/access.log.1 | sed 's/\(.*\) - - .*/\1/g' | sort | uniq -c | sort -n |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment