Geo_Point - strange location showing up in visualisations


(The Mangled Badger) #1

Hi there,

I'm using ElasticSearch and Kibana as part of my final year project for college.

I've created an index successfully, and pushed data from my smart phone to my index successfully.

However, when I push my location and go to visualize it, the icon appears in the Indian Ocean just above Madagascar. I'm actually in Ireland!

Now, to send the data, I'm send it in this form, using Java & Android Studio:

"{" + " ID " : "19429c33c4f62881"," + " Rate1" : 29," + " Rate2" : 0," + " date" : "2015-12-14T19:06:09Z"," + " Location" : [52.8269723, -6.9353165]" + "}";

And my _type mapping:

"_type-namel" : { "properties" : { "ID" : { "type" : "string" }, "Rate 1" : { "type" : "double" }, "Rate 2" : { "type" : "long" }, "Location" : { "type" : "geo_point" }, "date" : { "type" : "date", "format" : "dateOptionalTime" } } },

My question is, I guess, do I have the geo_point mapping set up correctly, or am I sending in the wrong data-type? If so, what is the correct correct data-type?

Thanks,
Emmett


(The Mangled Badger) #2

Ha, I found the issue !

Thanks for any potential replies!


(system) #3