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

CSV report (saved search@dashboard): defer to the dashboard panel's selection of fields, not the fields in saved search data #43977

Closed
0asp0 opened this issue Aug 26, 2019 · 6 comments
Assignees
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

Comments

@0asp0
Copy link

0asp0 commented Aug 26, 2019

Kibana version: 7.3.1

Elasticsearch version: 7.3.1

Server OS version: Windows 10

Browser version: Vivaldi

Browser OS version: Windows 10

Original install method (e.g. download page, yum, from source, etc.): zip

Describe the bug:
If I use a different configuration on saved search and on dashboard, then the selected fields of saved search are used instead of the shown fields on dashboard.

example:

saved search: field hostname is selected.
saved search embedded on dashboard: ipAddress is selected.
I expect to see timestamp and ipIddress in csv when exporting on dashboard level. But the csv contains timestamp and hostname. It doesn't matter if I save the dashboard or if I do the column changes without saving. But I expect that it should work without saving.

Steps to reproduce:

  1. create a save search and select hostname field for being displayed
  2. save search as "test"
  3. create dashboard and add saved search test to it.
  4. save dashboard
  5. change shown columns on dashboard any other field (e.g. IP)
  6. hit Download CSV button

Expected behavior:
csv file contains timestamp and IP
but csv file contains timestamp and hostname (seems to be taken from saved search)

Errors in browser console (if relevant):

Provide logs and/or server output (if relevant):

Any additional context:
discussion: https://discuss.elastic.co/t/feedback-on-csv-export-of-saved-search-in-dashboard/196748

@0asp0 0asp0 changed the title CSV report: fields taken from saved search instead of from dashboard embedded view CSV report (saved search@dashboard): fields taken from saved search instead of from dashboard embedded view Aug 26, 2019
@markov00 markov00 added (Deprecated) Feature:Reporting Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead Team:Stack Services triage_needed labels Aug 26, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-stack-services

@tsullivan tsullivan self-assigned this Aug 26, 2019
@tsullivan tsullivan changed the title CSV report (saved search@dashboard): fields taken from saved search instead of from dashboard embedded view CSV report (saved search@dashboard): defer to the dashboard panel's selection of fields, not the fields in saved search data Aug 26, 2019
@tsullivan
Copy link
Member

This fix might be achievable now with some of the new enhancements to the saved search information in our SearchEmbeddable. See #43634

@bmcconaghy bmcconaghy added Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) and removed Team:Stack Services labels Dec 12, 2019
@tsullivan
Copy link
Member

This will be addressed when CSV Export uses SearchSource on the server internally. This is a priority since it is related to supporting Runtime Fields with CSV Export: #81079

@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-services (Team:AppServices)

@tsullivan tsullivan removed the Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) label Dec 17, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-reporting-services (Team:Reporting Services)

@tsullivan tsullivan added the enhancement New value added to drive a business result label Feb 25, 2021
@tsullivan
Copy link
Member

This has not been addressed yet: at the time of writing #81079 the APIs were not available to use the "unsaved" set of columns in the request.

I'm going to close this though, as a duplicate of #18439

@sophiec20 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
@botelastic botelastic bot added the needs-team Issues missing a team label label 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
Projects
None yet
Development

No branches or pull requests

6 participants