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

Beats dashboards with links come up blank #87181

Closed
liza-mae opened this issue Jan 4, 2021 · 9 comments · Fixed by #87246
Closed

Beats dashboards with links come up blank #87181

liza-mae opened this issue Jan 4, 2021 · 9 comments · Fixed by #87246
Labels
bug Fixes for quality problems that affect the customer experience regression Team:Beats

Comments

@liza-mae
Copy link
Contributor

liza-mae commented Jan 4, 2021

Kibana version: 7.11.0 BC 1

Elasticsearch version: 7.11.0 BC 1

Server OS version: Ubuntu

Browser version: Chrome Latest

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

Description of the problem including expected versus actual behavior:
Go to a beats dashboard with links for example: [Packetbeat] Overview ECS or [Metricbeat System] Overview ECS

Steps to reproduce:

  1. Install ES/Kibana/beats
  2. Go to a dashboard as noted in description and click a link, notice the page is blank (sometimes a console error appears but not consistent and may not be the root cause).

Screenshot from 2021-01-04 09-58-04

Screenshot from 2021-01-04 09-54-25

Screenshot from 2021-01-04 09-54-48

@liza-mae liza-mae added bug Fixes for quality problems that affect the customer experience Team:Beats regression labels Jan 4, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/integrations (Team:Beats)

@liza-mae
Copy link
Contributor Author

liza-mae commented Jan 4, 2021

I saw this PR come in this morning: #86942 which might fix this issue?
cc: @ThomThomson

@ThomThomson
Copy link
Contributor

The blank screen here should be fixed by the above PR, but the blank screen would only have shown up if the links are invalid. The error seems to be unrelated. Would you mind sending me the URL format for the links so I can double check that everything is working properly now?

@liza-mae
Copy link
Contributor Author

liza-mae commented Jan 4, 2021

@ThomThomson if the links are invalid then someone from the beats team needs to check why and fix it.

One example of the URLs:

From here:

https://localhost:2201/app/dashboards#/view/Packetbeat-Dashboard-ecs?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(description:'Packetbeat%20overview%20dashboard.',filters:!(),fullScreenMode:!f,options:(darkTheme:!f),query:(language:kuery,query:''),tags:!(),timeRestore:!f,title:'%5BPacketbeat%5D%20Overview%20ECS',viewMode:view)

Clicking a link:

https://localhost:2201/app/dashboards#/dashboard/Packetbeat-Dashboard-ecs

@liza-mae
Copy link
Contributor Author

liza-mae commented Jan 4, 2021

Looks like the URLs are invalid, should be

https://localhost:2201/app/dashboards#/view/Packetbeat-Dashboard-ecs

not

https://localhost:2201/app/dashboards#/dashboard/Packetbeat-Dashboard-ecs

@ThomThomson
Copy link
Contributor

Yes that is correct. I am not sure how they were working before. With the fix I implemented, those urls will now correctly redirect to the dashboard listing page.

@liza-mae
Copy link
Contributor Author

liza-mae commented Jan 4, 2021

I will re-test and verify on the next BC, thanks.

@jsoriano
Copy link
Member

jsoriano commented Jan 5, 2021

Links in beats dashboards are defined in one of these two ways:

  • As #/dashboard/<id> in markdown, e.g:
    "markdown": "[System Overview](#/dashboard/Metricbeat-system-overview-ecs)  | [Host Overview](#/dashboard/79ffd6e0-faa0-11e6-947f-177f697178b8-ecs) |\n[Containers overview](#/dashboard/CPU-slash-Memory-per-container-ecs)"
    
  • As ../app/kibana#/dashboard/<id>?<params> in drilldowns, e.g:
    "drilldown_url": "../app/kibana#/dashboard/e9057ae0-47c5-11e8-bc13-1397384faad3-ecs?_a=(query:(language:kuery,query:'haproxy.stat.proxy.name:\"{{ key }}\"'))"
    
    "drilldown_url": "../app/kibana#/dashboard/79ffd6e0-faa0-11e6-947f-177f697178b8-ecs?_a=(query:(language:kuery,query:'host.name:\"{{key}}\"'))",
    

Should we modify these links for future versions of Beats/integrations? They are working fine in 7.10.

@ThomThomson
Copy link
Contributor

ThomThomson commented Jan 5, 2021

@flash1293 discovered in https://github.com/elastic/observability-test-plans/issues/175 that these issues are actually due to a missing BWC case in dashboard in 7.11.0

I have fixed this in #87246, including a functional test to make sure this doesn't happen again.

That said, it could be best to modify the links in the dashboards to the latest format.

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 regression Team:Beats
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants