Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save convenient/459cbf6649bb73dd7343340cf6e145f8 to your computer and use it in GitHub Desktop.
Save convenient/459cbf6649bb73dd7343340cf6e145f8 to your computer and use it in GitHub Desktop.
apache access log group by iP
cat /var/log/httpd/access.SSL.log | awk '{print $1}' | sort -n | uniq -c | sort -nr | head -20
@convenient
Copy link
Author

convenient commented Mar 21, 2017

@convenient
Copy link
Author

grep -E "GET /(.*)/shop-by/(.*) HTTP" 7am.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment