Use this file to geocode IPs from logfiles and draw them on a map.
This script requires geocoder
to be installed, so setup a virtualenv:
$ virtualenv --python=python3 venv
$ source venv/bin/activate
$ pip install -r requirements.txt
Pass your logfile into the script and pipe the results to a html file:
$ python3 geocode.py logs.txt > map.html
Open the html file in your browser.