# Downloading large amount of logs as CSV using Kibana/Eland

**URL:** https://discuss.elastic.co/t/downloading-large-amount-of-logs-as-csv-using-kibana-eland/343768
**Category:** Kibana
**Created:** [September 25, 2023, 1:29pm UTC](https://discuss.elastic.co/t/downloading-large-amount-of-logs-as-csv-using-kibana-eland/343768 "2023-09-25T13:29:26Z")
**Posts on this page:** 1
**Showing post:** 4

<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: [September 26, 2023, 11:00am UTC](https://discuss.elastic.co/t/downloading-large-amount-of-logs-as-csv-using-kibana-eland/343768/4 "2023-09-26T11:00:18Z")

</div>

Hi @xynobob,

Sorry to hear that Elastic Support were not of much help. We're happy to do our best efforts here!

There is a 10MB limit by default which can be configured via the [`xpack.reporting.csv.maxSizeBytes`](https://www.elastic.co/guide/en/kibana/current/reporting-settings-kb.html#reporting-csv-settings) setting in kibana.yml for your cluster [as per this thread](https://discuss.elastic.co/t/reporting-generate-csv-maximum-limit/134692). You'll see [in the docs](https://www.elastic.co/guide/en/kibana/current/reporting-settings-kb.html#reporting-csv-settings) that we recommend if you need to export more than 250MB you might want to consider exporting in smaller batches, which you could do by splitting your requests across multiple timeframes.

For the first option of Python, are you using the [Eland ML client](https://www.elastic.co/guide/en/elasticsearch/client/eland/current/overview.html) or the [Elasticsearch Python client](https://www.elastic.co/guide/en/elasticsearch/client/python-api/current/index.html)? Your original message mentioned the Eland client, but the thread is referencing the latter.

That aside, having a look [at the docs](https://www.elastic.co/guide/en/kibana/current/reporting-settings-kb.html#reporting-csv-settings) I see a couple of other options you could try:

1. Export via the [Point in time API](https://www.elastic.co/guide/en/elasticsearch/reference/8.10/point-in-time-api.html).
2. [SQL with the CSV response format](https://www.elastic.co/guide/en/elasticsearch/reference/8.10/sql-rest-format.html#_csv)

Let us know if any of those options, potentially in batches, help you get the data you need.

---

_[View the full topic](https://discuss.elastic.co/t/downloading-large-amount-of-logs-as-csv-using-kibana-eland/343768)._
