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

Ana*_*rya 2 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}'
Run Code Online (Sandbox Code Playgroud)

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

wil*_*oop 6

同样的情况:无法将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 非 OSS(基本)使用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
},
Run Code Online (Sandbox Code Playgroud)
  • 基巴纳操作系统: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
  • 弹性操作系统: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