2

启动 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 但无法连接到我的弹性搜索节点。

4

1 回答 1

4

同样的案例:无法将 Kibana 连接到 Elasticsearch

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

使用 Elastic 非 OSS v7.3+ 或 Kibana OSS。

Kibana 7.5 non-OSS (basic) 使用Elasticsearch 7.3+flattened的 OSS 版本中可用的类型。

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
于 2019-12-13T10:35:18.183 回答