# Download CSV from dashboard panel

**URL:** <https://discuss.elastic.co/t/download-csv-from-dashboard-panel/268638>\
**Category:** Kibana\
**Created:** [March 29, 2021, 9:12am UTC](https://discuss.elastic.co/t/download-csv-from-dashboard-panel/268638 "2021-03-29T09:12:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlessandroKP](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alessandrokp/32/45312_2.png) [@AlessandroKP](https://discuss.elastic.co/u/AlessandroKP)\
**Post date:** [March 29, 2021, 9:12am UTC](https://discuss.elastic.co/t/download-csv-from-dashboard-panel/268638/1 "2021-03-29T09:12:03Z")

</div>

Hi,

I'm having trouble exporting saved searches from a Kibana dashboard in CSV format through the **Download CSV** tool.

The download works as usual when I set the time interval (through the time picker of the dashboard) to a relative value, for example ( 'now-last 24h', 'now'), or to an absolute value or a mixture of the two.

The problem happens when I set the time picker to "Today". The CSV is produced and downloaded, but it does not contain any data.  
**It just reports the header** (the fields used as columns in the saved search).

This happen only whean I want to export a saved search from a Kibana panel by using the **Download CSV** button and when setting the time interval to "Today".

![download-csv](https://us1.discourse-cdn.com/elastic/original/3X/f/7/f71504300c47fd6d0a85c6234165da69a0a297e3.png)

If I try the same from the Discover application throught the **Share**  **\>**  **CSV Reports** option, by using the same saved search and setting the time picker to "Today", Kibana correctly exports the CSV file with all the data.

I'm using Elasticsearch v7.9.3 and Kibana v7.9.3.

Is there some known Kibana bug the causes this behaviour?

Unfortunately Kibana and Elasticsearch logs are not very helpful in this case.

---

<div class="post-metadata">

**Author:** ![wylie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wylie/32/81794_2.png) [@wylie](https://discuss.elastic.co/u/wylie)\
**Post date:** [March 29, 2021, 4:25pm UTC](https://discuss.elastic.co/t/download-csv-from-dashboard-panel/268638/2 "2021-03-29T16:25:54Z")

</div>

This sounds a lot like this issue: [[Reporting] Saved search exports an empty csv if an end time in the future is selected. · Issue #69636 · elastic/kibana · GitHub](https://github.com/elastic/kibana/issues/69636)

There are a few workarounds suggested in the issue, including upgrading to the latest version of the stack, which is 7.12.0

---

<div class="post-metadata">

**Author:** ![AlessandroKP](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alessandrokp/32/45312_2.png) [@AlessandroKP](https://discuss.elastic.co/u/AlessandroKP)\
**Post date:** [April 7, 2021, 3:59pm UTC](https://discuss.elastic.co/t/download-csv-from-dashboard-panel/268638/3 "2021-04-07T15:59:49Z")

</div>

@wylie  
I upgraded Kibana to v7.12.0 and it solved the problem.

Thanks

---

<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:** [May 5, 2021, 4:00pm UTC](https://discuss.elastic.co/t/download-csv-from-dashboard-panel/268638/4 "2021-05-05T16:00:19Z")

</div>

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