我正在尝试在 windows10 上安装 kibana 8.1.1,问题是当它开始安装时,它会因类似错误而停止
[2022-04-16T01:16:59.744+00:00][ERROR][elasticsearch-service] Unable to retrieve version information from Elasticsearch nodes. security_exception: [security_exception] Reason: missing authentication credentials for REST request [/_nodes? filter_path=nodes..version%2Cnodes..http.publish_address%2Cnodes.*.ip]
我尝试了很多解决方案,例如我确实更改了 elastisearch.yml 文件
xpack.security.enabled: false
但它仍然不起作用,我在 kibana.yml 上也做了同样的事情,我也添加了以下几行
`xpack.security.enabled: true
xpack.monitoring.enabled: true
xpack.monitoring.ui.enabled: true
xpack.security.encryptionKey: "XXX"`
Run Code Online (Sandbox Code Playgroud)
依然没有。
我在之前也删除了 kibana.yml 上的 #
elasticsearch.hosts: ["http://localhost:9200"]
kibana.yml 仍然没有任何内容:
server.port: 5601 server.host: "localhost" server.name: "your-hostname" elasticsearch.hosts: ["http://localhost:9200"]
弹性搜索.yml:
`cluster.name: my-application
network.host: 192.168.0.1
node.name: node-1
discovery.seed_hosts: ["host1", "host2"]
cluster.initial_master_nodes: ["node-1", "node-2"]`
Run Code Online (Sandbox Code Playgroud)
我对我的英语感到非常抱歉,它不是我的第一语言,也不知道该做什么来完成学习项目,而且我还是一个初学者,谷歌也没有提供帮助,
谢谢你帮助我