-
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 CSV] Show Runtime Fields in CSV Export #81079
Labels
enhancement
New value added to drive a business result
Feature:Reporting:CSV
Reporting issues pertaining to CSV file export
needs-team
Issues missing a team label
Project:RuntimeFields
Comments
tsullivan
added
(Deprecated) Feature:Reporting
Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead
Initiative:RuntimeFields
labels
Oct 19, 2020
POC to use SearchSource for CSV Export |
This was referenced Dec 17, 2020
This was referenced Jan 27, 2021
31 tasks
Pinging @elastic/kibana-app-services (Team:AppServices) |
Pinging @elastic/kibana-reporting-services (Team:Reporting Services) |
sophiec20
added
Feature:Reporting:CSV
Reporting issues pertaining to CSV file export
and removed
(Deprecated) Feature:Reporting
Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead
(Deprecated) Team:Reporting Services
labels
Aug 21, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
enhancement
New value added to drive a business result
Feature:Reporting:CSV
Reporting issues pertaining to CSV file export
needs-team
Issues missing a team label
Project:RuntimeFields
Goal: CSV Export will have the same state of support for runtime fields that Discover supports, in every release.
The Discover effort is a phased approach which starts in 7.11 and planned to last to 7.12. To meet the stated goal, this issue must have the same priority or higher as the Discover App effort.
Terminology
Refer to "Show runtime field values in Discover" (#77107) for context and terminology. CSV Export export of Discover's Data Grid view in a text-only format. For Kibana Reporting, "export" means running a job in the server background, archiving the results in ES, and making file download available any time to the user.
Intro
Recap of the Discover effort on this issue. Runtime fields in Discover affect:
fields
info that includes runtime fields.hit.fields
as well ashit._source
to show all the data that the user expects.Proposal
Rewrite CSV Export to use new Data plugin APIs. Assuming that Discover is using the same APIs, this makes the logic shared between CSV Export and Discover. That has been a long-time goal which can finally come to fruition with the SearchSource API available on the server.
Level of Effort
The goal of the API is to return a flattened and formatted data grid when given:
Reporting CSV Export will call this API repeatedly to scroll the data from the index, up until the
maxSizeBytes
limit is hit.Backwards Compatibility
Reporting has an interesting angle to BWC, because users may be sending requests to Kibana using a POST URL that was generated in any unknown version. For CSV Export, the POST URLs include JSON from the index pattern saved object, as well as time-relevant fields like the time range from the timepicker and client time zone.
The text was updated successfully, but these errors were encountered: