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

Kibana Lens Dashboard Link Broken 404 Dashboard Not Found #174779

Closed
FreerideTheWorld opened this issue Jan 12, 2024 · 3 comments
Closed

Kibana Lens Dashboard Link Broken 404 Dashboard Not Found #174779

FreerideTheWorld opened this issue Jan 12, 2024 · 3 comments
Labels
bug Fixes for quality problems that affect the customer experience needs-team Issues missing a team label

Comments

@FreerideTheWorld
Copy link

Kibana version:
ECE 8.10.4
Elasticsearch version:
ECE 8.10.4
Server OS version:

Browser version:
Chrome
Browser OS version:

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

Describe the bug:
Links from one dashboard to another are broken if you export or copy to space a dashboard with links to other dashboards in it.
Steps to reproduce:

  1. Export or "Copy to Space" a dashboard that links to another dashboard.

Expected behavior:
The ID's are updated on addition to new Spaces.
Screenshots (if relevant):

Errors in browser console (if relevant):

Provide logs and/or server output (if relevant):

Any additional context:
This is could be a feature request but it kind of sits in the gray area so I put it here. Not entirely sure which one it should go to.
Note: It may be necessary to check the user permissions first.
TL/DR
1. (Hamburger Menu) --> Stack Management --> Saved Objects
2. Select the dashboard and Export
3. Open with Notepad++, CTRL +F, change the Search Mode in the bottom left to Regular Expression and search for the ID
4. Delete the old ID
5. Insert the new ID
6. Save the file
7. Saved Objects --> Import --> Add file and overwrite old dashboards

A user hit an error within their Kibana Space where they had access to the [Metrics System] Overview page within their Space but when they clicked on one of the host names in the, Host | CPU usage | Memory usage visualization, they were met with an error, "Dashboard not found. Sorry, the dashboard you're looking for can't be found. It might have been removed or renamed, or maybe it never existed at all."

I had initially copied over the dashboards by exporting the prebuilt [Metrics System] ones but after hitting these issues I deleted them and then moved to using the "Copy to Space" function. Each option seemed to give me the same error. What Elastic/Kibana appears to do is that it gives these dashboards new ID's so it breaks the links. The next step was to figure out what the new dashboard ID is in order to replace the old ID with the new one. In this case the original ID dashboard ID was system-79ffd6e0-faa0-11e6-947f-177f697178b8 which needed to be replaced with 80504f1e-d081-4920-9979-e88f2953a52d. If you go to the [Metrics System] Overview dashboard and click on Edit --> Cog (Wheel) --> Edit Lens theres no way to edit the actual URL/ID that links to the [Metrics System] Host overview page because it doesn’t utilize Markdown. The next step seemed to be to go to the Saved Objects section, export the files, search for the original ID in Notepad++, remove it, add in the new ID, save and then use the Import function in Saved Objects with overwrite existing dashboards to get the link working.

@FreerideTheWorld FreerideTheWorld added the bug Fixes for quality problems that affect the customer experience label Jan 12, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label Jan 12, 2024
@bhavyarm
Copy link
Contributor

Hello, closing this as this is getting discussed here - https://discuss.elastic.co/t/kibana-lens-dashboard-link-broken-404-dashboard-not-found/350980

@roshan-elastic
Copy link

@teresaalvarezsoler FYI

@bhavyarm
Copy link
Contributor

bhavyarm commented Jan 16, 2024

I did open this enhancement in beats repo so we can track links here - elastic/beats#37627 Thanks!

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 needs-team Issues missing a team label
Projects
None yet
Development

No branches or pull requests

3 participants