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

Reports did not match the dashboard #20764

Closed
stacey-gammon opened this issue Jul 13, 2018 · 7 comments
Closed

Reports did not match the dashboard #20764

stacey-gammon opened this issue Jul 13, 2018 · 7 comments
Assignees
Labels
blocker bug Fixes for quality problems that affect the customer experience (Deprecated) Feature:Reporting Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead Team:Visualizations Visualization editors, elastic-charts and infrastructure v6.4.0

Comments

@stacey-gammon
Copy link
Contributor

Looks like a filter snuck in somewhere. Was happening on all my dashboards, both print and preserve layout. Once I switched to Chromium, the problem went away, even when I switched back to Phantom. I suspect something bad being cached. Maybe in the url. Will likely be hard to repro.

Also should note I had storeStateInSessionStorage turned on.

Dashboard:
screen shot 2018-07-13 at 8 53 10 am

Report:
screen shot 2018-07-13 at 8 53 41 am

Did not recall ever setting a filter manually.

This ones going to be hard to repro but filing to keep track at least.

@stacey-gammon stacey-gammon added bug Fixes for quality problems that affect the customer experience :Sharing (Deprecated) Feature:Reporting Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead labels Jul 13, 2018
@stacey-gammon
Copy link
Contributor Author

Was able to repro again, I think it has something to do with auto refresh turned on.

Reporting url:
http://localhost:5601/okz/api/reporting/generate/printablePdf?jobParams=(browserTimezone:America%2FNew_York,layout:(dimensions:(height:1632,width:1249),id:preserve_layout),objectType:dashboard,relativeUrls:!(%27%2Fapp%2Fkibana%23%2Fdashboard%2F8d5be000-789c-11e8-9a14-1fcaf919af18%3F_g%3D(refreshInterval:(pause:!!f,value:5000),time:(from:now-1h,mode:quick,to:now))%26_a%3D(description:!%27!%27,filters:!!(),fullScreenMode:!!f,options:(darkTheme:!!f,hidePanelTitles:!!f,useMargins:!!t),panels:!!((embeddableConfig:(),gridData:(h:14,i:!%271!%27,w:48,x:0,y:0),id:!%278f4d0c00-4c86-11e8-b3d7-01146121b73d!%27,panelIndex:!%271!%27,type:visualization,version:!%277.0.0-alpha1!%27),(embeddableConfig:(),gridData:(h:10,i:!%272!%27,w:21,x:0,y:14),id:!%278f4d0c00-4c86-11e8-b3d7-01146121b73d!%27,panelIndex:!%272!%27,type:visualization,version:!%277.0.0-alpha1!%27),(embeddableConfig:(),gridData:(h:10,i:!%273!%27,w:11,x:21,y:14),id:!%278f4d0c00-4c86-11e8-b3d7-01146121b73d!%27,panelIndex:!%273!%27,type:visualization,version:!%277.0.0-alpha1!%27),(embeddableConfig:(),gridData:(h:34,i:!%274!%27,w:47,x:0,y:24),id:f8290060-4c88-11e8-b3d7-01146121b73d,panelIndex:!%274!%27,type:visualization,version:!%277.0.0-alpha1!%27)),query:(language:lucene,query:!%27!%27),timeRestore:!!f,title:!%27pie%2Bauto%2Brefresh%2Bon!%27,viewMode:view)%27),title:%27pie%20auto%20refresh%20on%27)

Notice the time on the report spans only one hour, but the dashboard is "last 24 hours".

screen shot 2018-07-13 at 11 37 19 am

@stacey-gammon stacey-gammon changed the title Reports did not match the dashboard (fixed by page refresh) Reports did not match the dashboard Jul 13, 2018
@stacey-gammon
Copy link
Contributor Author

stacey-gammon commented Jul 13, 2018

Notice also the report url says "now - 1h" which does not match the actual dashboard which should be "now - 24h". Fiddling with the time picker fixes it. Must be the default time range is not set up correctly for the reporting url.

@nreese
Copy link
Contributor

nreese commented Jul 13, 2018

Maybe the changes in #19852 caused this?

@alexfrancoeur
Copy link

Is this only in master or reproducible in 6.3?

@stacey-gammon
Copy link
Contributor Author

I didn't try in 6.3, but I'd guess that it's in master/6.4 - lots of de-angularization and time picker changes in 6.4 and there are quite a few other time/dashboard bugs

@timroes
Copy link
Contributor

timroes commented Jul 24, 2018

@stacey-gammon could you please add a version label to clarify for which version this is a blocker, thanks!

@stacey-gammon
Copy link
Contributor Author

Closed by #20858

@timroes timroes added Team:Visualizations Visualization editors, elastic-charts and infrastructure and removed enhancement New value added to drive a business result Team:Visualizations Visualization editors, elastic-charts and infrastructure PR sent :Sharing labels Sep 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocker bug Fixes for quality problems that affect the customer experience (Deprecated) Feature:Reporting Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead Team:Visualizations Visualization editors, elastic-charts and infrastructure v6.4.0
Projects
None yet
Development

No branches or pull requests

4 participants