I'm using TSVB Markdown panels to present links to dashboards, like this:
[Dashboard title](#/dashboard/88da11e0-9c58-11eb-b38d-7b8e5ab9c930)
Such links are independent of the current space, which is how I like them. They link to the dashboard with that ID in whatever the current space happens to be. I do not want to cite a specific space in the URL. One reason: I copy the set of saved objects from my "dev" space to my "demo" space. When I view this Markdown in the dev space, I want to link to the dashboard in the dev space; in the demo space, I want to link to the dashboard in the demo space.
(How) can I present a link that goes to a dashboard and sets its time range and refresh interval? For example, as specified by the following query string:
?_g=(refreshInterval:(pause:!f,value:30000),time:(from:now-10m,to:now))
I've tried numerous URLs without success.
I don't particularly want to create a copy of this dashboard, and save it with time settings, simply to achieve this.
Closely related question: suppose I have a space, myspace
, for which I have defined the following defaultRoute
setting (to a "home" dashboard):
/app/dashboards#/view/d24954f0-a7e6-11eb-b38d-7b8e5ab9c930
To go to that home dashboard, I use the following URL:
http://elastichost.example.com:15601/s/myspace
(How) can I specify a query string in that URL that sets the time and refresh interval?
Simply appending a query string to that s/myspace
URL does not work.
In practice, I need to cite the URL with the full dashboard ID:
http://elastichost.example.com:15601/s/myspace/app/dashboards#/view/d24954f0-a7e6-11eb-b38d-7b8e5ab9c930?_g=(refreshInterval:(pause:!f,value:30000),time:(from:now-10m,to:now))
That works, but I'm wistful about a URL without that long ID.