Main menu

User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active
 

What you'll need:

Starting out

You'll need to write a script to take the data you have from your own IP database and output the data to match the CSV data. You'll need to ensure you map your physical locations to a location as listed in the GeoLiteCity-Location.csv file - Feel free to add your own as required.

The output of your script should match:

"IP start range in INT notation", "IP end range in INT notation","Location ID from GeoLiteCity-Location.csv" 

Finally, after you concat the original data and your data, you'll run the mmutil tool: csv2dat.py

Gotchas:

mmutils does nothing about duplicate IPs. You need to make sure that your input data does not over lap either already existing IPs, or itself in anyway. IE: If you have Public IP space and you want to identify where those spaces exist, you need to remove the already existing data from maxmind.

Comments   

0 #1 eravion 2014-08-21 15:10
Thanks for this article, I was looking for it since days …
And it works, I can have Bettermap on Kibana with my private IP (operator network)
Quote

Add comment


Security code
Refresh