Small snippet to find out ips occurring in logs