我有一个自我托管的elasticsearch+kibana环境,我正在尝试添加elasticsearch企业/应用程序搜索。
在尝试启动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
暂无答案!
目前还没有任何答案,快来回答吧!