# N shards out of N failed

**URL:** <https://discuss.elastic.co/t/n-shards-out-of-n-failed/156327>\
**Category:** Kibana\
**Created:** [November 12, 2018, 5:32pm UTC](https://discuss.elastic.co/t/n-shards-out-of-n-failed/156327 "2018-11-12T17:32:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ccutmt](https://avatars.discourse-cdn.com/v4/letter/c/ee7513/32.png) [@ccutmt](https://discuss.elastic.co/u/ccutmt)\
**Post date:** [November 12, 2018, 5:32pm UTC](https://discuss.elastic.co/t/n-shards-out-of-n-failed/156327/1 "2018-11-12T17:32:16Z")

</div>

Hi,

I'm currently running in a strange issue with 2 newly created indices. After, I've created the indices and imported all the visualizations and dashboards, everything works well for about 10hrs until something really strange happens. All the raw logs from the beat can be seen as published from the Discover tab, however, when I traverse through the newly created dashboard I'm having a number of popups saying "5 shards out of 10 failed".

I also reviewed the status of the shards and the indices and all looks green. In addition, I've tried to get some information using the HAR online tool for more details, however this isn't illustrating any errors.

Any thoughts how such issue can be resolved?

Thanks,

Chris

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [November 13, 2018, 8:14am UTC](https://discuss.elastic.co/t/n-shards-out-of-n-failed/156327/2 "2018-11-13T08:14:56Z")

</div>

It might be worth asking this on the Kibana forum as I don't know exactly what "5 shards out of 10 failed" means in terms of Elasticsearch. I would also look to the Elasticsearch server logs at around the time of the message and see if there's anything notable in there.

---

<div class="post-metadata">

**Author:** ![ccutmt](https://avatars.discourse-cdn.com/v4/letter/c/ee7513/32.png) [@ccutmt](https://discuss.elastic.co/u/ccutmt)\
**Post date:** [November 13, 2018, 10:17am UTC](https://discuss.elastic.co/t/n-shards-out-of-n-failed/156327/3 "2018-11-13T10:17:24Z")

</div>

Thanks @DavidTurner, will do.

---

<div class="post-metadata">

**Author:** ![ccutmt](https://avatars.discourse-cdn.com/v4/letter/c/ee7513/32.png) [@ccutmt](https://discuss.elastic.co/u/ccutmt)\
**Post date:** [November 16, 2018, 4:16pm UTC](https://discuss.elastic.co/t/n-shards-out-of-n-failed/156327/4 "2018-11-16T16:16:33Z")

</div>

Got hold of the error using the [HAR](https://toolbox.googleapps.com/apps/har_analyzer/) Google online-tool. The error is the following:

`"type":"illegal_argument_exception","reason":"Fielddata is disabled on text fields by default. Set fielddata=true on [system.process.cmdline] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory. Alternatively use a keyword field instead."`

For anyone reading this, message the HAR is is extremely useful in pinpointing which issues with Kibana talking to Elasticsearch.

---

<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:** [December 14, 2018, 4:16pm UTC](https://discuss.elastic.co/t/n-shards-out-of-n-failed/156327/5 "2018-12-14T16:16:38Z")

</div>

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