Skip to content

CSV reporting needs to handle empty reports better.  #18320

@elasticmachine

Description

@elasticmachine

Original comment by @bhavyarm:

Kibana version: 6.0.0 BC1

Elasticsearch version: 6.0.0 BC1

Server OS version: darwin_x86_64

Browser version: Chrome latest

Browser OS version: OS X

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

Original X-Pack install method (e.g. by name, offline install, from source, etc.): from staging

Description of the problem including expected versus actual behavior: If user prints csv report on empty results right now- Kibana just prints an empty CSV. User will have to download the csv to realize that it's empty.

Logging this here after discussing it with @kobelb so he can figure out how to handle it.

Steps to reproduce:

  1. Open a indexpattern in discover with no results
  2. save it and print a report
  3. Download the csv - its empty

Example report:
LINK REDACTED

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature:Reporting:CSVReporting issues pertaining to CSV file exportenhancementNew value added to drive a business resultgood first issuelow hanging fruitimpact:lowAddressing this issue will have a low level of impact on the quality/strength of our product.loe:smallSmall Level of Effortneeds-teamIssues missing a team label

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions