Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Graylog's Geolocation and other string field -based data sources #276

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

jkavan
Copy link

@jkavan jkavan commented Aug 21, 2020

This makes it possible to use Graylog's Geolocation plugin data as a source. The location data is by default stored as a single string ("latitude,longitude"), which this plugin doesn't support yet. So far matching the country data has been the only solution for Graylog users, but coordinates would provide a lot more accurate data.

This pull request adds a new location data option, which makes it possible to use Graylog's Geolocation data as the source without breaking any existing features.

There's been a lot of discussion around the internet about this issue, but not a single proper solution.

Fixes #41

Creates a new Location Data option ("string"), which makes it possible
to query coordinates that are stored as a string in a single field.

The field should be formatted as "latitude,longitude".

Graylog's Geolocation plugin stores data this way instead of as a
geohash. This has made it difficult for Graylog users to use this plugin.
@CLAassistant
Copy link

CLAassistant commented Aug 21, 2020

CLA assistant check
All committers have signed the CLA.

@amotl
Copy link

amotl commented Oct 27, 2020

Dear Jani,

may we humbly ask you to submit this PR to our grafana-map-panel fork? The vanilla Worldmap Panel has not been maintained for some time already. We would be happy to accept your contribution as we see it is valuable for the community.

As the development has progressed on some ends, the update will probably need some adjustments.

When already on it, it would be super cool to accompany your improvements using appropriate test cases. You will be able to find respective guidelines within CONTRIBUTING.md.

With kind regards,
Andreas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Question] ES field type
3 participants