Parse Apache access logs to get all ips

Don’t use it as a way to count visits, as all these ips are not real visits, but bots, crawlers, etc. 
cat access.log | grep -o '\([0-9]\{23\}.\)\{3\}\.[0-9]\{23\}' | sort | uniq | wc -l


Posted

in

by

Tags: