I am trying to export all search result data in Kibana 5. But it's only exporting count of the result. Is there any way to export all data in CSV format in Kibana?
Tried so far
Getting Output:
Log aggregations found in Kibana dashboards and data tables can sometimes interest other colleagues. Using Coralogix's version of Kibana, you can easily export Kibana Dashboards to PDF, just go to your Kibana Dashboard and click on 'Export to PDF'.
Because Elasticsearch Dev Tools and standard Elasticsearch search API limit the number of records to 10,000, the simplest way to export all of the index data as JSON file is to use the elasticsearch-dump tool: https://github.com/elasticsearch-dump/elasticsearch-dump.
This is a very longstanding feature request (going back to 2014) with Kibana; see their issue tracker. For whatever reasons they seem to be having trouble with implementing it.
If you only need a subset of your fields exported, a workaround is to create a visualization of the fields that you need and export using the buttons in the visualization section; these work as you would expect. The downside to this is that if you need very many fields you will end up with complex and/or multiple visualizations.
If you don't mind installing another thing, there is a Kibana fork called Kibi which claims to support this, among other useful things. I can't say for sure, as it doesn't run easily for me on the remote ES cluster I am working with right now, but you may have better luck.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With