You have two options:
-
You click on "Configure manually" right below the input box for the enrollment token and you manually add the Elasticsearch HTTP address, such as
http://172.17.0.2:9200
-
Start Kibana by passing in the ELASTICSEARCH_HOSTS env variable, i,e,
-e "ELASTICSEARCH_HOSTS=http://es01-test:9200"
In theory, you can always pass -e "INTERACTIVESETUP_ENABLED=false"
to disable the interactive setup mode but in this case, if you don't configure anything else, kibana will try to connect to localhost to find Elasticsearch on 9200. When in k8s or docker, that localhost
is the container where kibana runs so this will fail. It would work if both kibana and Elasticsearch run from archives on the same host.
HTH