according to the changelog, the geoip filter has a 'new setting 'add_geojson' (default true) and geojson_name (default 'location') to write a GeoJSON-friendly coordinate to your event'. However in the documentation these options aren't visible. And when I look at the code in 'lib/logstash/filters/geoip.rb', these options are neither declared nor used. The geoJSON info is added if the event contains a latitude and a longitude key.
I'm currently testing a patch I created to rectify this issue.
As mentioned in commends on #874:
Thank you for catching what I failed to clean up. :+1:
I had originally had it configurable, as your patch puts back in. But we decided we didn't want or need the extra options and removed the code. I just forgot to clean up the configuration options and documentation with them.
Will edit CHANGELOG to reflect this as well.
Probably worth mentioning that you can preview the changes with something like:
Handy for catching markdown problems.
MERGED again! Thank you!