# ERROR: All shards failed for phase: \[query\]

**URL:** <https://discuss.elastic.co/t/error-all-shards-failed-for-phase-query/118236>\
**Category:** Elasticsearch\
**Created:** [February 2, 2018, 2:00pm UTC](https://discuss.elastic.co/t/error-all-shards-failed-for-phase-query/118236 "2018-02-02T14:00:44Z")\
**Posts on this page:** 1\
**Showing post:** 6

<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:** [February 3, 2018, 11:49am UTC](https://discuss.elastic.co/t/error-all-shards-failed-for-phase-query/118236/6 "2018-02-03T11:49:47Z")

</div>

As I said, please format your code using `</>` icon as explained in [this guide](https://discuss.elastic.co/t/about-the-elasticsearch-category/21) and not the citation button. It will make your post more readable.

Or use markdown style like:

````
```
CODE
```

````

Please edit your posts.

Did you install x-pack on Kibana as well? Did you change the configuration of kibana? Did you restart Kibana?

---

_[View the full topic](https://discuss.elastic.co/t/error-all-shards-failed-for-phase-query/118236)._
