cat nginx-access.log | awk -F\" '{print $8}' | awk '{print $1}' | sort -n | uniq -c | sort -nr | head -20
Created
April 16, 2018 17:38
-
-
Save iamstoick/397e896e5c820f8601566e5b1a38428e to your computer and use it in GitHub Desktop.
Sort nginx access by total amount to visit.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment