Some cat with awk and then sort to find out what ips are most common in your apache access.log file. Remember that all ips are include here. Bots, crawlers, clients…
cat /path/to/log | awk '{print $3}' | sort | uniq -c | sort -rn | head -20
Some cat with awk and then sort to find out what ips are most common in your apache access.log file. Remember that all ips are include here. Bots, crawlers, clients…
cat /path/to/log | awk '{print $3}' | sort | uniq -c | sort -rn | head -20