Reputation: 171
Im trying to Install kibana 8.1.1 on windows10 the thing is when it starts installions it stops on an error like that
[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]
i tried so many solutions like, I did change the elastisearch.yml file
xpack.security.enabled: false
but it is still doesn't work an i did it on kibana.yml too still same i did add this folowing lines too
`xpack.security.enabled: true
xpack.monitoring.enabled: true
xpack.monitoring.ui.enabled: true
xpack.security.encryptionKey: "XXX"`
still nothing.
i removed the # on kibana.yml too before the
elasticsearch.hosts: ["http://localhost:9200"]
and stiiiill noothing
here is
kibana.yml:
server.port: 5601 server.host: "localhost" server.name: "your-hostname" elasticsearch.hosts: ["http://localhost:9200"]
elasticsearch.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"]`
im soo sorry about my english its not my first langage and for not knowing what to do its for studies project and im still a beginner
google is not helping too
thank u for helping me
Upvotes: 17
Views: 38915
Reputation: 96
In my case i changed the following configuration inside in config/kibana.yml
elasticsearch.hosts: "http://localhost:9200"
elasticsearch.username: kibana_system elastic.password:
to generate the kibana_system passowrd i used the following command bin\elasticsearch-reset-password -u kibana_system
then restarted the kibana from cmd prompt
then, it works for me
Upvotes: 0
Reputation: 361
A more detailed steps as below,
Step 1 is required only when you made some changes to both yml files.
Note: We are resetting password for user "kibana_system" not "elastic".
.\elasticsearch-reset-password.bat -u kibana_system --auto
This command will give you password for user "kibana_system". Copy and store the password somewhere.
elasticsearch.username: "kibana_system"
elasticsearch.password: "the kibana_system password generated above, not the elastic password"
Then save the yml file.
start kibana, wait till you see everything is fine and no error.
open http://localhost:5601/app/home#/ in the browser. Enter username as "elastic" Enter the password as "the elastic password, not kibana password"
Upvotes: 26
Reputation: 11
elasticsearch.username: "kibana_system"
elasticsearch.password: <my-kibana_system-password>
Upvotes: 1