Is it possible to export logs from Kibana?

Hi,

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

Thanks

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:

CSV outputs can be downloaded in Management > Reporting.

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

There are some patches for CSV export for 5.6.x, linked in this thread: 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:

Thank Jen.

I've gone through 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

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

Here are the installation steps from the thread.

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?

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!)

1 Like

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

1 Like

Hi @jen-huang

Happy to see you appreciate my contributions :slight_smile:

1 Like

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.

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