# \[DEBUG\]\[o.e.a.s.TransportSearchAction\] \[myhost\] All shards failed for phase: \[query\]

**URL:** <https://discuss.elastic.co/t/debug-o-e-a-s-transportsearchaction-myhost-all-shards-failed-for-phase-query/137351>\
**Category:** Elasticsearch\
**Created:** [June 26, 2018, 4:30am UTC](https://discuss.elastic.co/t/debug-o-e-a-s-transportsearchaction-myhost-all-shards-failed-for-phase-query/137351 "2018-06-26T04:30:07Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![Watch\_out](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/watch_out/32/45510_2.png) [@Watch\_out](https://discuss.elastic.co/u/Watch_out)\
**Post date:** [July 7, 2018, 4:36am UTC](https://discuss.elastic.co/t/debug-o-e-a-s-transportsearchaction-myhost-all-shards-failed-for-phase-query/137351/21 "2018-07-07T04:36:16Z")

</div>

Sure, thank you.  
Some of the indices are in yellow, how do i make them green?

```
health status index uuid pri rep docs.count docs.deleted store.size pri.store.size
yellow open ngqc-history-index Q80_I4I9S1qbeEChAyV4_g 5 1 722112 0 532.2mb 532.2mb
yellow open my_index KAxN37zLQny7FTFOosKKUg 5 1 1387699 0 2.8gb 2.8gb
yellow open logs dTrlYJXoTSCYNAxxUWPwrQ 5 1 466 0 1.8mb 1.8mb
yellow open my_index_6_2_4 WwEM_fEPSxKvnolwhl_5ew 5 1 269004 0 491.7mb 491.7mb
green open .kibana yURxJ6PXTpqzboQuedvNcQ 1 0 26 3 67kb 67kb
yellow open my_index1 XTp8lg1cRHCdXXIsbjH7fA 5 1 0 0 1.2kb 1.2kb
yellow open jmeter_index 8gSZL4UdQAaw9PjefwQCxQ 5 1 15595 0 3.5mb 3.5mb
```

---

<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 7, 2018, 8:21am UTC](https://discuss.elastic.co/t/debug-o-e-a-s-transportsearchaction-myhost-all-shards-failed-for-phase-query/137351/22 "2018-07-07T08:21:43Z")

</div>

As I said previously:

> As you have only one node, don't set number of replicas to 1 as they will never be allocated.

---

<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 4, 2018, 8:21am UTC](https://discuss.elastic.co/t/debug-o-e-a-s-transportsearchaction-myhost-all-shards-failed-for-phase-query/137351/23 "2018-08-04T08:21:50Z")

</div>

Closed on August 4, 2018, 8:21am UTC

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

[Previous page](https://discuss.elastic.co/t/debug-o-e-a-s-transportsearchaction-myhost-all-shards-failed-for-phase-query/137351.md?page=1)
