-
Notifications
You must be signed in to change notification settings - Fork 456
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
Links in the dashboards from elastic agent integration are not working in a multi space environment #6691
Comments
We have the same issue. Running Elastic-Stack 8.8.1. Suspect this issue occurred after 8.8.0. Related (further down): Integration Issue Related: Multiple issues - Fleet integrations across multiple spaces confuses Kibana/Fleet |
Pinging @elastic/security-external-integrations (Team:Security-External Integrations) |
For the navigational panel, we will look into modifying the markdown links and see if they work for all the usecases, thanks for letting us know! |
I tested this myself @nicpenning, however it worked just fine. Are you sure it was on the newest version of the elastic_agent package? A new PR is coming now to fix some links that might not work on non-default spaces, but except that it should be fine. |
We didn't copy this dashboard to any space. Out of the box in the default space this is broken. What version of the integration is this fixed? |
@BenB196 Yeah sorry about that, certain resources was not included in that PR, as there are certain issues between 8.9 and 8.10 dashboards. Will update this again soon when I have an update. |
There should not be any way for fleet to create assets that is not prefixed with their related integration, so when you mentioned that they are missing the prefix then that would be the only conclusion I could draw, did you check that the elastic agent integration is up2date on the integration page? |
Added the updated hyperlinks now @BenB196 , that should be all to allow the links to work if the integration had been installed outside of the default space. |
All of the dashboards work, it appears that the navigation is what isn't working. But this may be a separate issue to what is posted here. Overview URL : /app/dashboards#/view/ee9d27e9-cd2a-413b-af37-5712b8c2ea4 |
I think that is something specific to your deployment then, might need to look into if something has happened with other spaces @nicpenning . The URL's and the assets are working fine, and the shortcut links are: Seeing that your actual URL's are without prefix, I still feel those have been manually copied over, which means that the dashboards you are testing is not actually affected by the upgrades, as they are not managed by the fleet instance (since it has been copied or something similar at some point). Else it must be a bug. |
So it seems that the install for the Integration is not giving it the correct static ID but making a new one every time.
|
I am with Matthias here on this one. I upgraded to the latest version of the Elastic Agent integration (1.13.0) and yes all the dashboards exist and work when navigating directly to them. However, all of the table of contents links take you to the 404 page. I have even removed the dashboards entirely and then reinstalled the integration. This is in the latest Table of contents:
Which is probably correct, but my previous statement is some odd behavior where the new dashboards are not getting static IDs but rather dynamic ones which tells me there must be some dashboards with those IDs that exist somewhere else and instead of writing over them they are getting created with new IDs. If I find the time, I will look to see if other spaces have these Dashboard IDs (not just names) that are outdated and need to be removed. |
Hi,
elastic agent integration (version 1.8.0)
Elastic Stack 8.8.1
The navigation panel in the dashboards is using markdown with links like
/app/dashboards#/view/elastic_agent-1a4e7280-6b5e-11ed-98de-67bdecd21824
.If the integration is installed in a specific space, theses links do not works, as these links are resolved to the default space
Others integrations are using links like
#/view/elastic_agent-1a4e7280-6b5e-11ed-98de-67bdecd21824
to reference the dashboard in the current space.The text was updated successfully, but these errors were encountered: