# Just launch kibana meet error about result window size

**URL:** <https://discuss.elastic.co/t/just-launch-kibana-meet-error-about-result-window-size/175383>\
**Category:** Kibana\
**Created:** [April 4, 2019, 10:22am UTC](https://discuss.elastic.co/t/just-launch-kibana-meet-error-about-result-window-size/175383 "2019-04-04T10:22:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lin\_Zhu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lin_zhu/32/42206_2.png) [@Lin\_Zhu](https://discuss.elastic.co/u/Lin_Zhu)\
**Post date:** [April 4, 2019, 10:22am UTC](https://discuss.elastic.co/t/just-launch-kibana-meet-error-about-result-window-size/175383/1 "2019-04-04T10:22:39Z")

</div>

when I launch the elasticsearch.bat, I check the port 9200 and it works well. Then I launch the kibana.bat, it meets error as following:

* * *

log [10:15:41.497] [warning][stats-collection] Unable to fetch data from rollups collector  
error [10:15:41.501] [warning][stats-collection] [query\_phase\_execution\_exception] Result window is too large, from + size must be less than or equal to: [128] but was [10000]. See the scroll api for a more efficient way to request large data sets. This limit can be set by changing the [index.max\_result\_window] index level setting. :: {"path":"/.kibana/\_search","query":{"size":10000,"ignore\_unavailable":true,"filter\_path":"hits.hits.\_source.canvas-workpad"},"body":"{"query":{"bool":{"filter":{"term":{"type":"canvas-workpad"}}}}}","statusCode":500,"response":"{"error":{"root\_cause":[{"type":"query\_phase\_execution\_exception","reason":"Result window is too large, from + size must be less than or equal to: [128] but was [10000]. See the scroll api for a more efficient way to request large data sets. This limit can be set by changing the [index.max\_result\_window] index level setting."}],"type":"search\_phase\_execution\_exception","reason":"all shards failed","phase":"query","grouped":true,"failed\_shards":[{"shard":0,"index":".kibana\_1","node":"nbSn1hqaSWat0mZvUdXiGA","reason":{"type":"query\_phase\_execution\_exception","reason":"Result window is too large, from + size must be less than or equal to: [128] but was [10000]. See the scroll api for a more efficient way to request large data sets. This limit can be set by changing the [index.max\_result\_window] index level setting."}}]},"status":500}"}  
at respond (D:\elasticSearch\kibana-6.5.4-windows-x86\_64\node\_modules\elasticsearch\src\lib\transport.js:308:15)  
at checkRespForFailure (D:\elasticSearch\kibana-6.5.4-windows-x86\_64\node\_modules\elasticsearch\src\lib\transport.js:267:7)  
at HttpConnector. (D:\elasticSearch\kibana-6.5.4-windows-x86\_64\node\_modules\elasticsearch\src\lib\connectors\http.js:165:7)  
at IncomingMessage.wrapper (D:\elasticSearch\kibana-6.5.4-windows-x86\_64\node\_modules\elasticsearch\node\_modules\lodash\lodash.js:4949:19)  
at emitNone (events.js:111:20)  
at IncomingMessage.emit (events.js:208:7)  
at endReadableNT (\_stream\_readable.js:1064:12)  
at \_combinedTickCallback (internal/process/next\_tick.js:139:11)  
at process.\_tickCallback (internal/process/next\_tick.js:181:9)

* * *

I try using python to connect elasticsearch, it can feedback as usural, and I do change the window size last time, but I didn't expect that it can cause errors when kibana launch.

---

<div class="post-metadata">

**Author:** ![mattkime](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mattkime/32/43522_2.png) [@mattkime](https://discuss.elastic.co/u/mattkime)\
**Post date:** [April 4, 2019, 8:06pm UTC](https://discuss.elastic.co/t/just-launch-kibana-meet-error-about-result-window-size/175383/2 "2019-04-04T20:06:27Z")

</div>

Hello @Lin_Zhu

Did you try setting a larger value for index.max\_result\_window in config/kibana.yml ? Increasing this value may have other side effects but it would be good to confirm that this is the extent of the problem.

---

<div class="post-metadata">

**Author:** ![Lin\_Zhu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lin_zhu/32/42206_2.png) [@Lin\_Zhu](https://discuss.elastic.co/u/Lin_Zhu)\
**Post date:** [April 7, 2019, 2:26am UTC](https://discuss.elastic.co/t/just-launch-kibana-meet-error-about-result-window-size/175383/3 "2019-04-07T02:26:18Z")

</div>

Thank you!! I tried but I didn't find that variable in the kibana.yml, so I tried to modify it in the command line, but the command “-XPUT” can't work. (I just want to constrain the number of return documents, I think it's a simple operation, but it seems troublesome, maybe because I didn't get the mechanism of it. If you know how to do it, maybe you can tell me, thanks a lot:) )

 ![tempsnip](https://us1.discourse-cdn.com/elastic/original/3X/f/5/f52a6b86802779a0924712252ff6972dc4b86668.png)

---

<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 5, 2019, 2:26am UTC](https://discuss.elastic.co/t/just-launch-kibana-meet-error-about-result-window-size/175383/4 "2019-05-05T02:26:22Z")

</div>

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