Link to a dashboard on the same site without the domain

I am operating a live and staging system and have links within dashboards for drilldowns. The problem is, I have one domain name for live and a different for staging so when I copy the saved objects from live to staging all the internal links are wrong.

e.g.

The www.livedomain.com domain on blue_system and the link in dashboard A is https://www.livedomain.com/app/kibana#/dashboard/dashboardA

When I copy across the dashboards this is what I get

The www.stagindomain.com domain on green_system and the link in dashboard A is https://www.livedomain.com/app/kibana#/dashboard/dashboardA

but should be

The www.stagindomain.com domain on green_system and the link in dashboard A is https://www.stagindomain.com/app/kibana#/dashboard/dashboardA

The workaround is to manually change it in the JSON but this can lead to human error and when we promote green to be live the links would all need to be changed again.

So the question is, is there a format I can use in the URL template of the field to point to dashboardA?

Hello @bertm81

I recently answered a similar question.
Hope you'll find it useful: Kibana URL template with relative path

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.