Configuring Elasticsearch and Kibana to work with each other without requiring enrollment token
What I am trying to do is getting elasticsearch and kibana to work with each other. But even after numerous attempts I have not been able to do so.
The endpoint on Kibana’s Api keeps asking for enrollment token. I run the following code for the generation of enrollment token.