-
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
[Reporting] Exporting raw data from table-based visualizations #30982
Comments
TSVB table is one example, mainly because it doesn't have the inspector, the main use case is with saved search within a dashboard. |
Thanks for the input @AlonaNadler. We'll look at Saved Search next. TSVB was a bit easier since all the querying is on the server side. Aggregated table will be hard with its current implementation, because the saved object stored state has a relational nature with the index pattern object. With Saved Search, we don't know how many rows of hits there will be, so we use the scan/scroll API to get it from Elasticsearch. I don't think that will be a barrier as we're going to use Server-side APIs to build the CSV - but that explains why there is no Inspector for it. |
There are a few problems customers report:
When you say "Exporting raw data from table-based visualizations" is it the original document used in the aggregation or the aggregated data visualized in a chart (similar to inspector export to CSV)? |
Hello there I would just like to hear if this line
Is covering using watcher to generate the CSV file (similar to the one found in inspect on a data table visulalization (not the TSVB version)) Atm, the .PDF generation is not optimal, since it only shows the first page =) |
I'm pivoting this issue to saved search within a dashboard. It turns out that we have all the utilities we need on the server side to build the query based on the search saved object data. Getting the aggregated table export for CSV will be hard to do in this design, because parsing aggregated table saved object data relies on a lot of services built in Angular.
I think it will be best to hold off on the original idea to enable CSV export for TSVB tables, so we can focus on releasing the saved search export from Dashboard. But soon after this, we can work on CSV of aggregated data behind TSVB visualization. Assuming the data is 2-dimensional, we can get it into CSV.
For exporting search, it is close to the original document - only the columns to show have to be set in the saved object data (or |
My understanding of the Watcher integration of alerting is that it allows you to configure a "webhook action" that can POST a data payload to an HTTP host. (Please correct me if I'm wrong) This will be possible with the new API in the works, but it's also possible today with the "POST URL" you see shown in the Kibana UI for the Share > Reporting actions menu. |
cc @kunisen thanks! |
This a very important feature for us. |
could include: #36546 |
this is stalled as the current implementation of Data Table visualization depends on Angular modules (AggConfigs & tabifyAggResponse), that we can't access from the server-side for automation. |
Related issue: Table data visualizations in PDFs |
Would also love to see "Schedule CSV export of table data using an HTTP API" be implemented to allow generation of Kibana Visualizations as CSV using a watcher. |
Pinging @elastic/kibana-reporting-services (Team:Reporting Services) |
Update: I have heard from @jimgoodwin in a sync meeting that the visualizations have separated the data modeling logic from the rendering logic. That should get us closer to this goal, but I'm not sure by how much. cc @elastic/kibana-app-arch |
Per #30982 (comment), this issue is blocked on App team making a source of data modeling logic that can be called from automation. |
I'm very interested by this feature. |
I too would love this feature! |
Pinging @elastic/kibana-app-services (Team:AppServices) |
This feature would be very useful for us as well! |
Please go on deploying this feature... very very loved feature |
Hi, is it deployed? how can I use it? @tsullivan @timroes |
Moreover, it would be nice to inspect the TSVB-generated visualizations, in a similarly to what it is possible to do with other vizs. |
Please go on deploying this feature, This feature would be very useful for us as well,want automate some reports using HTTP API! |
I've been following this feature from quite a while now. Would really like to see this deployed. |
@tsullivan isn't this possible already via Inspect? I wouldn't make the main download action from the panel menu more complex adding additional options. |
Hi @teresaalvarezsoler this issue is to use the Reporting framework to run the export, which will involve server-side APIs. That is the only way that retrieving the CSV can be automated.
We have a redesigned share modal that we can use for this: #189143 |
Summary
This enhancement is a parallel effort of #17950 to provide better options for exporting raw data from table-based Kibana visualizations, in CSV form.
Numbers and timestamps will be formatted per user configuration (kibana.yml, advanced settings).
Use cases
Walk through a user interaction
Working on this feature leads into a solution for #18110
The text was updated successfully, but these errors were encountered: