# Download csv report is intermittently failing if documents are more

**URL:** https://discuss.elastic.co/t/download-csv-report-is-intermittently-failing-if-documents-are-more/345775
**Category:** Kibana
**Created:** [October 26, 2023, 6:53am UTC](https://discuss.elastic.co/t/download-csv-report-is-intermittently-failing-if-documents-are-more/345775 "2023-10-26T06:53:28Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)
#### Post date: [October 26, 2023, 12:23pm UTC](https://discuss.elastic.co/t/download-csv-report-is-intermittently-failing-if-documents-are-more/345775/2 "2023-10-26T12:23:52Z")

</div>

Hi @rkidev,

The download CSV limit is impacted by setting `xpack.reporting.csv.maxSizeBytes` as discussed in [this thread](https://discuss.elastic.co/t/reporting-generate-csv-maximum-limit/134692).

I would tread carefully on increasing the threshold as it has the potential to cause performance issues. There are some guidelines [here in the documentation that should help if you want to tweak the settings](https://www.elastic.co/guide/en/kibana/7.16/reporting-settings-kb.html#reporting-csv-settings). Alternatively can you try to split the download into 2?

---

_[View the full topic](https://discuss.elastic.co/t/download-csv-report-is-intermittently-failing-if-documents-are-more/345775)._
