deviantony / docker-elk

The Elastic stack (ELK) powered by Docker and Compose.
MIT License
17.06k stars 6.74k forks source link

docker container elasticsearch is unhealthy #966

Closed ZTurboX closed 5 months ago

ZTurboX commented 6 months ago

Problem description

docker container elasticsearch unhealthy image

but http://localhost:9200/_cat/health is green, image

and can can use elasticsearch and kibana

Extra information

Stack configuration

no changes

Docker setup

image

Container logs

image

antoineco commented 6 months ago

Thanks for your report.

I'm a bit confused, you say

no changes

But the cluster name is elasticsearch, which is not the name of our cluster:

https://github.com/deviantony/docker-elk/blob/212f55885326dae0565999c20908a0bc7107ad51/elasticsearch/config/elasticsearch.yml#L5

ZTurboX commented 6 months ago

Thanks for your report.

I'm a bit confused, you say

no changes

But the cluster name is elasticsearch, which is not the name of our cluster:

https://github.com/deviantony/docker-elk/blob/212f55885326dae0565999c20908a0bc7107ad51/elasticsearch/config/elasticsearch.yml#L5

cluster.name change to elasticsearch

antoineco commented 6 months ago

"unhealthy" means that you added a health check. docker-elk doesn't have health checks.

antoineco commented 5 months ago

Closing because the issue is clearly not about docker-elk, but about another Elasticsearch-in-Docker type of setup.