# Is there a way to export the CSV report of a dashboard in Kibana programmatically?

**URL:** https://discuss.elastic.co/t/is-there-a-way-to-export-the-csv-report-of-a-dashboard-in-kibana-programmatically/230340
**Category:** Kibana
**Created:** [April 29, 2020, 8:55am UTC](https://discuss.elastic.co/t/is-there-a-way-to-export-the-csv-report-of-a-dashboard-in-kibana-programmatically/230340 "2020-04-29T08:55:17Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![adarsh.venugopal](https://avatars.discourse-cdn.com/v4/letter/a/c68b51/32.png) [@adarsh.venugopal](https://discuss.elastic.co/u/adarsh.venugopal)
#### Post date: [April 29, 2020, 8:55am UTC](https://discuss.elastic.co/t/is-there-a-way-to-export-the-csv-report-of-a-dashboard-in-kibana-programmatically/230340/1 "2020-04-29T08:55:17Z")

</div>

I understand that Kibana dashboard allows us to show logs data in a table like structure. It also allows us to download this data in a csv file. I can also see two download links provided in the dashboard which says 'Export: Raw Formatted'.

Below is a screenshot of the same:-

 ![elk](https://us1.discourse-cdn.com/elastic/original/3X/e/3/e3e9543012dc76d1a2ebfa2a9be24128224d5373.png)

But i would like to automate this process instead of having to manually download the CSV files. It there a way i can achieve this programmatically using RESTful API's or something?

Basically, i would like to get this CSV downloaded using a program in Python or Java or Shell Script. I think there must be some API that i can invoke and get this CSV file. Can someone please let me know if such a functionality exists in Kibana? By the way, we have the paid version of Kibana version 7.3.1.

---

<div class="post-metadata">

### Author: ![Mikhail\_Shustov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mikhail_shustov/32/49186_2.png) [@Mikhail\_Shustov](https://discuss.elastic.co/u/Mikhail_Shustov)
#### Post date: [April 30, 2020, 8:16am UTC](https://discuss.elastic.co/t/is-there-a-way-to-export-the-csv-report-of-a-dashboard-in-kibana-programmatically/230340/2 "2020-04-30T08:16:28Z")

</div>

You can automate CSV report generation for sure [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)

---

<div class="post-metadata">

### Author: ![adarsh.venugopal](https://avatars.discourse-cdn.com/v4/letter/a/c68b51/32.png) [@adarsh.venugopal](https://discuss.elastic.co/u/adarsh.venugopal)
#### Post date: [May 2, 2020, 3:18am UTC](https://discuss.elastic.co/t/is-there-a-way-to-export-the-csv-report-of-a-dashboard-in-kibana-programmatically/230340/3 "2020-05-02T03:18:18Z")

</div>

Hi Mikhail,

I had already gone through this link. It does not solve the use case which i had described in my post above.

The option of generating the CSV report with a POST url exists only in the Discover tab and not in the Dashboard.

What i need, is a way to export individual visualizations in the Dashboard, in the form of a CSV. As mentioned in the screenshot in my post, there is a link which allows me to export the table data as a CSV (Export Raw Formatted). But i want to achieve this programmatically. Is there any API that can allow users to perform the same functionality as this link?

Basically, i need to be able to use this API to generate the same CSV as that generated by clicking on this link which says - Export Raw Formatted.

I hope my use case is clear. If such an option is not available, can you suggest any alternatives by which i can achieve the same.

---

<div class="post-metadata">

### Author: ![Rahul\_Kumar4](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rahul_kumar4/32/67369_2.png) [@Rahul\_Kumar4](https://discuss.elastic.co/u/Rahul_Kumar4)
#### Post date: [May 2, 2020, 6:59pm UTC](https://discuss.elastic.co/t/is-there-a-way-to-export-the-csv-report-of-a-dashboard-in-kibana-programmatically/230340/4 "2020-05-02T18:59:12Z")

</div>

I am curious if such a solution exists. I have a similar requirement.

---

<div class="post-metadata">

### Author: ![Mikhail\_Shustov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mikhail_shustov/32/49186_2.png) [@Mikhail\_Shustov](https://discuss.elastic.co/u/Mikhail_Shustov)
#### Post date: [May 6, 2020, 9:50am UTC](https://discuss.elastic.co/t/is-there-a-way-to-export-the-csv-report-of-a-dashboard-in-kibana-programmatically/230340/5 "2020-05-06T09:50:09Z")

</div>

Sorry, I misunderstood the question. The feature you asked about, is being in development. You can track progress in [https://github.com/elastic/kibana/issues/30982](https://github.com/elastic/kibana/issues/30982)

---

<div class="post-metadata">

### Author: ![adarsh.venugopal](https://avatars.discourse-cdn.com/v4/letter/a/c68b51/32.png) [@adarsh.venugopal](https://discuss.elastic.co/u/adarsh.venugopal)
#### Post date: [May 23, 2020, 6:26am UTC](https://discuss.elastic.co/t/is-there-a-way-to-export-the-csv-report-of-a-dashboard-in-kibana-programmatically/230340/6 "2020-05-23T06:26:09Z")

</div>

It seems that the development is on hold. When is this feature expected to roll out?

In the meanwhile, is there any other alternative to achieve this?

---

<div class="post-metadata">

### Author: ![adarsh.venugopal](https://avatars.discourse-cdn.com/v4/letter/a/c68b51/32.png) [@adarsh.venugopal](https://discuss.elastic.co/u/adarsh.venugopal)
#### Post date: [June 4, 2020, 9:24am UTC](https://discuss.elastic.co/t/is-there-a-way-to-export-the-csv-report-of-a-dashboard-in-kibana-programmatically/230340/7 "2020-06-04T09:24:03Z")

</div>

Is there any response to my previous question?

Any help is much appreciated.

---

<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 2, 2020, 9:24am UTC](https://discuss.elastic.co/t/is-there-a-way-to-export-the-csv-report-of-a-dashboard-in-kibana-programmatically/230340/8 "2020-07-02T09:24:19Z")

</div>

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