Could not locate that dashboard (5.4)

Tried to create a simple dashboard with navigation but am constantly receiving a "Could not locate that dashboard(id: Omzet_totaal).

{
"title": "Customer",
"type": "markdown",
"params": {
"markdown": "- Omzet totaal\n\n- Marge totaal\n\n"
},
"aggs": [],
"listeners": {}
}

I have a visualization and a dashboard named Omzet_totaal and Marge_totaal.

The names and IDs of dashboard (or really, all saved objects in Kibana) aren't the same. The name you provide, the ID is a UUID string that Kibana generates when you create something.

You can find the ID by looking in the Saved Objects section of Management, but it's probably easier to simply load the thing you want to link to and copy the URL from the browser's address bar.

Hi Joe,

Thanks for your answer/reaction.

I tried to use both the UUID and the URL, but both results in the opening of the Discover in stead of the Dashboard.

Do you have an example of how the "markdown" should look like?

Sure. If you load up the dashboard in Kibana, you will get a URL like like:

https://0.0.0.0:5601/yqe/app/kibana#/dashboard/ffe00980-551b-11e7-a513-2f2f2cb90b28?_g=()&_a=(description:'',filters:!(),options:(darkTheme:!f),panels:!((col:1,id:a4674a00-551b-11e7-a513-2f2f2cb90b28,panelIndex:1,row:1,size_x:6,size_y:3,type:visualization),(col:7,id:d301d4c0-551b-11e7-a513-2f2f2cb90b28,panelIndex:2,row:1,size_x:6,size_y:3,type:visualization),(col:1,id:f7a76470-551b-11e7-a513-2f2f2cb90b28,panelIndex:3,row:4,size_x:6,size_y:3,type:visualization)),query:(query_string:(analyze_wildcard:!t,query:'*')),timeRestore:!f,title:'New%20Dashboard',uiState:(P-2:(vis:(defaultColors:('0%20-%20100':'rgb(0,104,55)')))),viewMode:view)

This contains a bunch of global (_g=) and application (_a=) state, which you may or may not want. The only part you really need is the URL before the ? there, so:

https://0.0.0.0:5601/yqe/app/kibana#/dashboard/ffe00980-551b-11e7-a513-2f2f2cb90b28

This is enough to load the dashboard. The format of the URL is, as you can probably see, #/<application>/<object id>. So your markdown would look like this:

[link to New Dashboard](https://0.0.0.0:5601/yqe/app/kibana#/dashboard/ffe00980-551b-11e7-a513-2f2f2cb90b28)

And if you wanted to pin a specific time to link to (unlikely, but just for completeness here), you could load that dashboard, set the time in the time picker, and then grab that user with the _g= section included:

[link to pinned time in New Dashboard](https://0.0.0.0:5601/yqe/app/kibana#/dashboard/ffe00980-551b-11e7-a513-2f2f2cb90b28?_g=(refreshInterval:(display:Off,pause:!f,value:0),time:(from:'2017-06-22T07:00:00.000Z',mode:absolute,to:'2017-06-24T06:59:59.999Z')))

The times in here are UTC, and you can modify them in the URL if you need. That could save you some clicking around if you wanted.

Give that a try.

3 Likes

Problem solved. Thnx Joe!

1 Like

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