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

_msearch request when showing/hiding labels in visualizations #28112

Closed
JacobBrandt opened this issue Jan 4, 2019 · 2 comments
Closed

_msearch request when showing/hiding labels in visualizations #28112

JacobBrandt opened this issue Jan 4, 2019 · 2 comments
Labels
bug Fixes for quality problems that affect the customer experience Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@JacobBrandt
Copy link
Contributor

JacobBrandt commented Jan 4, 2019

Kibana version: 6.5

Describe the bug:
When opening/hiding the labels on a visualization an _msearch request for the visualization occurs. This request doesn't match the time range for the other visualizations on the dashboard so it's now out of sync from the rest of the dashboard. It really doesn't need to make this request in the first place as it already knows all the data it displayed

Steps to reproduce:

  • Ingest data on a regular interval (like every 5 minutes)
  • Create a visualization with labels and add it to the dashboard
  • Show/Hide the labels on the visualization
  • Notice that a request was made for this visualization that doesn't match the dashboard request for the other visualizations. Thus making what it displays out of sync from every other visualization on the dashboard.

Expected behavior:
Only request data when the user asks for new data. A common thing to do was to show the labels for the display. It used to make sense before 6.x versions because it would show you what you are currently looking at. But now it requests new data potentially changing our display and the user wondering how did I start with 3 pie slices and end up with 5 just by showing the labels.

Related to: #18668, #27440, #27478

@nreese nreese added bug Fixes for quality problems that affect the customer experience Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Jan 5, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app

@timroes
Copy link
Contributor

timroes commented Jan 31, 2019

Duplicate of #21480

@timroes timroes marked this as a duplicate of #21480 Jan 31, 2019
@timroes timroes closed this as completed Jan 31, 2019
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 Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

No branches or pull requests

4 participants