-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Csv export support #585
Csv export support #585
Conversation
awesome ! |
Maybe it would be better to make whole panels "csv enabled", like "inspectable" to make it more universal. |
I agree that the best way to go about this would be in a more generic fashion. My concern with merging this now is that people would expect every panel to support CSV export. For things like the table panel, we'll need Elasticsearch support for CSV output to be able to export a useful number of records. |
I think it could be done in iterations, one panel at a time, starting with histogram panel. Do you have any advice how to make this pull request better? Should we have "enable export to csv" option or it should be always available if panel supports it? How to make it more universal in code? I don't want to make changes blindly :) I think I can add support for terms and pie in this request too. I'm not sure about table panel, it could be tricky. |
I've added terms panel support and redesigned the whole thing a bit. Now panels have button in the right top corner to trigger csv popup that has csv preview and download buttons. @rashidkpc what do you think? |
Looks good. A few notes:
|
I renamed As I see ISO8601, it should be something like |
yep |
@rashidkpc I moved csv calculation to results processing, csv.html is using variable instead of function call. Is that what you meant? |
The way the current panel buttons are designed they must trigger a modal. I'm wondering if we don't want to redesign that aspect of the system to point to a function that could perform other functions instead of a modal that can really only pop up a window. This would allow you to calculate the CSV data on demand, instead of everytime a search is performed. |
@rashidkpc I can't fix that aspect of kibana, sorry. I could only fix this pull request if someone could show me an example. Frankly speaking, I'm not even front-end developer and I have no idea how to do what you want from panel buttons. |
@rashidkpc what's the status of this request then? |
I really want to make sure this happens globally and in a scaleable manner before implementing the feature. That means refactoring the way panel buttons work and perhaps working with the Elasticsearch core team to get a CSV output to queries. |
@rashidkpc I added |
@rashidkpc you're right, I updated request. |
Changed |
@rashidkpc is there anything else that should be fixed? |
Hi Guys, Export is something I really need before setting up on production. |
Thanks guys ! |
@bobrik : I tried to patch using this pull request and was unsuccessful (using the instructions you provided a few comments ago). Did a Kibana master change create a conflict? |
Just use git, like
|
@tkuther : Thanks - I'm obviously not git-savvy. :) |
Use this to get clean up-to-date version of csv-export branch. Kibana development is pretty slow, therefore it shouldn't be too far away from master. |
awesome! Much appreciated! |
This is excellent, and efficient, as it reformats what Kibana has already retrieved. Thank you. In my organization I'd say that most people are looking for a way to capture a few events/messages from the table and paste them into an e-mail or document as text. CSV export is a slightly indirect, but effective way of adding this capability. |
This feature should be part of the Kibana main branch. Even if it might not be implemented in the most optimal manner, it is a lot, lot better that nothing! Thank you @bobrik for your work! |
Any chance this can make it into the main kibana release? |
Hi all - i'd like to use this add on, however, using the cloning instructions above, kibana throws an error message about using the latest version of it - it suggests to download the latest version from their website and not to clone it. any idea how i can merge this add on with the latest release of kibana? --git newbiie |
With ISO8601 timestamps it is always much nicer to include sub-seconds and a timezone indicator; systems usually do more than one thing a second and many operate in numerous timezones, for example in UTC: 2014-05-29T15:41:42.005Z |
Really wonderful thanks , I was told to this task in my organisation , only problem is how to download complete document object |
Great work! One minor comment: I think you will need to escape double-quotes in the values. |
Hello. Great work 👍 I tried to change code on mulfifieldhistogram but without cuccess :( |
I already have Kibana in my Linux, however when I try to clone and curl the cmd as shown on the above comments. There was errors in curling the file, and my kibana did not appear to have the download button. Anyone knows whats going on? |
Thumbs Up for this great work! Hopefully it will get to the next main release. |
Guys, can anyone please describe shortly how to download and get the CSV export enhancement working on windows? Thanks, |
Woops! Sorry about that! We recently replaced the master branch with Kibana 4. This action force closed all of the old pull requests against master. We will be reviewing these on a case-by-case basis and creating new tickets as necessary. The good news is that many long requested features can be found in Kibana 4, and we're being entirely open about our roadmap. Check out the roadmap tickets (which we're still filling in) here. If you're looking for the old Kibana 3 code you can find it here. |
CSV export is available in Kibana 4 now, so I'm going to leave this closed - thanks for the contribution |
It is amazing how some people try to "privatize" an open source project. |
I merged and tested this for this fork of kibana3: https://github.com/kibana-community/kibana3 |
* Changed FileUpload to stateless component. Added EuiFilePicker Removed unused handlers * Added EUI to imageUpload and changed upload handler to match EUI. Updated imageUpload styles. * Bug fix: Added Math.floor to count in repeatImage * Cleaned up styles for imageUpload * Added checkered background to image preview * Added EuiLoadingSpinner and EuiIcon to Loading component * Removed grid view * Removed grid render function * Moved css from main to hackery * Fixed merge conflict * Fixed spacing in imageUpload and loading components * Fixed imageUpload.js * Added variable to image_upload.less * Added reference to less variables in image_upload.less * Fixed css for when no image preview is available
This patch enables csv export support for histogram panel. I'd like to see some feedback.
#205 is affected.