elastic / elastic/logstash

Build a filter to map geo_points

Open
#4,583 1 comment 0 reactions 0 assignees View on GitHub
help wanted new plugin
Dominant language
Java
Stars
14.9k
Forks
3.5k
Avg merge
1d 4h
Merged PRs (30d)
88

Description

Hi there,

Now that geo_point is one of the native elasticsearch types (as far as I can tell), it seems as though logstash should have a filter for this data type out of the box.

Yes, I am aware that we can manually map these types, but that's an extra step that logstash is already handling gracefully for all of the other types.

I've noticed that the Twitter input plugin maps correctly to geo_points so it should be possible in a filter as well. There are geo_point fields in the geoip section of properties in the default "logstash-*" template as well.

There is an existing issue opened about such a feature (https://github.com/elastic/logstash/issues/3291) but no one has replied to it.

Is there something holding this development back?

Thanks for the help!
James

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the existing geo_point handling in the Twitter input plugin and the geoip fields in the default "logstash-*" template. Compare that behavior with the proposed filter and review existing issue 3291 for prior context. Done means Logstash provides an out-of-the-box filter that maps geo_point data without manual mapping.

Written by the indexing model from the issue text.

Assessment

Tech stack
elasticsearch
Domain
data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.