# Max CSV export elastic cloud 50MB, how to increase it

**URL:** https://discuss.elastic.co/t/max-csv-export-elastic-cloud-50mb-how-to-increase-it/301016
**Category:** Kibana
**Created:** [March 30, 2022, 2:28am UTC](https://discuss.elastic.co/t/max-csv-export-elastic-cloud-50mb-how-to-increase-it/301016 "2022-03-30T02:28:15Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Gustavo\_Llermaly](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gustavo_llermaly/32/92019_2.png) [@Gustavo\_Llermaly](https://discuss.elastic.co/u/Gustavo_Llermaly)
#### Post date: [March 30, 2022, 2:28am UTC](https://discuss.elastic.co/t/max-csv-export-elastic-cloud-50mb-how-to-increase-it/301016/1 "2022-03-30T02:28:15Z")

</div>

Hello, I need to generate large CSV reports so I must set 'xpack.reporting.csv.maxSizeBytes' to a high value but I'm being capped at 50MB, how can I go beyond that?

The error when trying to save the changes is:

Kibana - 'xpack.reporting.csv.maxSizeBytes': has to be a number between [0, 52428800] inclusive

Thanks

---

<div class="post-metadata">

### Author: ![tsullivan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsullivan/32/31077_2.png) [@tsullivan](https://discuss.elastic.co/u/tsullivan)
#### Post date: [March 30, 2022, 8:19pm UTC](https://discuss.elastic.co/t/max-csv-export-elastic-cloud-50mb-how-to-increase-it/301016/2 "2022-03-30T20:19:45Z")

</div>

This could be a restriction that isn't necessarily needed in newer versions, or just a bug in the application. You can notify the support team of this issue at [https://cloud.elastic.co/support](https://cloud.elastic.co/support)

---

<div class="post-metadata">

### Author: ![Gustavo\_Llermaly](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gustavo_llermaly/32/92019_2.png) [@Gustavo\_Llermaly](https://discuss.elastic.co/u/Gustavo_Llermaly)
#### Post date: [March 30, 2022, 8:24pm UTC](https://discuss.elastic.co/t/max-csv-export-elastic-cloud-50mb-how-to-increase-it/301016/3 "2022-03-30T20:24:50Z")

</div>

Thank you @tsullivan I think the same after the change with the chunked requests. Also, Elasticsearch body size can not be changed in elastic cloud. Do you think the default value would accept a high csv export size?

---

<div class="post-metadata">

### Author: ![tsullivan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsullivan/32/31077_2.png) [@tsullivan](https://discuss.elastic.co/u/tsullivan)
#### Post date: [March 31, 2022, 10:51pm UTC](https://discuss.elastic.co/t/max-csv-export-elastic-cloud-50mb-how-to-increase-it/301016/4 "2022-03-31T22:51:15Z")

</div>

> [@Gustavo\_Llermaly](#):
>
> Do you think the default value would accept a high csv export size?

Which version are you using? The dev team worked on an optimization change to save CSV export data into Elasticsearch by partitioning chunks of the CSV data across multiple ES documents in [v7.15](https://github.com/elastic/kibana/pull/108485). Is that what you are referring to with "the change with the chunked requests" ?

In that optimization, Kibana detects the max body size that ES will accept, and uses that as the size for each chunk in the partitioned data.

---

<div class="post-metadata">

### Author: ![Gustavo\_Llermaly](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gustavo_llermaly/32/92019_2.png) [@Gustavo\_Llermaly](https://discuss.elastic.co/u/Gustavo_Llermaly)
#### Post date: [March 31, 2022, 11:02pm UTC](https://discuss.elastic.co/t/max-csv-export-elastic-cloud-50mb-how-to-increase-it/301016/5 "2022-03-31T23:02:17Z")

</div>

Yes, I read that PR and was very excited about that change. We are using Elastic Cloud 8.1 and just could bump from 10MB to 50MB ☹

---

<div class="post-metadata">

### Author: ![tsullivan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsullivan/32/31077_2.png) [@tsullivan](https://discuss.elastic.co/u/tsullivan)
#### Post date: [April 1, 2022, 5:50pm UTC](https://discuss.elastic.co/t/max-csv-export-elastic-cloud-50mb-how-to-increase-it/301016/6 "2022-04-01T17:50:02Z")

</div>

> [@Gustavo\_Llermaly](#):
>
> Yes, I read that PR and was very excited about that change. We are using Elastic Cloud 8.1 and just could bump from 10MB to 50MB ☹

Sorry to hear that. I do just want to emphasize that the only way to see improvement in this area will be to file an issue in [https://cloud.elastic.co/support](https://cloud.elastic.co/support).

The docs on User Settings explain there is a maximum to this value: [Edit Kibana user settings | Elasticsearch Service Documentation | Elastic](https://www.elastic.co/guide/en/cloud/current/ec-manage-kibana-settings.html). Let's consider that a bug as of 7.15.

---

<div class="post-metadata">

### Author: ![tsullivan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsullivan/32/31077_2.png) [@tsullivan](https://discuss.elastic.co/u/tsullivan)
#### Post date: [April 1, 2022, 5:50pm UTC](https://discuss.elastic.co/t/max-csv-export-elastic-cloud-50mb-how-to-increase-it/301016/7 "2022-04-01T17:50:43Z")

</div>

> [@Gustavo\_Llermaly](#):
>
> Hello, I need to generate large CSV reports so I must set 'xpack.reporting.csv.maxSizeBytes' to a high value but I'm being capped at 50MB, how can I go beyond that?

Just curious, what value do you need it set to?

---

<div class="post-metadata">

### Author: ![Gustavo\_Llermaly](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gustavo_llermaly/32/92019_2.png) [@Gustavo\_Llermaly](https://discuss.elastic.co/u/Gustavo_Llermaly)
#### Post date: [April 1, 2022, 6:06pm UTC](https://discuss.elastic.co/t/max-csv-export-elastic-cloud-50mb-how-to-increase-it/301016/8 "2022-04-01T18:06:42Z")

</div>

The previous platform allowed CSV dumps for 1mm rows - 2.5gb , so we want to get as close as possible to that number.

Do you think that cap will be removed soon? (this year?)

---

<div class="post-metadata">

### Author: ![Gustavo\_Llermaly](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gustavo_llermaly/32/92019_2.png) [@Gustavo\_Llermaly](https://discuss.elastic.co/u/Gustavo_Llermaly)
#### Post date: [April 6, 2022, 11:14am UTC](https://discuss.elastic.co/t/max-csv-export-elastic-cloud-50mb-how-to-increase-it/301016/9 "2022-04-06T11:14:48Z")

</div>

We made a custom request and the limit was increased by Elastic Cloud Support. We started at 500MB and we could get 200K rows report in 4min so it is a good start. Kibana node has 4GB. Indeed the cap removal was approved by you guys, so hopefully we have it removed in future versions.

---

<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 4, 2022, 11:15am UTC](https://discuss.elastic.co/t/max-csv-export-elastic-cloud-50mb-how-to-increase-it/301016/10 "2022-05-04T11:15:17Z")

</div>

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