# CSV export from kibana dashboard through external API call

**URL:** https://discuss.elastic.co/t/csv-export-from-kibana-dashboard-through-external-api-call/340299
**Category:** Kibana
**Tags:** elastic-stack-reporting, dashboard
**Created:** [August 7, 2023, 9:16pm UTC](https://discuss.elastic.co/t/csv-export-from-kibana-dashboard-through-external-api-call/340299 "2023-08-07T21:16:26Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![manish0803](https://avatars.discourse-cdn.com/v4/letter/m/54ee81/32.png) [@manish0803](https://discuss.elastic.co/u/manish0803)
#### Post date: [August 7, 2023, 9:16pm UTC](https://discuss.elastic.co/t/csv-export-from-kibana-dashboard-through-external-api-call/340299/1 "2023-08-07T21:16:26Z")

</div>

Hi,

I have researched and implemented the csv export functionality by calling the export link provided by Kibana.  
referenced : [Automatically generate reports | Kibana Guide [8.6] | Elastic](https://www.elastic.co/guide/en/kibana/8.6/automating-report-generation.html)  
However, when I use the link it responds with download link and If I click the download link it takes at least 30 seconds to fetch data and if requested early sends a blank response.

How can I make Kibana to respond in less time as 30 seconds is way more than anticipated ?

---

<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: [September 4, 2023, 9:16pm UTC](https://discuss.elastic.co/t/csv-export-from-kibana-dashboard-through-external-api-call/340299/2 "2023-09-04T21:16:49Z")

</div>

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

---

<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 25, 2023, 4:43pm UTC](https://discuss.elastic.co/t/csv-export-from-kibana-dashboard-through-external-api-call/340299/3 "2023-09-25T16:43:22Z")

</div>

Hi @manish0803,

Welcome to the community! Do you know how many documents are returned in your report?

If you're struggling to export the report, you can try using the [POST URL](https://www.elastic.co/guide/en/kibana/current/automating-report-generation.html#create-a-post-url) to export the report.
