# Why the health of some indices are yellow?

**URL:** <https://discuss.elastic.co/t/why-the-health-of-some-indices-are-yellow/141124>\
**Category:** Elasticsearch\
**Created:** [July 23, 2018, 9:23am UTC](https://discuss.elastic.co/t/why-the-health-of-some-indices-are-yellow/141124 "2018-07-23T09:23:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ahrtr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ahrtr/32/29551_2.png) [@ahrtr](https://discuss.elastic.co/u/ahrtr)\
**Post date:** [July 23, 2018, 9:23am UTC](https://discuss.elastic.co/t/why-the-health-of-some-indices-are-yellow/141124/1 "2018-07-23T09:23:31Z")

</div>

I used the API "\_cat/indices?v" to list all indices, and I noticed that the health status of some indices were yellow. I don't understand why the health status were yellow. Could anybody please explain this? Thanks.

```
bash-4.2# curl http://10.99.68.208:9200/_cat/indices?v
health status index uuid pri rep docs.count docs.deleted store.size pri.store.size
yellow open audit-wauiynwo5urarkptmbo5-201807 d6E9b6VoS1qlZ87LeTL0EQ 5 1 100 0 108.7kb 108.7kb
green open t-wauiynwo5urarkptmbo5-kibana Yxaclh2DQ7KfE946gSLYqQ 1 0 28 1 36.7kb 36.7kb
```

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [July 23, 2018, 11:05am UTC](https://discuss.elastic.co/t/why-the-health-of-some-indices-are-yellow/141124/2 "2018-07-23T11:05:52Z")

</div>

Because you have only one node running in your cluster. So replication can not happen.  
Start a new node or change the number of replicas for `audit-wauiynwo5urarkptmbo5-201807`.

BTW may be don't keep the default 5 shards for primaries if 1 shard is enough.

---

<div class="post-metadata">

**Author:** ![ahrtr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ahrtr/32/29551_2.png) [@ahrtr](https://discuss.elastic.co/u/ahrtr)\
**Post date:** [July 24, 2018, 1:29am UTC](https://discuss.elastic.co/t/why-the-health-of-some-indices-are-yellow/141124/3 "2018-07-24T01:29:08Z")

</div>

@dadoonet Thanks for the response.

---

<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:** [August 21, 2018, 1:29am UTC](https://discuss.elastic.co/t/why-the-health-of-some-indices-are-yellow/141124/4 "2018-08-21T01:29:18Z")

</div>

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