Created
June 26, 2017 07:44
-
-
Save gsouf/8634874aca7cf3cbd321595dc6408239 to your computer and use it in GitHub Desktop.
Aggregate apache logfile by useragent
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
awk -F\" '{arr[$6]++}END{for(a in arr) print arr[a], a}' access.log | sort -n |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment