Geoip_location is storing data as "lon,lat" not "lat,lon"


#1

Hi,
I am testing graylog 2.2.1, and I am trying to create a map visualization of ip data.
I am able to extract all the information fine, but the map was showing the entries in different areas of the world.
The documentation says that the geoip_location coordinates are stored as “lat, lon”, however, if I look at the document, it is storing them backwards “lon, lat”.

geoip_latitude
20
geoip_location
77.0, 20.0
geoip_longitude
77

How could I fix this?
Thanks!


(Jochen) #2

Which version of the Map Widget plugin are you using?

The Map Widget plugin 2.2.1 is storing the coordinates in the correct order:

Also, geoip_latitude, geoip_longitude, and geoip_location don’t look like they’ve been created by Graylog.
Are you using any other tools to enrich your log messages?


#3

Thank you very much Jochen.
It was an error on my side, as I had a log stash geoip plugin running on the input to graylog.
After removing the plugin, everything works well.

Regards.


(system) #4

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.