# Exporting the logs to CSV file from a Saved search or Dashboard in Kibana version 5.4.1

**URL:** <https://discuss.elastic.co/t/exporting-the-logs-to-csv-file-from-a-saved-search-or-dashboard-in-kibana-version-5-4-1/128922>\
**Category:** Kibana\
**Created:** [April 20, 2018, 6:01pm UTC](https://discuss.elastic.co/t/exporting-the-logs-to-csv-file-from-a-saved-search-or-dashboard-in-kibana-version-5-4-1/128922 "2018-04-20T18:01:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![SelvaShanmugam](https://avatars.discourse-cdn.com/v4/letter/s/839c29/32.png) [@SelvaShanmugam](https://discuss.elastic.co/u/SelvaShanmugam)\
**Post date:** [April 20, 2018, 6:01pm UTC](https://discuss.elastic.co/t/exporting-the-logs-to-csv-file-from-a-saved-search-or-dashboard-in-kibana-version-5-4-1/128922/1 "2018-04-20T18:01:30Z")

</div>

Hi

I am using Kibana version 5.4.1

I would like query the logs based on a search term and export a few properties from the search results. e.g. Event Time and Event Description.

I could search it from the Discover tab, but I am not able to export that to a CSV (or any other format).

I could view the data in a Dashboard, but can't export from there either.

I tried creating a Data table from the visualization tab, but that does not return any results when i choose the Payload message as a split row. (all other options in the Field selection work).  
My message is a string field. I don't want any aggregation to be done on it. But I don't see an option to create a Data table without aggregation. So i am leaving it to Count by default.

I tried the export plugin from **[https://minewhat.com/blog/elasticsearch-csv-exporter-for-kibana-discover/](https://minewhat.com/blog/elasticsearch-csv-exporter-for-kibana-discover/)**. That does not seem to work either.

Is there any way i can export the information to a text or CSV file?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![ppisljar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ppisljar/32/11588_2.png) [@ppisljar](https://discuss.elastic.co/u/ppisljar)\
**Post date:** [April 20, 2018, 6:10pm UTC](https://discuss.elastic.co/t/exporting-the-logs-to-csv-file-from-a-saved-search-or-dashboard-in-kibana-version-5-4-1/128922/2 "2018-04-20T18:10:07Z")

</div>

not in that version, but exporting to csv is available as a part of x-pack basic in 6.0

---

<div class="post-metadata">

**Author:** ![SelvaShanmugam](https://avatars.discourse-cdn.com/v4/letter/s/839c29/32.png) [@SelvaShanmugam](https://discuss.elastic.co/u/SelvaShanmugam)\
**Post date:** [April 20, 2018, 6:11pm UTC](https://discuss.elastic.co/t/exporting-the-logs-to-csv-file-from-a-saved-search-or-dashboard-in-kibana-version-5-4-1/128922/3 "2018-04-20T18:11:39Z")

</div>

Hi

Thanks Peter.  
Can i create a Visualization with the message field and export?  
I am having problems with that as well as mentioned in the post above.

Thanks

---

<div class="post-metadata">

**Author:** ![ppisljar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ppisljar/32/11588_2.png) [@ppisljar](https://discuss.elastic.co/u/ppisljar)\
**Post date:** [April 23, 2018, 6:56pm UTC](https://discuss.elastic.co/t/exporting-the-logs-to-csv-file-from-a-saved-search-or-dashboard-in-kibana-version-5-4-1/128922/4 "2018-04-23T18:56:50Z")

</div>

you mean something like this ?

 ![23%2013-56-05](https://us1.discourse-cdn.com/elastic/original/3X/a/0/a04627dffd5cc14fec009035a47b04e51cdc6149.png)

---

<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 21, 2018, 6:57pm UTC](https://discuss.elastic.co/t/exporting-the-logs-to-csv-file-from-a-saved-search-or-dashboard-in-kibana-version-5-4-1/128922/5 "2018-05-21T18:57:03Z")

</div>

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