elasticsearch geo point kibana elasticsearch未显示在tilemap上,elasticsearch,kibana,elasticsearch,Kibana" /> elasticsearch geo point kibana elasticsearch未显示在tilemap上,elasticsearch,kibana,elasticsearch,Kibana" />

elasticsearch geo point kibana elasticsearch未显示在tilemap上

elasticsearch geo point kibana elasticsearch未显示在tilemap上,elasticsearch,kibana,elasticsearch,Kibana,我试图在Kibana的任何地图上查看我的geojson。 我的原始数据是一个带有坐标数组的地理多边形。 据我所知,ElasticSearch/Kibana无法可视化地理图形,因此我尝试将坐标设为一个地理点,以便在波浪图上查看它 这可能吗?我尝试创建了两个不同的映射。我的最新版本不允许我将数据索引到它。有更好的方法吗?(在一个理想的世界里,我可以画一个多边形……尽管我认为Kibana不支持这一点)。我使用的是5.3版 原始数据(用long和lat替换实际值): 这是我索引json时elastics

我试图在Kibana的任何地图上查看我的geojson。 我的原始数据是一个带有坐标数组的地理多边形。 据我所知,ElasticSearch/Kibana无法可视化地理图形,因此我尝试将坐标设为一个地理点,以便在波浪图上查看它

这可能吗?我尝试创建了两个不同的映射。我的最新版本不允许我将数据索引到它。有更好的方法吗?(在一个理想的世界里,我可以画一个多边形……尽管我认为Kibana不支持这一点)。我使用的是5.3版

原始数据(用long和lat替换实际值):

这是我索引json时elasticsearch默认的映射:

{
  "indexname" : {
    "mappings" : {
      "my_type" : {
        "properties" : {
          "geometry" : {
            "properties" : {
              "coordinates" : {
                "type" : "float"
              },
              "type" : {
                "type" : "text",
                "fields" : {
                  "keyword" : {
                    "type" : "keyword",
                    "ignore_above" : 256
                  }
                }
              }
            }
          },
这是我刚刚尝试修复映射的尝试(但是,这种方法不适用于任何索引数据:

curl -XPUT "http://localhost:9200/indexname" -d "{\"mappings\" : {\"my_type\" : {\"properties\" : {\"geometry\" : {\"type\":\"geo_point\"}}}}}"
如果我尝试此命令,它将显示在kibana中,但当我尝试运行tilemap时,贴图将消失,因此我假设它没有获得正确的数据:

curl -XPUT "http://localhost:9200/indexname" -d "{\"mappings\" : {\"my_type\" : {\"properties\" : {\"coordinates\" : {\"type\":\"geo_point\"}}}}}"
编辑

没有成功。我试过:

kibana插件安装file:///kibana-5.3.0-windows-x86/kibana-5.3.0-windows-x86/plugins/enhanced-tilemap-v2017-03-17-5.2.2/kibana/enhanced_tilemap

Attempting to transfer from file:///kibana-5.3.0-windows-x86/kibana-5.3.0-windows-x86/plugins/enhanced-tilemap-v2017-03-17-5.2.2/kibana/enhanced_tilemap
Transferring unknown number of bytes
Error: EISDIR: illegal operation on a directory, read
Plugin installation was unsuccessful due to error "EISDIR: illegal operation on a directory, read"
kibana插件安装

下一步允许您可视化多边形

如果使用kibana 5.3,插件安装不支持5.2以上的安装操作 您可以执行以下操作之一:

1) 插件github中的开放问题

2) 克隆插件,将zip文件解压缩到插件目录vin kibana home,
cd到您下载并键入bower安装的插件,重新启动kibana

了解如何安装。我在windows cmd上的任何命令都不能执行此操作。在键入需要cd到kibana主目录的命令之前,是否执行了此操作?你犯了哪个错误?我在bin目录中。我应该在插件目录中还是只在kibana home目录中?谢谢!看起来它不起作用,因为我有kibana 5.3.0,它抛出了一个禁用的错误,因为它期望kibana 5.2.2版,即使有bower安装,我该如何进行映射?它仍然不能以我上面的方式工作
Attempting to transfer from file:///kibana-5.3.0-windows-x86/kibana-5.3.0-windows-x86/plugins/enhanced-tilemap-v2017-03-17-5.2.2/kibana/enhanced_tilemap
Transferring unknown number of bytes
Error: EISDIR: illegal operation on a directory, read
Plugin installation was unsuccessful due to error "EISDIR: illegal operation on a directory, read"
Attempting to transfer from http://artifacts.elastic.co/downloads/kibana-plugins/enhanced_tilemap/enhanced_tilemap-5.2.2.zip
Attempting to transfer from https://artifacts.elastic.co/downloads/kibana-plugins/http://artifacts.elastic.co/downloads/kibana-plugins/enhanced_tilemap/enhanced_tilemap-5.2.2.zip/http://artifacts.elastic.co/downloads/kibana-plugins/enhanced_tilemap/enhanced_tilemap-5.2.2.zip-5.3.0.zip
Plugin installation was unsuccessful due to error "No valid url specified."