# Is it possible to export logs from Kibana?

**URL:** <https://discuss.elastic.co/t/is-it-possible-to-export-logs-from-kibana/133356>\
**Category:** Kibana\
**Created:** [May 25, 2018, 7:08pm UTC](https://discuss.elastic.co/t/is-it-possible-to-export-logs-from-kibana/133356 "2018-05-25T19:08:05Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![amruth](https://avatars.discourse-cdn.com/v4/letter/a/43a26b/32.png) [@amruth](https://discuss.elastic.co/u/amruth)\
**Post date:** [May 25, 2018, 7:08pm UTC](https://discuss.elastic.co/t/is-it-possible-to-export-logs-from-kibana/133356/1 "2018-05-25T19:08:05Z")

</div>

Hi,

Can someone please say if there is a way to export logs from Kibana just like we have it in Splunk?

Thanks

---

<div class="post-metadata">

**Author:** ![jen-huang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jen-huang/32/74327_2.png) [@jen-huang](https://discuss.elastic.co/u/jen-huang)\
**Post date:** [May 25, 2018, 7:28pm UTC](https://discuss.elastic.co/t/is-it-possible-to-export-logs-from-kibana/133356/2 "2018-05-25T19:28:01Z")

</div>

You can export any Saved Searches from Discover. This is available in 6.x with X-Pack installed (free basic license). After creating a Saved Search, exporting can be found under **Reporting \> Generate CSV** :

 ![24%20PM](https://us1.discourse-cdn.com/elastic/original/3X/e/d/ed919180e252be28ce72fe0bfeaa1e8bf92895e6.png)

CSV outputs can be downloaded in **Management \> Reporting**.

---

<div class="post-metadata">

**Author:** ![amruth](https://avatars.discourse-cdn.com/v4/letter/a/43a26b/32.png) [@amruth](https://discuss.elastic.co/u/amruth)\
**Post date:** [May 25, 2018, 7:30pm UTC](https://discuss.elastic.co/t/is-it-possible-to-export-logs-from-kibana/133356/3 "2018-05-25T19:30:16Z")

</div>

Thanks Jen. Is it not possible in Kibana under 6.x?

---

<div class="post-metadata">

**Author:** ![jen-huang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jen-huang/32/74327_2.png) [@jen-huang](https://discuss.elastic.co/u/jen-huang)\
**Post date:** [May 25, 2018, 7:45pm UTC](https://discuss.elastic.co/t/is-it-possible-to-export-logs-from-kibana/133356/4 "2018-05-25T19:45:24Z")

</div>

There are some patches for CSV export for 5.6.x, linked in this thread: [https://github.com/elastic/kibana/issues/1992](https://github.com/elastic/kibana/issues/1992)

You can also export Visualizations, which is available in older versions like Kibana 4. This doesn't export all the raw data, just the summary responses, but may be sufficient for some use cases:

> [@How to make a table like Excel sheet with Kibana?](https://discuss.elastic.co/t/how-to-make-a-table-like-excel-sheet-with-kibana/25687/6):
>
> Yeah, export of data tables from Discover is still on the roadmap: [https://github.com/elastic/kibana/issues/1992](https://github.com/elastic/kibana/issues/1992) However, if you can create a useful summary of that data in Visualize, you can export that today:

---

<div class="post-metadata">

**Author:** ![amruth](https://avatars.discourse-cdn.com/v4/letter/a/43a26b/32.png) [@amruth](https://discuss.elastic.co/u/amruth)\
**Post date:** [May 29, 2018, 3:11pm UTC](https://discuss.elastic.co/t/is-it-possible-to-export-logs-from-kibana/133356/5 "2018-05-29T15:11:37Z")

</div>

Thank Jen.

I've gone through [https://github.com/elastic/kibana/issues/1992](https://github.com/elastic/kibana/issues/1992). I am using Kibana 5.6.7, is there any patch specific to Kibana 5.6.7?

Also, can you please share on how to install patch?

Thanks

---

<div class="post-metadata">

**Author:** ![jen-huang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jen-huang/32/74327_2.png) [@jen-huang](https://discuss.elastic.co/u/jen-huang)\
**Post date:** [June 8, 2018, 5:33pm UTC](https://discuss.elastic.co/t/is-it-possible-to-export-logs-from-kibana/133356/6 "2018-06-08T17:33:59Z")

</div>

If it is possible for you to upgrade, there is a 5.6.8 patch: [https://github.com/fbaligand/kibana/releases/tag/v5.6.8-csv-export](https://github.com/fbaligand/kibana/releases/tag/v5.6.8-csv-export)

[Here are the installation steps from the thread.](https://github.com/elastic/kibana/issues/1992#issuecomment-328200074)

---

<div class="post-metadata">

**Author:** ![amruth](https://avatars.discourse-cdn.com/v4/letter/a/43a26b/32.png) [@amruth](https://discuss.elastic.co/u/amruth)\
**Post date:** [June 8, 2018, 5:35pm UTC](https://discuss.elastic.co/t/is-it-possible-to-export-logs-from-kibana/133356/7 "2018-06-08T17:35:54Z")

</div>

Thank Jen. But, I've already upgraded twice. If I have to upgrade it would be third time and involves some work. So, there's nothing for version 5.6.7?

---

<div class="post-metadata">

**Author:** ![jen-huang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jen-huang/32/74327_2.png) [@jen-huang](https://discuss.elastic.co/u/jen-huang)\
**Post date:** [June 8, 2018, 5:37pm UTC](https://discuss.elastic.co/t/is-it-possible-to-export-logs-from-kibana/133356/8 "2018-06-08T17:37:41Z")

</div>

You could ping Fabien/@fbaligand on the same thread and he may be able to provide one for 5.6.7.  
(Thank you Fabien for contributing!)

---

<div class="post-metadata">

**Author:** ![fbaligand](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fbaligand/32/5657_2.png) [@fbaligand](https://discuss.elastic.co/u/fbaligand)\
**Post date:** [June 8, 2018, 8:18pm UTC](https://discuss.elastic.co/t/is-it-possible-to-export-logs-from-kibana/133356/9 "2018-06-08T20:18:25Z")

</div>

Hi @amruth

Here's the csv-export patch for Kibana 5.6.7, freshly built just for you !

[https://github.com/fbaligand/kibana/releases/download/v5.6.7-csv-export/csv-export-patch.tar.gz](https://github.com/fbaligand/kibana/releases/download/v5.6.7-csv-export/csv-export-patch.tar.gz)

---

<div class="post-metadata">

**Author:** ![fbaligand](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fbaligand/32/5657_2.png) [@fbaligand](https://discuss.elastic.co/u/fbaligand)\
**Post date:** [June 8, 2018, 8:19pm UTC](https://discuss.elastic.co/t/is-it-possible-to-export-logs-from-kibana/133356/10 "2018-06-08T20:19:14Z")

</div>

Hi @jen-huang

Happy to see you appreciate my contributions 🙂

---

<div class="post-metadata">

**Author:** ![amruth](https://avatars.discourse-cdn.com/v4/letter/a/43a26b/32.png) [@amruth](https://discuss.elastic.co/u/amruth)\
**Post date:** [June 8, 2018, 8:29pm UTC](https://discuss.elastic.co/t/is-it-possible-to-export-logs-from-kibana/133356/11 "2018-06-08T20:29:41Z")

</div>

Thanks a lot Fabien. I will try it and let you know. Once again thank you so much Jen and Fabien for the prompt reply.

---

<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 6, 2018, 8:29pm UTC](https://discuss.elastic.co/t/is-it-possible-to-export-logs-from-kibana/133356/12 "2018-07-06T20:29:42Z")

</div>

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