Tag: statistics
-
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
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