Tag Archives: automating

Counting IP’s on system logs with Python

This is an example script on how to count IP’s on any log. This should be run like : python count_ip.py /path/to/log and the output will be like: IP: 50.62.23.56 – COUNT: 63 IP: 189.61.20.200 – COUNT: 54 IP: 213.149.33.78 … Continue reading

Posted in Misc | Tagged , , , , , , , , , | Leave a comment