elastic / elastic/integrations

[Serverless] Integration dashboards that use `#/dashboard` link structure result in 404's

Open
#13,630 4 comments 0 reactions 0 assignees View on GitHub
dashboard Integration:All Team:Ecosystem
Dominant language
Handlebars
Stars
333
Forks
647
Avg merge
2d 18h
Merged PRs (30d)
182

Description

e.g. this dashboard https://github.com/elastic/integrations/blob/25b9fb30ad3d3c210e5bccbb50542e14a9ecccc1/packages/system/kibana/dashboard/system-Windows-Dashboard.json#L259 renders several links to other dashboards that simply do nothing in serverless projects.

The rendered link addresses look like this: `https:///app/security/dashboards/system-Windows-Dashboard?sourcerer=(default:(id:security-solution-default,selectedPatterns:!(%27logs-*%27)))&timerange=(global:(linkTo:!(),timerange:(from:%272025-04-21T04:00:00.000Z%27,fromStr:now%2Fd,kind:relative,to:%272025-04-22T03:59:59.999Z%27,toStr:now%2Fd)),timeline:(linkTo:!(),timerange:(from:%272025-04-20T17:37:46.678Z%27,kind:absolute,to:%272025-04-21T17:37:46.678Z%27)))&timeline=(activeTab:query,graphEventId:%27%27,isOpen:!f)#/dashboard/system-bae11b00-9bfc-11ea-87e4-49f31ec44891`

The `#/dashboard/system-bae11b00-9bfc-11ea-87e4-49f31ec44891` segment is what's being provided in the integration dashboard source.

This direct link works: `https:///app/security/dashboards/system-bae11b00-9bfc-11ea-87e4-49f31ec44891?sourcerer=(default:(id:security-solution-default,selectedPatterns:!(%27logs-*%27)))&timerange=(global:(linkTo:!(),timerange:(from:%272025-04-21T04:00:00.000Z%27,fromStr:now%2Fd,kind:relative,to:%272025-04-22T03:59:59.999Z%27,toStr:now%2Fd)),timeline:(linkTo:!(),timerange:(from:%272025-04-20T17:37:46.678Z%27,kind:absolute,to:%272025-04-21T17:37:46.678Z%27)))&timeline=(activeTab:query,graphEventId:%27%27,isOpen:!f)#/dashboard/system-d401ef40-a7d5-11e9-a422-d144027429da`

### Steps to reproduce

1. Create a security serverless project. Note that this issue does not affect observability projects since link addresses are handled differently.
2. Install the `system` integration.
3. Go to `Dashboards` in the side nav bar.
4. Open the `[System] Windows Overview` dashboard.
5. Click `User Logon Information`, see that nothing happens.

Note that if you open the `[System] Windows Overview` dashboard from the `Assets` tab in the integration page, then the links work correctly.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.