Created
October 1, 2018 16:57
-
-
Save landbryo/68814f11b287755903a077d8652fde96 to your computer and use it in GitHub Desktop.
Scan access logs for duplicate hits and list top 100
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
grep '1/Oct/2018' /var/www/vhosts/system/*/logs/access_log | awk '{print $1,$7}' | sort | uniq -c | sort -nr | head -100 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment