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): improve the behavior of having zero fields selected in the saved search #43978

Closed
0asp0 opened this issue Aug 26, 2019 · 2 comments
Assignees
Labels
(Deprecated) Feature:Reporting Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)

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 do not set any field in my saved search, I expect all fields to be exported to csv, which are used in my result set. That way it is done by discovery csv export where it is whitelisting all used fields in the report object in kibana index.
But on dashboard level only the timestamp is exported to csv if no fields are selected.

Steps to reproduce:

  1. save a search with no fields selected (_source will be displayed) as test2
  2. add saved search test2 to a dashboard
  3. export test2 by hitting Download CSV

Expected behavior:
All fields which are used in result set should be exported. That would be the same behavior like the csv export int discovery module.

But the csv export shows some json like output:
2019-08-23T12:57:05.371Z,"{""@timestamp"":""2019-08-23T12:57:05.371Z""}"

I expected to find all fields which are used in the csv file.

Screenshots (if relevant):

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

@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): behavior if no field is selected is wrong CSV report (saved search@dashboard): improve the behavior of having zero fields selected in the saved search Aug 26, 2019
@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

Duplicate of #18320

@tsullivan tsullivan marked this as a duplicate of #18320 Jun 9, 2020
@kobelb kobelb added the needs-team Issues missing a team label label Jan 31, 2022
@botelastic botelastic bot removed the needs-team Issues missing a team label label Jan 31, 2022
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:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)
Projects
None yet
Development

No branches or pull requests

6 participants