You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I changed kibana/entrypoint.sh to make sure if Kibana reaches Elasticsearch container as expected, here my code:
#!/usr/bin/env bash
# Wait for the Elasticsearch container to be ready before starting Kibana.
echo "Stalling for Elasticsearch"
while true; do
nc -q 1 elasticsearch 9200 2>/dev/null && break
echo "Elasticsearch not ready yeat, waiting."
sleep 1
done
echo "Starting Kibana"
kibana
Here the output after starting via docker-compose up -d:
[vagrant@docker elk]$ docker logs -f elk_kibana_1
Stalling for Elasticsearch
Elasticsearch not ready yeat, waiting.
Elasticsearch not ready yeat, waiting.
Elasticsearch not ready yeat, waiting.
Elasticsearch not ready yeat, waiting.
(...)
Running inside the container via docker exec -it elk_kibana_1 bash I get the following error:
Looks like a combination of the latest Docker release and an update to Elastic Search 2 broke a few things, have just pushed a few fixes which gets everything back up and working. The follow fixes were put in place;
Make Elasticsearch search listen on ipv4 and not ipv6, I think this was due to Docker update, for some reason Elasticsearch only bound itself to an ipv6 address.
Update Logstash configuration to use Elasticsearch host
Update logspount-logstash plugin to remove tags with dots in the title as Elasticsearch 2 doesn't support them
I also added a crafty update to the version of docker-compose so its the latest release so you may want to provision a new Vagrant host.
Hi Russ,
I can't run ELK here. It seems that Elasticsearch is not reachable by Kibana container for some reason. Can you check, please?
Here logs from Elasticsearch container:
I changed kibana/entrypoint.sh to make sure if Kibana reaches Elasticsearch container as expected, here my code:
Here the output after starting via
docker-compose up -d
:Running inside the container via
docker exec -it elk_kibana_1 bash
I get the following error:Thank you!
The text was updated successfully, but these errors were encountered: