I have two virtual machines, one running Elasticsearch, one running kibana. I have generated a token to enrol kibana, but have been unable to apply it. I start kibana and can see the link generated to apply the token which is something like http://localhost:5601?code=dsgfgds .... but I don't have a local browser to load the link as I'm on a CLI-only VM.
Should kibana load when using the FQDN of the VM host? I think not as kibana isn't ready?
Is there another method of applying the token and enrolling kibana without the browser?
I have not used tokens to enrol kibana and nodes before, is it possible to configure Elasticsearch and Kibana without tokens as I did prior to 8.1?
In Elastic Stack 8.x, security is enabled by default. If you want to configure your own security, it is possible, just do the manual process before installing it according to the guide:
It's good to know that we can still manually configure security, and that's probably what I will end up doing.
I would still be interested to know if there is a method to enrol kibana without a browser on the host machine. Having looked further, I can see that without completing the enrolment process the device is only listening locally on port 5601, which is no good if I don't have a local browser.
Surely, there's a command line option to enrol kibana?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.