elastic / elastic/logstash

geolocator filter to lookup a string to convert to a geopoint

Open
#3,758 4 comments 0 reactions 0 assignees View on GitHub
new plugin
Dominant language
Java
Stars
14.9k
Forks
3.5k
Avg merge
19h 14m
Merged PRs (30d)
63

Description

It'd be nice to have an geolocator enrichment filter which calls something like OpenStreetMap Nominativ or something like geopy (https://pypi.python.org/pypi/geopy) which has support for multiple sources to lookup approximate longitude and latitude information. Once a string is looked up, that can be cached in memory/disk to make it fast for subsequent lookups of the same string in the same run. This is very useful for enriching datasets with addresses or city names so that we can map them easily in Kibana without people having to write their own specific filter in Ruby.

This isn't always perfect as some locations are not exact matches so we could as a second pass strip out a configured list of keywords such as (Near, Off, Over). An alternative might be that the user has a dead letter queue with the ones that haven't got a successful lookup

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.