# Shards failure error on search

**URL:** <https://discuss.elastic.co/t/shards-failure-error-on-search/183556>\
**Category:** Elasticsearch\
**Created:** [May 30, 2019, 2:31pm UTC](https://discuss.elastic.co/t/shards-failure-error-on-search/183556 "2019-05-30T14:31:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![elk11](https://avatars.discourse-cdn.com/v4/letter/e/45deac/32.png) [@elk11](https://discuss.elastic.co/u/elk11)\
**Post date:** [May 30, 2019, 2:31pm UTC](https://discuss.elastic.co/t/shards-failure-error-on-search/183556/1 "2019-05-30T14:31:23Z")

</div>

Hi,

I'm using elasticsearch 7.0.0, when on discover tab and query on an index pattern based on time period, I get x of y shards failed error. (1 on 10 shards failed). And returns no data.

All indices are green and cluster state is green. there are no unassigned indices.

How to debug this? Log doesn't have anything about this.

Thanks

---

<div class="post-metadata">

**Author:** ![robscott27](https://avatars.discourse-cdn.com/v4/letter/r/858c86/32.png) [@robscott27](https://discuss.elastic.co/u/robscott27)\
**Post date:** [May 30, 2019, 3:24pm UTC](https://discuss.elastic.co/t/shards-failure-error-on-search/183556/2 "2019-05-30T15:24:01Z")

</div>

This sounds a lot like what I'm getting as well. I'm using ES 7.0.1 and while I get data displayed in the Discover tab, that data is only for Filebeat versions 7+. My index that has Filebeat 6.7.1 data, however, returns nothing. Regardless of whether I'm looking at 7+ data or 6.7.1 I, too, get the 1 on x shards failed but all are green. I posted a question about this yesterday, but haven't gotten an answer. The question I posed is [here](https://discuss.elastic.co/t/index-data-not-being-shown/183371).

Glad it's not just me!

---

<div class="post-metadata">

**Author:** ![robscott27](https://avatars.discourse-cdn.com/v4/letter/r/858c86/32.png) [@robscott27](https://discuss.elastic.co/u/robscott27)\
**Post date:** [May 31, 2019, 2:26pm UTC](https://discuss.elastic.co/t/shards-failure-error-on-search/183556/3 "2019-05-31T14:26:09Z")

</div>

Just an update - my issue was resolved when I updated ES to 7.1.1. That doesn't mean that will work for you as well, but my issue cleared up after I updated.

---

<div class="post-metadata">

**Author:** ![elk11](https://avatars.discourse-cdn.com/v4/letter/e/45deac/32.png) [@elk11](https://discuss.elastic.co/u/elk11)\
**Post date:** [May 31, 2019, 2:39pm UTC](https://discuss.elastic.co/t/shards-failure-error-on-search/183556/4 "2019-05-31T14:39:22Z")

</div>

Thanks @robscott27, I'll set the logging level to 'debug' and check what error I'll get. If still nothing comes up, I'll try an upgrade!

---

<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:** [June 28, 2019, 2:39pm UTC](https://discuss.elastic.co/t/shards-failure-error-on-search/183556/5 "2019-06-28T14:39:37Z")

</div>

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