# Health always yellow status

**URL:** <https://discuss.elastic.co/t/health-always-yellow-status/9258>\
**Category:** Elasticsearch\
**Created:** [October 6, 2012, 7:52am UTC](https://discuss.elastic.co/t/health-always-yellow-status/9258 "2012-10-06T07:52:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![zkidkid](https://avatars.discourse-cdn.com/v4/letter/z/fbc32d/32.png) [@zkidkid](https://discuss.elastic.co/u/zkidkid)\
**Post date:** [October 6, 2012, 7:52am UTC](https://discuss.elastic.co/t/health-always-yellow-status/9258/1 "2012-10-06T07:52:33Z")

</div>

Hi,

I start the ES with bellow config.

node.master: true  
node.data: true  
index.number\_of\_shards: 5  
index.number\_of\_replicas: 1

index:  
analysis:  
analyzer:  
default:  
tokenizer: lowercase  
filter: [asciifolding,standard]  
bootstrap.mlockall: true  
http.port: 9200  
http.max\_content\_length: 100mb

# Disable HTTP completely:

http.enabled: true

First, when I start the ES with no data, the status is green.  
But after a while, when I index my data, it go to yellow.

I have try to restart .... etc, but it's still yellow.

What should I do to make it better ?

The Server is: 24 core, 32Gb Ram. 25 Tb Free Disk Space.

Thanks.

--

---

<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:** [October 6, 2012, 9:10am UTC](https://discuss.elastic.co/t/health-always-yellow-status/9258/2 "2012-10-06T09:10:40Z")

</div>

Yellow status means : everything is OK but you don't satisfy replica rules. That  
means that if one of your nodes disappear, you will lost some documents.

You asked for 1 replica (default). But you run on a single node, so shards are  
not replicated.

If this status bother you, you can:

- set replica to 0 (you can do it live)
- start a new node

David

Le 6 octobre 2012 à 09:52, kidkid [zkidkid@gmail.com](mailto:zkidkid@gmail.com) a écrit :

> Hi,
> 
> I start the ES with bellow config.
> 
> node.master: true  
> node.data: true  
> index.number\_of\_shards: 5  
> index.number\_of\_replicas: 1
> 
> index:  
> analysis:  
> analyzer:  
> default:  
> tokenizer: lowercase  
> filter: [asciifolding,standard]  
> bootstrap.mlockall: true  
> http.port: 9200  
> http.max\_content\_length: 100mb
> 
> # Disable HTTP completely:
> 
> http.enabled: true
> 
> First, when I start the ES with no data, the status is green.  
> But after a while, when I index my data, it go to yellow.
> 
> I have try to restart .... etc, but it's still yellow.
> 
> What should I do to make it better ?
> 
> The Server is: 24 core, 32Gb Ram. 25 Tb Free Disk Space.
> 
> Thanks.
> 
> --

--  
David Pilato  
[http://www.scrutmydocs.org/](http://www.scrutmydocs.org/)  
[http://dev.david.pilato.fr/](http://dev.david.pilato.fr/)  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

--

---

<div class="post-metadata">

**Author:** ![zkidkid](https://avatars.discourse-cdn.com/v4/letter/z/fbc32d/32.png) [@zkidkid](https://discuss.elastic.co/u/zkidkid)\
**Post date:** [October 7, 2012, 7:48am UTC](https://discuss.elastic.co/t/health-always-yellow-status/9258/3 "2012-10-07T07:48:37Z")

</div>

Hi,

I read the document and see that:

Replicas is a copy of shard.  
In my setting, it's 1, mean I will have 1 replica for each of 5 shard.

The more replicas I have, the fast my ES could search.

it don't relate to node.

On Saturday, October 6, 2012 4:10:45 PM UTC+7, David Pilato wrote:

> Yellow status means : everything is OK but you don't satisfy replica  
> rules. That means that if one of your nodes disappear, you will lost some  
> documents.
> 
> You asked for 1 replica (default). But you run on a single node, so  
> shards are not replicated.
> 
> If this status bother you, you can:
> 
> - set replica to 0 (you can do it live)
> - start a new node
> 
> David
> 
> Le 6 octobre 2012 à 09:52, kidkid \<[zki...@gmail.com](mailto:zki...@gmail.com) \<javascript:\>\> a  
> écrit :
> 
> Hi,
> 
> I start the ES with bellow config.
> 
> node.master: true  
> node.data: true  
> index.number\_of\_shards: 5  
> index.number\_of\_replicas: 1
> 
> index:  
> analysis:  
> analyzer:  
> default:  
> tokenizer: lowercase  
> filter: [asciifolding,standard]  
> bootstrap.mlockall: true  
> http.port: 9200  
> http.max\_content\_length: 100mb
> 
> # Disable HTTP completely:
> 
> http.enabled: true
> 
> First, when I start the ES with no data, the status is green.  
> But after a while, when I index my data, it go to yellow.
> 
> I have try to restart .... etc, but it's still yellow.
> 
> What should I do to make it better ?
> 
> The Server is: 24 core, 32Gb Ram. 25 Tb Free Disk Space.
> 
> Thanks.
> 
> --
> 
> --  
> David Pilato  
> [http://www.scrutmydocs.org/](http://www.scrutmydocs.org/)  
> [http://dev.david.pilato.fr/](http://dev.david.pilato.fr/)  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

--

---

<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:** [October 7, 2012, 8:08am UTC](https://discuss.elastic.co/t/health-always-yellow-status/9258/4 "2012-10-07T08:08:33Z")

</div>

I don't understand your answer.

May be you can have look at my devoxx slides: [Elasticsearch - Devoxx France 2012 - English version | PPT](http://www.slideshare.net/dadoonet/elasticsearch-devoxx-france-2012-english-version)

At the end, I explained that.  
There are also nice talks here [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/videos/)

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 7 oct. 2012 à 09:48, kidkid [zkidkid@gmail.com](mailto:zkidkid@gmail.com) a écrit :

Hi,

I read the document and see that:

Replicas is a copy of shard.  
In my setting, it's 1, mean I will have 1 replica for each of 5 shard.

The more replicas I have, the fast my ES could search.

it don't relate to node.

On Saturday, October 6, 2012 4:10:45 PM UTC+7, David Pilato wrote:

> Yellow status means : everything is OK but you don't satisfy replica rules. That means that if one of your nodes disappear, you will lost some documents.
> 
> You asked for 1 replica (default). But you run on a single node, so shards are not replicated.
> 
> If this status bother you, you can:
> 
> - set replica to 0 (you can do it live)
> - start a new node
> 
> David
> 
> Le 6 octobre 2012 à 09:52, kidkid [zki...@gmail.com](mailto:zki...@gmail.com) a écrit :
> 
> > Hi,
> > 
> > I start the ES with bellow config.
> > 
> > node.master: true  
> > node.data: true  
> > index.number\_of\_shards: 5  
> > index.number\_of\_replicas: 1
> > 
> > index:  
> > analysis:  
> > analyzer:  
> > default:  
> > tokenizer: lowercase  
> > filter: [asciifolding,standard]  
> > bootstrap.mlockall: true  
> > http.port: 9200  
> > http.max\_content\_length: 100mb
> > 
> > # Disable HTTP completely:
> > 
> > http.enabled: true
> > 
> > First, when I start the ES with no data, the status is green.  
> > But after a while, when I index my data, it go to yellow.
> > 
> > I have try to restart .... etc, but it's still yellow.
> > 
> > What should I do to make it better ?
> > 
> > The Server is: 24 core, 32Gb Ram. 25 Tb Free Disk Space.
> > 
> > Thanks.
> > 
> > --
> 
> --  
> David Pilato  
> [http://www.scrutmydocs.org/](http://www.scrutmydocs.org/)  
> [http://dev.david.pilato.fr/](http://dev.david.pilato.fr/)  
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

--

--

---

<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:** [July 6, 2017, 3:09am UTC](https://discuss.elastic.co/t/health-always-yellow-status/9258/5 "2017-07-06T03:09:50Z")

</div>


