Skip to content
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] Research removing "Download CSV" from saved search panels in the dashboard, in favor of CSV reports. #145937

Closed
tsullivan opened this issue Nov 21, 2022 · 1 comment
Assignees
Labels
(Deprecated) Feature:Reporting Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead Team:SharedUX Team label for AppEx-SharedUX (formerly Global Experience)

Comments

@tsullivan
Copy link
Member

tsullivan commented Nov 21, 2022

Latest proposal is in the project doc: https://docs.google.com/document/d/1FDH9Au57-5vpU16DgpvNCbCqXjcbo8tpk_2TOtdb1Xo/edit#


This pertains to #34571.

In the time since version 7.3 when the Download CSV feature was added, we have found a few ways that it is not a good fit in our offering of products.

  1. It is not fitting with the future of Kibana's architecture, where heavy computation tasks will be run externally from the so-called UI server. Allowing the user to download a large generated file within a request puts an overly high load on the main process that serves requests.
  2. It is not fitting in well in environments where Kibana is slow, or with low-bandwidth connections. Browser performance suffers when there are connections that need to stay open for a long time. When errors happen, we are not able to surface any helpful error message about what went wrong.

These are both things that the Reporting service was designed to overcome. We should focus on areas that are better at meeting the needs of the user. For CSV, this means deprecating the "Download CSV" feature and the API route, and replacing it with a link to generate a report in the background. This takes the user through the same export path as generating a CSV export from Discover, and thus has the benefit of simplifying code in the reporting plugin.

Related issues: #135274, #129524

cc @sixstringcode

Image

@tsullivan tsullivan added Team:SharedUX Team label for AppEx-SharedUX (formerly Global Experience) (Deprecated) Feature:Reporting Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead labels Nov 21, 2022
@tsullivan tsullivan changed the title [Reporting] Deprecate "Download CSV" from saved search panels in the dashboard. [Reporting] Remove "Download CSV" from saved search panels in the dashboard. Feb 2, 2023
@tsullivan tsullivan self-assigned this Mar 20, 2023
@petrklapka petrklapka changed the title [Reporting] Remove "Download CSV" from saved search panels in the dashboard. [Reporting] Refactor "Download CSV" from saved search panels in the dashboard to use Reporting CSV API. Apr 17, 2023
@tsullivan tsullivan changed the title [Reporting] Refactor "Download CSV" from saved search panels in the dashboard to use Reporting CSV API. [Reporting] Research removing "Download CSV" from saved search panels in the dashboard, in favor of CSV reports. May 22, 2023
@tsullivan
Copy link
Member Author

Done, per the proposal doc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
(Deprecated) Feature:Reporting Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead Team:SharedUX Team label for AppEx-SharedUX (formerly Global Experience)
Projects
None yet
Development

No branches or pull requests

1 participant