How to start
-
docker-compose up -d
-
go to kibana http://localhost:5601/
-
reset user find name(id) of container docker ps
docker exec -it d0ffa3755705 /usr/share/elasticsearch/bin/elasticsearch-reset-password -u elastic
-
copy password ****
-
Copy the http_ca.crt security certificate from your Docker container to your local machine.
docker cp d0ffa3755705:/usr/share/elasticsearch/config/certs/http_ca.crt .
-
add certificate into osx with double click
-
Open a new terminal and verify that you can connect to your Elasticsearch
curl --cacert http_ca.crt -u elastic https://localhost:9200
-
create token for kibana
docker exec -it d0ffa3755705 /usr/share/elasticsearch/bin/elasticsearch-create-enrollment-token -s kibana
-
copy token and put it inside kibana web
-
get kibana passcode
docker exec -it b6df95b2a5c6 bin/kibana-verification-code
- login
- username elastic
- password ****