# Reporting - CSV Export: reached the max size and contains partial data

**URL:** https://discuss.elastic.co/t/reporting-csv-export-reached-the-max-size-and-contains-partial-data/116626
**Category:** Elasticsearch
**Created:** [January 23, 2018, 9:30am UTC](https://discuss.elastic.co/t/reporting-csv-export-reached-the-max-size-and-contains-partial-data/116626 "2018-01-23T09:30:25Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![asp](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@asp](https://discuss.elastic.co/u/asp)
#### Post date: [January 23, 2018, 9:30am UTC](https://discuss.elastic.co/t/reporting-csv-export-reached-the-max-size-and-contains-partial-data/116626/1 "2018-01-23T09:30:25Z")

</div>

Hi,

I get following error when exporting my data:  
`Your report for the "mySearch" search is ready;however, it reached the max size and contains partial data. Pick it up from Management > Kibana > Reporting`

How can I increase the max number of exported bytes / events / whatever?

Thanks, Andreas

---

<div class="post-metadata">

### Author: ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)
#### Post date: [January 24, 2018, 11:41pm UTC](https://discuss.elastic.co/t/reporting-csv-export-reached-the-max-size-and-contains-partial-data/116626/2 "2018-01-24T23:41:06Z")

</div>

Add `xpack.reporting.csv.maxSizeBytes: 20971520` to `kibana.yml`. Value is in bytes. Default is 10485760

---

<div class="post-metadata">

### Author: ![asp](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@asp](https://discuss.elastic.co/u/asp)
#### Post date: [January 29, 2018, 1:45pm UTC](https://discuss.elastic.co/t/reporting-csv-export-reached-the-max-size-and-contains-partial-data/116626/3 "2018-01-29T13:45:36Z")

</div>

cool, thanks

---

<div class="post-metadata">

### Author: ![Patrick\_Maroney](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/patrick_maroney/32/14352_2.png) [@Patrick\_Maroney](https://discuss.elastic.co/u/Patrick_Maroney)
#### Post date: [January 31, 2018, 3:53pm UTC](https://discuss.elastic.co/t/reporting-csv-export-reached-the-max-size-and-contains-partial-data/116626/4 "2018-01-31T15:53:23Z")

</div>

> [@Nathan\_Reese](#):
>
> xpack.reporting.csv.maxSizeBytes: 20971520 to kibana.yml. Value is in bytes. Default is 10485760

What is the Maximum Value for xpack.reporting.csv.maxSizeBytes?  
We understand it can have performance impacts, but for Use Cases where this is acceptable to meet customer requirement, how big can we make this?

---

<div class="post-metadata">

### Author: ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)
#### Post date: [January 31, 2018, 4:15pm UTC](https://discuss.elastic.co/t/reporting-csv-export-reached-the-max-size-and-contains-partial-data/116626/5 "2018-01-31T16:15:50Z")

</div>

@Patrick_Maroney the CSV export creates a single document that is then stored in Elasticsearch, so the maximum is dependent on what Elasticsearch itself can support. There's `http.max_content_length` setting discussed [here](https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-http.html) that you'l have to keep the `xpack.reporting.csv.maxSizeByte` under or it'll error out when inserting the document into Elasticsearch.

With that being said, making this value too much larger than the default 10 mB limit is untested and unsupported, and this should be done at your own risk and it has the potential to negatively affect the performance of your Elasticsearch cluster.

---

<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: [February 28, 2018, 4:16pm UTC](https://discuss.elastic.co/t/reporting-csv-export-reached-the-max-size-and-contains-partial-data/116626/6 "2018-02-28T16:16:23Z")

</div>

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