Kibana不会在图块地图上显示结果 [英] Kibana doesn't show results on tile map
问题描述
我大约有3300个文档,其中填充了geo_point类型的字段.当我尝试在地图上可视化我的文档时,kibana会说未找到结果".
I have approximately 3300 documents with geo_point typed field filled. When I try to visualize my documents on the tile map, kibana says "no results found".
我已经尝试将坐标设置为:-字符串中的geohash-[lon,lat]数组-具有"lat"和"lon"属性的对象-字符串"lat,lon"
I've already tried putting coordinates as: - geohash in string - [lon, lat] array - object with "lat" and "lon" properties - string "lat,lon"
根据 ES文档.Kibana将此字段检测为geo_point(字段名称附近有一个地球图标),但在地图上没有任何显示.
All these ways of setting geo_point are allowed according to ES docs. Kibana detects this field as geo_point (there is a globe icon near field name), but nothing shows up on tile map.
我怎么了?
我正在使用Kibana 4.2,elasticsearch 2.0.0
I'm using Kibana 4.2, elasticsearch 2.0.0
推荐答案
我已对其进行管理.
之所以发生这种情况,是因为我的geo_point类型的字段位于带有"type":"nested"参数的字段中.
It was happening because I had my geo_point typed field inside of the field with "type": "nested" parameter.
我已经将该外部字段更改为"dynamic":"true",现在我可以可视化我的位置了!
I've changed this outer field to "dynamic": "true" and now I can visualize my locations!
这篇关于Kibana不会在图块地图上显示结果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!