Created
July 1, 2015 14:47
-
-
Save mrpatrick/bd26a1b49d713c538ef7 to your computer and use it in GitHub Desktop.
Find all robot user agents in logs, sort by hits
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
cat access_log | awk -F\" '{print $6}' | sort | uniq -c | sort -n |grep bot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment