# I'm getting error of 'x of y shards failed' try to open in kibana visualization dashboard

**URL:** <https://discuss.elastic.co/t/im-getting-error-of-x-of-y-shards-failed-try-to-open-in-kibana-visualization-dashboard/227755>\
**Category:** Kibana\
**Created:** [April 13, 2020, 10:19am UTC](https://discuss.elastic.co/t/im-getting-error-of-x-of-y-shards-failed-try-to-open-in-kibana-visualization-dashboard/227755 "2020-04-13T10:19:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vishnuvardhan](https://avatars.discourse-cdn.com/v4/letter/v/50afbb/32.png) [@vishnuvardhan](https://discuss.elastic.co/u/vishnuvardhan)\
**Post date:** [April 13, 2020, 10:19am UTC](https://discuss.elastic.co/t/im-getting-error-of-x-of-y-shards-failed-try-to-open-in-kibana-visualization-dashboard/227755/1 "2020-04-13T10:19:59Z")

</div>

Hi Team,

In my production environment kibana i am trying to open the kibana visualization dashboard , I'm getting error of '1 of 3 shards failed' in kibana UI right side corner.

could please help us how to trace this logs and how you can enable the logs  
please provide where to find this issue ?

i already checked in my elasticserach and kibana logs ..no information found

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/e/7ec6ca6bf78239733be2f956a7b54b8ab7a93aec.png)  
Thanks in advance!!

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [April 13, 2020, 3:24pm UTC](https://discuss.elastic.co/t/im-getting-error-of-x-of-y-shards-failed-try-to-open-in-kibana-visualization-dashboard/227755/2 "2020-04-13T15:24:14Z")

</div>

> [@vishnuvardhan](#):
>
> 1 of 3 shards failed'

You probably have too many shards per node. This is not a Kibana error, but rather an elasticsearch issue. You have failing or otherwise unavailable primary shards. May I suggest you look at the following resources about sizing:

[https://www.elastic.co/elasticon/conf/2016/sf/quantitative-cluster-sizing](https://www.elastic.co/elasticon/conf/2016/sf/quantitative-cluster-sizing)

Also for the logs, I would recommend you using ES slow log feature  
[https://www.elastic.co/guide/en/elasticsearch/reference/current/index-modules-slowlog.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/index-modules-slowlog.html)

You can set the time to 0 and get it to log every query. There are some config variables we can use to gain more control of log output. For posterity, here are some of the possible config values you could set, either in kibana.yml or via the command line when calling `bin/kibana` .

| setting | desc | effect |
| --- | --- | --- |
| `logging.silent` | bool | no output, don't even setup the logging output |
| `logging.quiet` | bool | Only log messages tagged with `error` or `fatal` tags, or errors caught by hapi |
| `logging.verbose` | bool | Log all the things, including information about system usage and every request |
| `logging.events` | map of log types to the tags they should output. Supports `*` tag | provides access to every possible combination of logging output filtering. Also can add support for custom loggers setup by plugins, etc. |

once you set this, you can see the verbose logs.

Thanks  
Rashmi

---

<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:** [May 11, 2020, 3:24pm UTC](https://discuss.elastic.co/t/im-getting-error-of-x-of-y-shards-failed-try-to-open-in-kibana-visualization-dashboard/227755/3 "2020-05-11T15:24:15Z")

</div>

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