当我在测试Kibana4 beta2时,我意识到不能使用带有kibana3索引的tilemap。
在Kibana3中,可以使用包含Long,Lat (GeoJson)的数组将点放在"Bettermap“上。
"coordinates": [
-50.6667,
-32.99
]现在Kibana4使用了elasticsearch的geohash。
有人知道如何在kibana4上使用geojson吗?有没有可能从geojson得到一个geohash?
发布于 2015-01-20 06:01:45
您只需对您的坐标字段使用以下映射:
"coordinates" : {
"type" : "geo_point",
"lat_lon" : true,
"geohash" : true
}现在,它将显示在新的平铺地图中。我不得不增加精确度滑块,以使定位更加“精确”。
你可能想要使用doc_values,我不确定它的意义:
"coordinates" : {
"type" : "geo_point",
"lat_lon" : true,
"geohash" : true,
"index": "not_analyzed",
"doc_values": true
}https://stackoverflow.com/questions/27158799
复制相似问题