Skip to content

[Reporting] Saved search exports an empty csv if an end time in the future is selected. #69636

@shobhitsinghal624

Description

@shobhitsinghal624

Kibana version:
7.7.1
Elasticsearch version:
7.7.1
Server OS version:
Ubuntu 18.04
Browser version:
Google Chrome Version 83.0.4103.61
Browser OS version:
macOS Catalina 10.15.3
Original install method (e.g. download page, yum, from source, etc.):
Docker
Describe the bug:
Saved search exports an empty csv if an end time in the future is selected. This comes up when we use the commonly used date ranges like - Today, This Month.

Steps to reproduce:

  1. Create a dashboard using a saved search
  2. Set time range as This Month, or any range with a future end date
  3. Download the table as csv. The csv will contain only headers, no data.
  4. Change the end date to now
  5. Again download the table as csv. The csv will contain data this time.

Expected behavior:
The csv should contain data even if the end date is in future.
Screenshots (if relevant):
Not relevant
Errors in browser console (if relevant):
No errors in browser.
Provide logs and/or server output (if relevant):
No error logs in server.
Any additional context:
First learned about the error here

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature:Reporting:CSVReporting issues pertaining to CSV file exportbugFixes for quality problems that affect the customer experiencefeedback_neededneeds-teamIssues missing a team label

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions