# Download Kibana Report from outside Kibana

**URL:** https://discuss.elastic.co/t/download-kibana-report-from-outside-kibana/260582
**Category:** Kibana
**Created:** [January 8, 2021, 9:16pm UTC](https://discuss.elastic.co/t/download-kibana-report-from-outside-kibana/260582 "2021-01-08T21:16:19Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![ssarnava](https://avatars.discourse-cdn.com/v4/letter/s/50afbb/32.png) [@ssarnava](https://discuss.elastic.co/u/ssarnava)
#### Post date: [January 8, 2021, 9:16pm UTC](https://discuss.elastic.co/t/download-kibana-report-from-outside-kibana/260582/1 "2021-01-08T21:16:19Z")

</div>

Hi,  
I am using ELK 7.9.0 version. I am able to generate dashboard report from Kibana and can download that report from inside Kibana. But my requirement is little different. I have to trigger CSV dashboard report generation from outside Kibana and get that CSV report in UNIX box where Kibana is running.  
I am able to trigger report generation using below curl command from unix prompt; reports are also getting generated but not getting those CSV files in my unix filesystem. Is there any rest api call which I can make from outside Kibana and download those CSV files?

---

<div class="post-metadata">

### Author: ![LizaD](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lizad/32/51074_2.png) [@LizaD](https://discuss.elastic.co/u/LizaD)
#### Post date: [January 8, 2021, 9:27pm UTC](https://discuss.elastic.co/t/download-kibana-report-from-outside-kibana/260582/2 "2021-01-08T21:27:41Z")

</div>

Hi @ssarnava, welcome to our community! The link below describes what we currently support for automating report generation: [https://www.elastic.co/guide/en/kibana/7.9/automating-report-generation.html](https://www.elastic.co/guide/en/kibana/7.9/automating-report-generation.html)

Let us know if this helps.

Thanks,  
Liza

---

<div class="post-metadata">

### Author: ![ssarnava](https://avatars.discourse-cdn.com/v4/letter/s/50afbb/32.png) [@ssarnava](https://discuss.elastic.co/u/ssarnava)
#### Post date: [January 8, 2021, 9:33pm UTC](https://discuss.elastic.co/t/download-kibana-report-from-outside-kibana/260582/3 "2021-01-08T21:33:09Z")

</div>

Hi @Lizad, thanks for your prompt reply. I have already went through this link and generating CSV report using script. But I need to know how to download those CSV reports from outside Kibana.

Note: I can download report from inside Kibana (StackManagement-\>Alerts & Insight-\>reporting) but that's not my requirement.

---

<div class="post-metadata">

### Author: ![LizaD](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lizad/32/51074_2.png) [@LizaD](https://discuss.elastic.co/u/LizaD)
#### Post date: [January 12, 2021, 1:28am UTC](https://discuss.elastic.co/t/download-kibana-report-from-outside-kibana/260582/4 "2021-01-12T01:28:41Z")

</div>

Hi @ssarnava,

From the request to generate a report, the URL for report is returned in the JSON response. Try creating a script to poll for the URL and status code 200. Then you can download the CSV from that URL.

More details here: [https://www.elastic.co/guide/en/kibana/current/automating-report-generation.html#\_use\_a\_script](https://www.elastic.co/guide/en/kibana/current/automating-report-generation.html#_use_a_script)

Let us know if this helps. Thanks.

---

<div class="post-metadata">

### Author: ![ssarnava](https://avatars.discourse-cdn.com/v4/letter/s/50afbb/32.png) [@ssarnava](https://discuss.elastic.co/u/ssarnava)
#### Post date: [January 22, 2021, 11:00pm UTC](https://discuss.elastic.co/t/download-kibana-report-from-outside-kibana/260582/5 "2021-01-22T23:00:31Z")

</div>

Hi Lizad  
Sorry for the delayed reply. Yes it's working as per documentation. I missed the first part of the response where download link is present.

---

<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 19, 2021, 11:00pm UTC](https://discuss.elastic.co/t/download-kibana-report-from-outside-kibana/260582/6 "2021-02-19T23:00:32Z")

</div>

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