# Kibana returns no data. Error: 70 of 2425 shards failed

**URL:** <https://discuss.elastic.co/t/kibana-returns-no-data-error-70-of-2425-shards-failed/262514>\
**Category:** Kibana\
**Created:** [January 28, 2021, 2:26pm UTC](https://discuss.elastic.co/t/kibana-returns-no-data-error-70-of-2425-shards-failed/262514 "2021-01-28T14:26:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dorinand](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dorinand/32/70521_2.png) [@dorinand](https://discuss.elastic.co/u/dorinand)\
**Post date:** [January 28, 2021, 2:26pm UTC](https://discuss.elastic.co/t/kibana-returns-no-data-error-70-of-2425-shards-failed/262514/1 "2021-01-28T14:26:03Z")

</div>

I encounter an error, when I trying to show messages from my index pattern. After short time, I am receiving error:

```
70 of 2425 shards failed

```

This message cant be enlarged, I can't click on it so basically, I do not know what is the core issue. I googled little bit and find out, it could be an issue with mapping or with shards. I check it, all my indices are in **green** state. All shards are in **STARTED** state.

I implement script, to query every index with:

```auto
curl -s 192.168.24.117:9200/$index/_search

```

I received no errors, an I also check the number of documents returned from `/_cat/indices` and `$index/_search`, they are matched.

I checked logs but when I perform request I can see no error in ES or Kibana.

I have approximately 550 indices, their mappings are created dynamically during index creation.

I create assumption that the problem could be with mappings (not sure). Can anybody helped me to find and fix damaged indices?

Kibana version: **6.7.1**  
Elastic version: **6.7.1**

---

<div class="post-metadata">

**Author:** ![dorinand](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dorinand/32/70521_2.png) [@dorinand](https://discuss.elastic.co/u/dorinand)\
**Post date:** [January 28, 2021, 5:06pm UTC](https://discuss.elastic.co/t/kibana-returns-no-data-error-70-of-2425-shards-failed/262514/2 "2021-01-28T17:06:34Z")

</div>

After a day of investigation, I found a solution.

Because I was not able to find any error in Kibana or Eeasticsearch, I decide to use google chrome **DevTools** -\> **Network tool**. In response data from Kibana, there were **14** indices with **type** and **reason** of error:

```
reason: "Trying to retrieve too many docvalue_fields. Must be less than or equal to: [100] but was [172]. This limit can be set by changing the [index.max_docvalue_fields_search] index level setting."
type: "illegal_argument_exception"

```

So I change settings for all indices from response and update **max\_docvalue\_fields\_search** :

```
PUT /<index-name>/_settings
{
	"index.max_docvalue_fields_search" : "100000"
}

```

After this change, I am able to use Kibana again without any issue.

---

<div class="post-metadata">

**Author:** ![wylie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wylie/32/81794_2.png) [@wylie](https://discuss.elastic.co/u/wylie)\
**Post date:** [January 28, 2021, 6:40pm UTC](https://discuss.elastic.co/t/kibana-returns-no-data-error-70-of-2425-shards-failed/262514/3 "2021-01-28T18:40:08Z")

</div>

This is fixed in the future release of 7.11: [https://github.com/elastic/kibana/issues/22897](https://github.com/elastic/kibana/issues/22897)

---

<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:** [February 25, 2021, 6:40pm UTC](https://discuss.elastic.co/t/kibana-returns-no-data-error-70-of-2425-shards-failed/262514/4 "2021-02-25T18:40:09Z")

</div>

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