Skip to content

Instantly share code, notes, and snippets.

@gelias
Created October 23, 2019 15:06
Show Gist options
  • Save gelias/9981814993f42f2e3e40b54b70c2ed5b to your computer and use it in GitHub Desktop.
Save gelias/9981814993f42f2e3e40b54b70c2ed5b to your computer and use it in GitHub Desktop.
cat /var/log/nginx/access.log | awk '{print $8}' | awk -F '/' '{print $4}' | awk -F 'e' '{print $1}' | sort | uniq -c | sort -n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment