elasticsearch - Kibana 4 detects geodata but doesn't display any results on the map -


i have created elasticsearch index data set containing geodata. have set mapping data. tried create kibana visualisation using data set. kibana detects geodata property finds no result though there plenty of. ran test on data set different , simpler layout, , kibana visualised geodata.

here's sample works:

"location": { "lat": 56.290525, "lon": -30.163298 },

and mapping:

"location": {                   "type": "geo_point",                   "lat_lon": true,                   "geohash": true                  } 

and 1 doesn't work:

"groupoflocations": {                   "@type": "point",                   "locationfordisplay": {                      "lat": 59.21232,                      "lon": 9.603803                   } } 

and mapping:

{ ... // nested type  "locationfordisplay": {                         "type": "geo_point",                         "lat_lon": true,                         "geohash": true                      } ... } 

there 2 things different between working , non-working versions:

  1. the 1 works has json element called "location" while other 1 called "locationfordisplay"

  2. the 1 works has json element ("location") top level element, while in other 1 it's element in nested type.

apart these 2 differences (which believe shouldn't mean anything) can't find else. can make kibana fail?

kibana can not work nested json, need change standard json.


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -