无法启动Kibana 7.5.0致命错误,未对配置文件进行任何更改

时间:2019-12-13 05:12:18

标签: elasticsearch kibana kibana-7

启动Kibana 7.5时出现致命错误,我没有配置任何东西,我只是在运行elasticsearch.bat(也是v7.5)和kibana.bat

'{"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"No handler for type [flattened] declared on field [state]"}],"type":"mapper_parsing_exception",
"reason":"Failed to parse mapping [_doc]: No handler for type [flattened] declared on field [state]",
"caused_by":{"type":"mapper_parsing_exception","reason":"No handler for type [flattened] declared on field [state]"}},"status":400}'

我还可以启动kibana 6.8.5,但无法连接到我的elasticsearch节点。

1 个答案:

答案 0 :(得分:1)

同一情况:Unable to connect Kibana to Elasticsearch

  

{"type":"mapper_parsing_exception", "reason":"No handler for type [flattened] declared on field [state]"}

使用Elastic non-OSS v7.3 +或Kibana OSS。

Kibana 7.5非OSS(基本)使用Elasticsearch 7.3+的OSS版本中可用的flattened类型。

OSS版本仅包含Apache 2.0许可下可用的功能-https://www.elastic.co/subscriptions

您可以使用GET _nodes进行检查:

{
  "name" : "flattened",
  "version" : "7.5.0",
  "elasticsearch_version" : "7.5.0",
  "java_version" : "1.8",
  "description" : "Module for the flattened field type, which allows JSON objects to be flattened into a single field.",
  "classname" : "org.elasticsearch.xpack.flattened.FlattenedMapperPlugin",
  "extended_plugins" : [
    "x-pack-core"
  ],
  "has_native_controller" : false
},
  • Kibana OSS:https://artifacts.elastic.co/downloads/kibana/kibana-oss-${VERSION}-linux-x86_64.tar.gz
  • Kibana非OSS:https://artifacts.elastic.co/downloads/kibana/kibana-${VERSION}-linux-x86_64.tar.gz
  • 弹性OSS:https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-oss-${VERSION}-no-jdk-linux-x86_64.tar.gz
  • 弹性非OSS:https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${VERSION}-no-jdk-linux-x86_64.tar.gz