Gary Kuhlmann - June 13, 2018
Sometimes I just want to see what IP address is generating the most traffic to my site. Here is the awk command to do it:
awk '{a[$1]++} END {for (i in a) print a[i],i}' [file] | sort -rnk1 | head -n 15
The command above will show the top 15 visitors, by IP address (replace [file] witht he relative path to the log you want to analyze.