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

Cannot start Kibana 7.5.0 Fatal Error have not done any changes in configuration file

启动 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 节点。

同案:

{"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+.

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