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

Generated Reports' status completed timestamp indicator is incorrect #17912

Closed
elasticmachine opened this issue Feb 10, 2017 · 0 comments · Fixed by #19551
Closed

Generated Reports' status completed timestamp indicator is incorrect #17912

elasticmachine opened this issue Feb 10, 2017 · 0 comments · Fixed by #19551
Assignees
Labels
bug Fixes for quality problems that affect the customer experience (Deprecated) Feature:Reporting Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead good first issue low hanging fruit PR sent Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@elasticmachine
Copy link
Contributor

Original comment by @ppf2:

Take the latest generated reports page from this instance as an example.

!LINK REDACTED

It says 9/13 4:30pm (Pacific) as the report added time, and under Status, it shows another timestamp under the status "Completed" as 9/13 4:31pm (also Pacific) - which suggests to the end user that it completed at 9/13 4:31pm.

But if I query the .reporting index sorted by latest completed_at, it returns different times (payload and output removed else it's too much text).

{
  "took": 6,
  "timed_out": false,
  "_shards": {
    "total": 4,
    "successful": 4,
    "failed": 0
  },
  "hits": {
    "total": 4,
    "max_score": null,
    "hits": [
      {
        "_index": ".reporting-2016.09.11",
        "_type": "esqueue",
        "_id": "it242khl000813a009ftwuut",
        "_score": null,
        "_source": {
          "jobtype": "printable_pdf",
          "priority": 10,
          "created_by": "pius",
          "timeout": 240000,
          "process_expiration": "2016-09-13T23:35:47.022Z",
          "created_at": "2016-09-13T23:30:12.153Z",
          "attempts": 1,
          "max_attempts": 3,
          "status": "completed",
          "started_at": "2016-09-13T23:31:47.022Z",
          "completed_at": "2016-09-13T23:33:41.514Z"
        },
        "sort": [
          1473809621514
        ]
      },

Notice that the completed at time is actually 9/13 4:33pm, which is +2 mins from what is specified on the UI.

If the issue here is that we are reporting only the started_at time, then this becomes a request to provide potentially 3 time indicators, report creation time, start time, and completed time to avoid confusion :)

Also, while we are on this topic, if we start displaying reports from all users on the generated reports page in the future, it will be nice to start displaying these timestamps including seconds information to be more granular.

@elasticmachine elasticmachine added :Sharing (Deprecated) Feature:Reporting Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead bug Fixes for quality problems that affect the customer experience good first issue low hanging fruit labels Apr 24, 2018
stacey-gammon added a commit to stacey-gammon/kibana that referenced this issue May 30, 2018
@stacey-gammon stacey-gammon self-assigned this May 30, 2018
stacey-gammon added a commit to stacey-gammon/kibana that referenced this issue May 30, 2018
@timroes timroes added Team:Visualizations Visualization editors, elastic-charts and infrastructure and removed :Sharing labels Sep 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience (Deprecated) Feature:Reporting Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead good first issue low hanging fruit PR sent Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants