# ELK status Yellow to green

**URL:** <https://discuss.elastic.co/t/elk-status-yellow-to-green/341064>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-monitoring\
**Created:** [August 18, 2023, 2:12am UTC](https://discuss.elastic.co/t/elk-status-yellow-to-green/341064 "2023-08-18T02:12:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![younus](https://avatars.discourse-cdn.com/v4/letter/y/51bf81/32.png) [@younus](https://discuss.elastic.co/u/younus)\
**Post date:** [August 18, 2023, 2:12am UTC](https://discuss.elastic.co/t/elk-status-yellow-to-green/341064/1 "2023-08-18T02:12:02Z")

</div>

ELK index is yellow . I want to change yellow to green .

{  
"ace\_logs": {  
"settings": {  
"index": {  
"routing": {  
"allocation": {  
"include": {  
"\_tier\_preference": "data\_content"  
}  
}  
},  
"number\_of\_shards": "1",  
"provided\_name": "ace\_logs",  
"creation\_date": "1692318017581",  
"number\_of\_replicas": "1",  
"uuid": "s3OOOA4DQGqnVMs6jmepJA",  
"version": {  
"created": "8090099"  
}  
}  
}  
}  
}

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/8/6/86c7db8ef23990826077edfa451f66bfaa046506.png)

---

<div class="post-metadata">

**Author:** ![Rios](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rios/32/95745_2.png) [@Rios](https://discuss.elastic.co/u/Rios)\
**Post date:** [August 18, 2023, 7:47pm UTC](https://discuss.elastic.co/t/elk-status-yellow-to-green/341064/2 "2023-08-18T19:47:02Z")

</div>

> [@younus](#):
>
> "number\_of\_replicas": "1",

If is a single node, set `"number_of_replicas": "0"`

---

<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:** [September 15, 2023, 7:47pm UTC](https://discuss.elastic.co/t/elk-status-yellow-to-green/341064/3 "2023-09-15T19:47:57Z")

</div>

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