elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.63k stars 8.23k forks source link

Export Documents as CSV #1992

Closed dennismphil closed 7 years ago

dennismphil commented 9 years ago

Is there any way to CSV export the results on Discover tab in Kibana 4 Beta 2?

Edit 6 Sep 2018: CSV reporting is available for free in X-Pack starting in version 6.0.0. Starting with 6.3.0, CSV reporting is available in the default distribution of Kibana. For 5.3-5.6, @fbaligand maintains a community plugin and comments on this issue when it is updated.

rashidkpc commented 9 years ago

Currently there is no way to export doc results as CSV, this is something we want to implement on the backend so we can return more results than would be reasonable in javascript.

dennismphil commented 9 years ago

Much wanted feature. Looking forward to it

ZeAleks commented 9 years ago

+1

abdalians commented 9 years ago

+1

ikazoy commented 9 years ago

+1

AlexB030 commented 9 years ago

Then what is the meaning of the Export-Button when in the Discover-Panel? There is a button, that is not doing anything atm. Or am I misinterpreting its meaning?

AlexIoannides commented 9 years ago

+1

snasirca commented 9 years ago

+1. In order for our support team to be able to use Kibana fully, we need the ability to export a subset of documents (the search results) to CSV.

damageco commented 9 years ago

+1 This functionnality is a much wanted feature for our users too.

srgshames commented 9 years ago

+1

ZeAleks commented 9 years ago

It is now working with the last beta ...

damageco commented 9 years ago

@ZeAleks No, in last beta it's just the export of synthesis results, not the documents.

Stefan129 commented 9 years ago

+1 Please add this function...

dcinzona commented 9 years ago

+1

rashidkpc commented 9 years ago

Now that the server is nodeJS based it should be fairly simple to add a route with a size parameter that loads a savedSearch object and exports its results to CSV

ignaciovazquez commented 9 years ago

+1

Funbit commented 9 years ago

+1

zaakiy commented 9 years ago

+1

ajrasch commented 9 years ago

+1

dc-afinnell commented 9 years ago

It seems all visualizations EXCEPT the Table has export.

gerlachry commented 9 years ago

+1

luzili commented 9 years ago

+1

mooreniemi commented 9 years ago

+1

dvdklnr commented 9 years ago

+1

roman-parkhunovskyi commented 9 years ago

+1

mazing80 commented 9 years ago

+1

rashidkpc commented 9 years ago

Need a limit warning

zaakiy commented 9 years ago

@rashidkpc

dont mind a warning, but please bear in mind the use case of having to extract approx 360,000 documents.

if that is too much, then at least provide us an easy way to access the json query so that i can construct the query using the gui and then use the json to directly export out of elasticsearch. note that this means i have to do my own json to csv conversion though, which is why i prefer thatyou can implement a way to do large csv exports.

harbinger55 commented 9 years ago

+1 This is all I am missing to deploy this into production

wjimenez5271 commented 9 years ago

+1

Ginja commented 9 years ago

+1

missnebun commented 9 years ago

+1

aallegret commented 9 years ago

+1 Our teams badly need this particular feature

lmazuel commented 9 years ago

+1

edouardKaiser commented 9 years ago

+1

wjimenez5271 commented 9 years ago

FWIW, I created a work-around to enable my end users to export data from a web UI: https://github.com/wjimenez5271/elasticsearch-web-export. Its very crude and by no means a replacement for this feature, but might get you by in the meantime.

flintbd commented 9 years ago

+1

jim-hendrick commented 9 years ago

seriously - the ability to export datasets (warn if you must for large result sets) is really needed the options is what? To manually write ES queries, including authentication (where it exists) and pull the documents by hand? IMHO - the workflow should be something like 1) filter, query, rinse-repeat until you get the results you want 2) select export and whether to only export the currently shown fields, or the entire "row" 3) pick the export format (csv is absolutely fine in most cases, but the ability to select a delimiter or "delimiter set" would be useful where odd characters are included in the data

LYY commented 9 years ago

+1

nico01f commented 9 years ago

+1

chrisddom commented 9 years ago

+1

dcinzona commented 9 years ago

+1 for @jim-hendrick #2

RoopendraV commented 9 years ago

+1

appasahebs commented 9 years ago

yup plz do that. +1

derikss commented 9 years ago

+1

maharg101 commented 9 years ago

+1 our use case includes exports of up to 10k results, with selectable fields, so reflecting the table layout would be perfect, thanks :+1:

ami-navon commented 9 years ago

+1

damikem commented 9 years ago

+1

crudbug commented 9 years ago

:+1:

jdve commented 9 years ago

PR #3756 adds this feature. Not fully polished, but maybe a starting point?