# Get events for Elasticsearch cluster health degraded , but cluster is green

**URL:** <https://discuss.elastic.co/t/get-events-for-elasticsearch-cluster-health-degraded-but-cluster-is-green/266322>\
**Category:** Elasticsearch\
**Tags:** docker\
**Created:** [March 5, 2021, 6:55am UTC](https://discuss.elastic.co/t/get-events-for-elasticsearch-cluster-health-degraded-but-cluster-is-green/266322 "2021-03-05T06:55:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![oldthreefeng](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/oldthreefeng/32/85018_2.png) [@oldthreefeng](https://discuss.elastic.co/u/oldthreefeng)\
**Post date:** [March 5, 2021, 6:55am UTC](https://discuss.elastic.co/t/get-events-for-elasticsearch-cluster-health-degraded-but-cluster-is-green/266322/1 "2021-03-05T06:55:40Z")

</div>

the es version is 6.8.8

```auto

$ k get events -n sls-prod
LAST SEEN TYPE REASON OBJECT MESSAGE
44m Warning Unhealthy elasticsearch/elastic Elasticsearch cluster health degraded

```

but i exec in the pod . to see the cluster health , it returns green.

```auto
curl -u elastic:xxxx http://127.0.0.1:9200/_cluster/health
{"cluster_name":"elastic","status":"green","timed_out":false,"number_of_nodes":3,"number_of_data_nodes":3,"active_primary_shards":810,"active_shards":1620,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":0,"delayed_unassigned_shards":0,"number_of_pending_tasks":0,"number_of_in_flight_fetch":0,"task_max_waiting_in_queue_millis":0,"active_shards_percent_as_number":100.0}

$ k get elasticsearches.elasticsearch.k8s.elastic.co -n sls-prod 
NAME HEALTH NODES VERSION PHASE AGE
elastic green 3 6.8.8 Ready 254d

```

why this happend ?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 2, 2021, 6:56am UTC](https://discuss.elastic.co/t/get-events-for-elasticsearch-cluster-health-degraded-but-cluster-is-green/266322/2 "2021-04-02T06:56:02Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
