-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Metrics system overview dashboard redirects to a 404 Dashboard not found page in Kibana #175072
Comments
We're on 8.11.4 and this is affecting all of the links where they exist in Fleet managed dashboard. I've tried reinstalling integration assets but it doesn't fix it. Every link I've tested so far in every Fleet managed dashboard has returned a 404 Not Found error. |
Pinging @elastic/kibana-presentation (Team:Presentation) |
@elastic/kibana-presentation Apologies if this is totally unrelated to Dashboard itself, it wasn't clear to me who to assign this one too. I tried adding |
Pinging @elastic/fleet (Team:Fleet) |
This sounds pretty catastrophic. Will attempt to reproduce the issue. |
Tracked in support ticket #01547752 elastic v8.11.4 |
I tried to come up with a minimal reproduction case here in a fresh cluster with a few agents enrolled and was unsuccessful Screen.Recording.2024-01-26.at.9.03.39.AM.movSummary of steps taken
Some points of clarification that would be helpful here:
My initial suspicion is that there are multiple spaces in use for these scenarios, so I will attempt to reproduce the specific behavior using spaces. If that's not the case, then please disregard the below. Please note, that multi-space usage of integrations is not fully supported at this time as mentioned in https://www.elastic.co/guide/en/fleet/current/integrations.html. Some integrations may work across spaces, others may not. We also call out that integration assets can only be installed in a single space at a time here: https://www.elastic.co/guide/en/fleet/current/install-uninstall-integration-assets.html. If you want to clone assets between spaces today, you'll need to use Kibana's built in "copy" function for dashboards, etc. We are actively working on full multi-space support for Fleet/Integrations in this calendar year, and there is a public issue for some of the more immediate annoyances (as opposed to the large scope of work we're defining now) here: #172964. Please also see elastic/integrations#3434 for a lengthy discussion with other users that outlines some of Fleet's current limitations and pain points when used in multiple spaces. |
I took a pass at reproducing this with multiple spaces, and I see some similar behavior to the issue, but the Integrations UI callout makes it somewhat obvious what's going on here by mentioning there are no assets for the integration in this space. Screen.Recording.2024-01-26.at.9.28.03.AM.mov |
This has always happened, there's still no elegant solution, I've been dealing with this problem for years. It occurs when you have multiple spaces, it doesn't happen with the default. Before, I used to fix it by editing the default dashboards and correcting the links (which was unfortunately manual and tedious), but now they don't let you edit the system dashboards. I've always had the same issue with the system dashboards and some others offered as integrations. Truth is, at least for me, I'm bored with these minor issues. There are many of them, and in the long run, how can you trust something that fails so often? |
@ITSEC-Hescalona - Integrations are not space aware, so the links present in these dashboard sources are hardcoded, e.g. These URL's won't include a space ID in them e.g. cc @drewdaemon - Maybe you are a good person to ask about what can be done today to make these URL's space-aware during the clone operation? If a dashboard includes templated links like we generate for agent hostnames today, is there anything we can do in the dashboard JSON to indicate that the end result URL should include the space indicator where the dashboard is installed? I know this relates closely to #167901 as well. |
"I get you, but it's not what we sees. In the example I'm giving you, the dashboard that I directly opened is this one: s/SPACE/app/dashboards#/view/4d1b0886-0d82-4451-9855-d2481706749f, and a link points to /s/SPACE/app/dashboards#/view/system-bae11b00-9bfc-11ea-87e4-49f31ec44891. Opening it from the space results in a 404 error, but the same URL from the default does show up. I don't know if you understand what I mean." |
Fleet support for multiple spaces should have been sorted 12 to 18 months ago, as Fleet has been GA since mid-2021. You can't expect us to have 1 operations team per deployment/Kibana instance to get this stuff working. |
@ITSEC-Hescalona I understand what you mean. The key is that the IDs change when you copy integration assets to another space, but the hyperlinks don't. As @kpollich mentioned, the official answer is that integrations aren't (yet) space aware. Still, I totally understand the frustration. To improve the situation today
And for the future @kpollich mentioned #167901. This effort will fill in a key platform feature which will allow dashboards and other integration assets to be shared between spaces instead of copied. That opens the door for Fleet to install assets across spaces with none of the saved object ID changes associated with copying. |
@drewdaemon Thanks !!! great explanation, you changed me from very frustrated to frustrated but hopeful |
I think #172963 would be a good path to remediating this, by allowing Fleet to duplicate assets across many spaces. This would be a stopgap solution until first-class shareable analytics ship in #167901. Please also see #175831, which I've created as a centralized place for further discussion around multi-space usage of Fleet. It includes substantial historical and technical context, and will provide continual updates as we implement first-class multi-space RBAC support in Fleet. |
Hi @drewdaemon , @kpollich Thanks for the analysis and work around being explored. I am trying to understand the severity of impact of this issue for existing integration users. Do we have a clear summary of the impact of this issue, which integrations dashboards will be impacted and since which release? I am wondering how do we ensure not other SDH gets filed and any user doc we can create to explain the same. |
@lalit-satapathy I can say that before 8.0 you could have multiple saved objects in multiple spaces with identical IDs. Since 8.0, copying saved objects to other spaces changes their ID, no matter what (ref). Any integration that hard-codes a saved object ID in a URL (e.g. using a markdown panel for navigation) will have a broken link when the assets are copied into a new space. My guess is that this is most integrations. I think #175831 will be the center of the discussion moving forward and will include documentation of the issue. |
Kibana version:
8.11.2
Elasticsearch version:
8.11.2
Server OS version:
Linux
Browser version:
Chrome
Browser OS version:
Version 120.0.6099.216 (Official Build) (arm64)
Original install method (e.g. download page, yum, from source, etc.):
Using the Elastic integration
Describe the bug:
We have elastic agent v8.10.4 running on a windows and a linux device. They are able to send the metrics information to the elastic node. If I open the Metrics system overview dashboard it shows me the overview of the system health but if I click on the system name it redirects me to the 404 dashboard not found page.
I have tried the same issue with kibana version v8.10.4 and v8.11.2. My agent is still running on v8.10.4
Steps to reproduce:
Expected behavior:
After clicking the hostname it should redirect to Metrics system host overview dashboard
Screenshots (if relevant):
Errors in browser console (if relevant):
Provide logs and/or server output (if relevant):
Any additional context:
I just did a reverse test, which is to open the [Metrics System] Host overview dashboard and click on the System overview link in it. It takes me to the 404 dashboard not found page again.
The text was updated successfully, but these errors were encountered: