0

我有一个自托管的 Elasticsearch + Kibana 环境,我正在尝试将 Elasticsearch Enterprise/App Search 添加到其中。

尝试启动 Elasticsearch Enterprise/App Search 时出现以下错误:

Elasticsearch API key service must be enabled. It is enabled automatically when you configure Elasticsearch to use TLS on the HTTP interface.
Alternatively, you can explicitly enable the setting within Elasticsearch by opening config/elasticsearch.yml and adding:

xpack.security.authc.api_key.enabled: true

我已经添加了该设置,但在启动时仍然出现错误。

这是我在elasticsearch.yml

xpac.security.enabled true
#xpack.security.audit.logfile.events.emit_request_body: true

discovery.type: single-node
xpack.security.authc.api_key.enabled: true
xpack:
  security:
    authc:
      realms:
        native:
          native1:
            order: 0
4

0 回答 0