In order to start the Elastic + Kibana containers you should execute the following command:
docker compose up -d
Once the container service has started run the following command to regenerate an user password:
docker compose exec -it elasticsearch /usr/share/elasticsearch/bin/elasticsearch-reset-password -u elastic
On Kibana browser page it will ask for the Enrollment token. I order to generate it run the following command:
docker compose exec -it elasticsearch /usr/share/elasticsearch/bin/elasticsearch-create-enrollment-token -s kibana
Then paste the genereated token in the textbox
Enter the following credentials:
- User:
elastic
- Password:
the secret password generated before