# Exporting large number of objects from Kibana - errors

**URL:** <https://discuss.elastic.co/t/exporting-large-number-of-objects-from-kibana-errors/291158>\
**Category:** Kibana\
**Created:** [December 7, 2021, 7:41pm UTC](https://discuss.elastic.co/t/exporting-large-number-of-objects-from-kibana-errors/291158 "2021-12-07T19:41:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vee](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vee/32/55759_2.png) [@vee](https://discuss.elastic.co/u/vee)\
**Post date:** [December 7, 2021, 7:41pm UTC](https://discuss.elastic.co/t/exporting-large-number-of-objects-from-kibana-errors/291158/1 "2021-12-07T19:41:31Z")

</div>

Hi there, We have v7.5 Elasticsearch/Kibana. Trying to export Saved Objects in prod (~12,000 objects). But it's erroring with this reason in Kibana with this error: Unable to generate export.  
Here are the Kibana logs at the time of error:

```auto
Caused by: java.lang.IllegalArgumentException: Result window is too large, from + size must be less than or equal to: [10000] but was [11000]. 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.

```

I see that we could increase the scroll size to a higher value using this command:

```auto
curl -XPUT "http://localhost:9200/my_index/_settings" -H 'Content-Type: application/json' -d '{ "index" : { "max_result_window" : 500000 } }'

```

Before I do that, got a couple of questions:

1. Which index should I be updating this setting for? We have over 100 unique indices and so should we be updating for them all?
2. Is there a different cluster wide setting that might help?
3. Is there a performance impact due to increasing this value?

Also - I would be interested to know if anyone automated exporting objects from one instance of Kibana to the other. When I tried to do in non-prod, I ran into several conflict errors and so would like to know if others had tried to resolve the problem.

Thanks for your time!

---

<div class="post-metadata">

**Author:** ![corey.robertson](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/corey.robertson/32/54611_2.png) [@corey.robertson](https://discuss.elastic.co/u/corey.robertson)\
**Post date:** [December 7, 2021, 7:58pm UTC](https://discuss.elastic.co/t/exporting-large-number-of-objects-from-kibana-errors/291158/2 "2021-12-07T19:58:35Z")

</div>

The Saved Objects are in the `.kibana` index, so that is the index you should make the change to. Would also recommend changing it back after you are finished exporting.

---

<div class="post-metadata">

**Author:** ![vee](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vee/32/55759_2.png) [@vee](https://discuss.elastic.co/u/vee)\
**Post date:** [December 8, 2021, 6:59pm UTC](https://discuss.elastic.co/t/exporting-large-number-of-objects-from-kibana-errors/291158/3 "2021-12-08T18:59:38Z")

</div>

Thanks Corey!

---

<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:** [January 5, 2022, 6:59pm UTC](https://discuss.elastic.co/t/exporting-large-number-of-objects-from-kibana-errors/291158/4 "2022-01-05T18:59:55Z")

</div>

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