Logging Geo-Spatial-Data to ELK from Python

Kibana, on paper, offers a beautiful and easy way to inspect your geo data on a dashboard widget out of the box. This is all very well until you try to use that feature from python, only to find out that the Logstash lib automatically maps all of these geo-point type fields to string. Mapping in ES is no child’s play but even solving mapping issues* didn’t completely made the problem go away.

Bypassing the entire Logstash lib though, did solve that much.

I’m releasing a simplified version of the code for free use – it’s fairly straight forward, but please proceed with caution.

 

* (1 upvote = 1 bacon)

Adam Lev-Libfeld

A long distance runner, a software architect, an HPC nerd (order may change).

Latest posts by Adam Lev-Libfeld (see all)

Logging Geo-Spatial-Data to ELK from Python

Leave a Reply

Your email address will not be published. Required fields are marked *