# Reporting - Generate CSV maximum limit

**URL:** https://discuss.elastic.co/t/reporting-generate-csv-maximum-limit/134692
**Category:** Kibana
**Created:** [June 5, 2018, 8:57pm UTC](https://discuss.elastic.co/t/reporting-generate-csv-maximum-limit/134692 "2018-06-05T20:57:11Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![SandyKWill](https://avatars.discourse-cdn.com/v4/letter/s/ce7236/32.png) [@SandyKWill](https://discuss.elastic.co/u/SandyKWill)
#### Post date: [June 5, 2018, 8:57pm UTC](https://discuss.elastic.co/t/reporting-generate-csv-maximum-limit/134692/1 "2018-06-05T20:57:11Z")

</div>

What is the limit on the logs downloaded using the "Generate CSV" report feature?  
The first time I ran it, I successfully downloaded all 13,550 records that were shown in Discover.  
Today, I ran the same search (24 hours) which showed about 17,000 records but it only downloaded 8,305 with a message of "completed - max size reached".  
Every search I have tried since then has given me the same message, but I am hitting different limits... the next one cut off at 8,160.  
What is the limit and is there any way to increase it?

Thanks,  
Sandy

---

<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: [June 6, 2018, 3:13pm UTC](https://discuss.elastic.co/t/reporting-generate-csv-maximum-limit/134692/2 "2018-06-06T15:13:18Z")

</div>

The size limit is based on download size and not the record count. The threshold defaults to 10MB. You can adjust the value by setting `xpack.reporting.csv.maxSizeBytes` in your kibana.yml. The CSV job stores the exported CSV into elasticsearch so be cautious of increasing the size to extremely large numbers.

---

<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 4, 2018, 3:13pm UTC](https://discuss.elastic.co/t/reporting-generate-csv-maximum-limit/134692/3 "2018-07-04T15:13:22Z")

</div>

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