Kibana Lens Dashboard Link Broken 404 Dashboard Not Found #174779
Labels
bug
Fixes for quality problems that affect the customer experience
needs-team
Issues missing a team label
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:
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.
The text was updated successfully, but these errors were encountered: