Skip to content

Instantly share code, notes, and snippets.

@D4edalus
Created December 24, 2017 16:04
Show Gist options
  • Save D4edalus/3238f84564d11450922ad0af71066e46 to your computer and use it in GitHub Desktop.
Save D4edalus/3238f84564d11450922ad0af71066e46 to your computer and use it in GitHub Desktop.
cat nginx-access.log | grep pingback | sed -r s/\([0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+\)\\s-\\s-\\s\\[\(.*\)\\]\\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