# Kibana failing to query elasticsearch

**URL:** <https://discuss.elastic.co/t/kibana-failing-to-query-elasticsearch/89299>\
**Category:** Kibana\
**Created:** [June 14, 2017, 5:47am UTC](https://discuss.elastic.co/t/kibana-failing-to-query-elasticsearch/89299 "2017-06-14T05:47:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Darshan\_Parab](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/darshan_parab/32/51098_2.png) [@Darshan\_Parab](https://discuss.elastic.co/u/Darshan_Parab)\
**Post date:** [June 14, 2017, 5:47am UTC](https://discuss.elastic.co/t/kibana-failing-to-query-elasticsearch/89299/1 "2017-06-14T05:47:15Z")

</div>

Hi All,

I'm getting an error while using a dashboard. Not able to figure out what is going wrong.

* * *

## Error: Request to Elasticsearch failed: {"error":{"root\_cause":[{"type":"circuit\_breaking\_exception","reason":"[request] Data too large, data for [\<reused\_arrays\>] would be [1267582136/1.1gb], which is larger than the limit of [1267571097/1.1gb]","bytes\_wanted":1267582136,"bytes\_limit":1267571097},{"type":"circuit\_breaking\_exception","reason":"[request] Data too large, data for [\<agg [1]\>] would be [1267574424/1.1gb], which is larger than the limit of [1267571097/1.1gb]","bytes\_wanted":1267574424,"bytes\_limit":1267571097},{"type":"circuit\_breaking\_exception","reason":"[request] Data too large, data for [\<reused\_arrays\>] would be [1267585744/1.1gb], which is larger than the limit of [1267571097/1.1gb]","bytes\_wanted":1267585744,"bytes\_limit":1267571097},{"type":"circuit\_breaking\_exception","reason":"[request] Data too large, data for [\<agg [3]\>] would be [1267574424/1.1gb], which is larger than the limit of [1267571097/1.1gb]","bytes\_wanted":1267574424,"bytes\_limit":1267571097}],"type":"search\_phase\_execution\_exception","reason":"all shards failed","phase":"query","grouped":true,"failed\_shards":[{"shard":0,"index":"va","node":"KuXT-BxhQ7iSdONqNJZPtw","reason":{"type":"circuit\_breaking\_exception","reason":"[request] Data too large, data for [\<reused\_arrays\>] would be [1267582136/1.1gb], which is larger than the limit of [1267571097/1.1gb]","bytes\_wanted":1267582136,"bytes\_limit":1267571097}},{"shard":1,"index":"va","node":"KuXT-BxhQ7iSdONqNJZPtw","reason":{"type":"circuit\_breaking\_exception","reason":"[request] Data too large, data for [\<agg [1]\>] would be [1267574424/1.1gb], which is larger than the limit of [1267571097/1.1gb]","bytes\_wanted":1267574424,"bytes\_limit":1267571097}},{"shard":2,"index":"va","node":"KuXT-BxhQ7iSdONqNJZPtw","reason":{"type":"circuit\_breaking\_exception","reason":"[request] Data too large, data for [\<reused\_arrays\>] would be [1267585744/1.1gb], which is larger than the limit of [1267571097/1.1gb]","bytes\_wanted":1267585744,"bytes\_limit":1267571097}},{"shard":4,"index":"va","node":"KuXT-BxhQ7iSdONqNJZPtw","reason":{"type":"circuit\_breaking\_exception","reason":"[request] Data too large, data for [\<agg [3]\>] would be [1267574424/1.1gb], which is larger than the limit of [1267571097/1.1gb]","bytes\_wanted":1267574424,"bytes\_limit":1267571097}}]},"status":503} at [http://x.x.x.x/bundles/kibana.bundle.js?v=15104:28:10760](http://x.x.x.x/bundles/kibana.bundle.js?v=15104:28:10760) at Function.Promise.try ([http://x.x.x.x/bundles/commons.bundle.js?v=15104:82:22203](http://x.x.x.x/bundles/commons.bundle.js?v=15104:82:22203)) at [http://x.x.x.x/bundles/commons.bundle.js?v=15104:82:21573](http://x.x.x.x/bundles/commons.bundle.js?v=15104:82:21573) at Array.map (native) at Function.Promise.map ([http://x.x.x.x/bundles/commons.bundle.js?v=15104:82:21528](http://x.x.x.x/bundles/commons.bundle.js?v=15104:82:21528)) at callResponseHandlers ([http://x.x.x.x/bundles/kibana.bundle.js?v=15104:28:10376](http://x.x.x.x/bundles/kibana.bundle.js?v=15104:28:10376)) at [http://x.x.x.x/bundles/kibana.bundle.js?v=15104:27:29944](http://x.x.x.x/bundles/kibana.bundle.js?v=15104:27:29944) at processQueue ([http://x.x.x.x/bundles/commons.bundle.js?v=15104:38:23621](http://x.x.x.x/bundles/commons.bundle.js?v=15104:38:23621)) at [http://x.x.x.x/bundles/commons.bundle.js?v=15104:38:23888](http://x.x.x.x/bundles/commons.bundle.js?v=15104:38:23888) at Scope.$eval ([http://x.x.x.x/bundles/commons.bundle.js?v=15104:39:4619](http://x.x.x.x/bundles/commons.bundle.js?v=15104:39:4619))

---

<div class="post-metadata">

**Author:** ![spalger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spalger/32/14092_2.png) [@spalger](https://discuss.elastic.co/u/spalger)\
**Post date:** [June 14, 2017, 4:46pm UTC](https://discuss.elastic.co/t/kibana-failing-to-query-elasticsearch/89299/2 "2017-06-14T16:46:18Z")

</div>

> [@Darshan\_Parab](#):
>
> circuit\_breaking\_exception

> **[Circuit breaker settings | Elasticsearch Guide \[8.11\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/circuit-breaker.html)**

The elasticsearch circuit breaker prevents running queries that would take down elasticsearch. Selecting less data or increasing your elasticsearch capacity should fix this.

---

<div class="post-metadata">

**Author:** ![Darshan\_Parab](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/darshan_parab/32/51098_2.png) [@Darshan\_Parab](https://discuss.elastic.co/u/Darshan_Parab)\
**Post date:** [June 14, 2017, 5:01pm UTC](https://discuss.elastic.co/t/kibana-failing-to-query-elasticsearch/89299/3 "2017-06-14T17:01:09Z")

</div>

Will adding more elasticsearch nodes help in this situation?

---

<div class="post-metadata">

**Author:** ![spalger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spalger/32/14092_2.png) [@spalger](https://discuss.elastic.co/u/spalger)\
**Post date:** [June 14, 2017, 5:30pm UTC](https://discuss.elastic.co/t/kibana-failing-to-query-elasticsearch/89299/4 "2017-06-14T17:30:52Z")

</div>

It should, but make sure you consider other factors that impact elasticsearch scale like the number of shards and replicas: [https://www.elastic.co/guide/en/elasticsearch/guide/master/\_scale\_horizontally.html](https://www.elastic.co/guide/en/elasticsearch/guide/master/_scale_horizontally.html)

---

<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:** [July 12, 2017, 5:31pm UTC](https://discuss.elastic.co/t/kibana-failing-to-query-elasticsearch/89299/5 "2017-07-12T17:31:44Z")

</div>

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