# Reference Kibana dashboards by name in URLs

**URL:** <https://discuss.elastic.co/t/reference-kibana-dashboards-by-name-in-urls/120451>\
**Category:** Kibana\
**Created:** [February 19, 2018, 12:37pm UTC](https://discuss.elastic.co/t/reference-kibana-dashboards-by-name-in-urls/120451 "2018-02-19T12:37:04Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adam.Reynolds](https://avatars.discourse-cdn.com/v4/letter/a/b77776/32.png) [@Adam.Reynolds](https://discuss.elastic.co/u/Adam.Reynolds)\
**Post date:** [February 19, 2018, 12:37pm UTC](https://discuss.elastic.co/t/reference-kibana-dashboards-by-name-in-urls/120451/1 "2018-02-19T12:37:04Z")

</div>

I'm in the process of upgrading one of our systems from ES2.4 to 5.2.2 (latest version of 5 will follow shortly) and have an issue.

When using 2.4 I was able to refer to a Dashboard in a URL by it's name, "General Usage" in this case. With 5x it seems that in links the name has been replaced by an id.

We embed some of the dashboards in iFrames, and with the ids now being unique I'm unable to promote code that references the dashboards from our QA environment to Production without changing the ids, whereas before as long as the Dashboard names were consistent there was no problem.

Is there any way that I can still use the Dashboard name in the URL rather than the new ID? I looked in the Management section of Kibana and can't see a way to change the Dashboard id.

---

<div class="post-metadata">

**Author:** ![Adam.Reynolds](https://avatars.discourse-cdn.com/v4/letter/a/b77776/32.png) [@Adam.Reynolds](https://discuss.elastic.co/u/Adam.Reynolds)\
**Post date:** [February 19, 2018, 2:55pm UTC](https://discuss.elastic.co/t/reference-kibana-dashboards-by-name-in-urls/120451/2 "2018-02-19T14:55:31Z")

</div>

hmmmm, just spun up a 6x latest cluster on ElasticCloud and it seems that version of Kibana uses IDs for dashboards too :-/

---

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [February 19, 2018, 3:18pm UTC](https://discuss.elastic.co/t/reference-kibana-dashboards-by-name-in-urls/120451/3 "2018-02-19T15:18:15Z")

</div>

Hi,

Yep. I also tried doing with by adding a custom name for the index pattern id so that system can refer to it with name instead of object id. But it doesn't work.

I am going to ask our dashboard team to take a look at this and keep you posted.

Thanks,  
Bhavya

---

<div class="post-metadata">

**Author:** ![Adam.Reynolds](https://avatars.discourse-cdn.com/v4/letter/a/b77776/32.png) [@Adam.Reynolds](https://discuss.elastic.co/u/Adam.Reynolds)\
**Post date:** [February 19, 2018, 3:31pm UTC](https://discuss.elastic.co/t/reference-kibana-dashboards-by-name-in-urls/120451/4 "2018-02-19T15:31:22Z")

</div>

Thanks. I'm using my best Google-fu and digging around to see if anyone's managed to do this but haven't found anything yet.

---

<div class="post-metadata">

**Author:** ![Adam.Reynolds](https://avatars.discourse-cdn.com/v4/letter/a/b77776/32.png) [@Adam.Reynolds](https://discuss.elastic.co/u/Adam.Reynolds)\
**Post date:** [February 19, 2018, 3:42pm UTC](https://discuss.elastic.co/t/reference-kibana-dashboards-by-name-in-urls/120451/5 "2018-02-19T15:42:35Z")

</div>

Well. I couldn't find anything but had an idea that I tried that seems to work...feels like a bit of a dirty hack though.

Go to Management/Saved Objects, then select and export the dashboards you want to name. Edit the JSON and change the IDs to something that makes sense to you (I changed the ID to Name\_not\_ID, you'd have to do some more tests to see iff you can have spaces or other odd characters if you need them). Once you've done that save the JSON and import the dashboard.

When you try and share it you should see the new name you applied in place of the id. Remember though that unless you edit it the actual name and description of the dashboard will be the same as the original one so it'll appear you've got 2 copies of the same Dashboard.

It works, so far, but it really feels like it should be something configurable rather than have to do it this way.

---

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [February 19, 2018, 4:09pm UTC](https://discuss.elastic.co/t/reference-kibana-dashboards-by-name-in-urls/120451/6 "2018-02-19T16:09:25Z")

</div>

That is a definite hack and that's why I didn't propose it 🙂 But our sharing team is working on it:

> <https://github.com/elastic/kibana/issues/15023>

  

> <https://github.com/elastic/kibana/issues/11338>

  

> <https://github.com/elastic/kibana/pull/14760>

Hope this helps.

Thanks,  
Bhavya

---

<div class="post-metadata">

**Author:** ![Adam.Reynolds](https://avatars.discourse-cdn.com/v4/letter/a/b77776/32.png) [@Adam.Reynolds](https://discuss.elastic.co/u/Adam.Reynolds)\
**Post date:** [February 19, 2018, 4:46pm UTC](https://discuss.elastic.co/t/reference-kibana-dashboards-by-name-in-urls/120451/7 "2018-02-19T16:46:24Z")

</div>

Yeah, I know...but if I want to be able to reference Dashboards and Visualisations consistently across different environments I need something.

I've edited the IDs on the Dashboards and their visualisations now and reloaded it all. I'll have to do the same with the other environments as well now but at least the code is portable.

Good to know a better solution is being looked at.

Adam

---

<div class="post-metadata">

**Author:** ![Stacey\_Gammon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stacey_gammon/32/14025_2.png) [@Stacey\_Gammon](https://discuss.elastic.co/u/Stacey_Gammon)\
**Post date:** [February 20, 2018, 1:45pm UTC](https://discuss.elastic.co/t/reference-kibana-dashboards-by-name-in-urls/120451/8 "2018-02-20T13:45:13Z")

</div>

Using the query parameter 'title' on the listing page might get you what you want (available starting in version 6.1). Make your url something like this:

`http://localhost:5601/app/kibana#/dashboards?title=my%20dashboard%20title`

If there is only one dashboard called `my dashboard title` it will auto open it. If there are multiple ones, it'll show you the listing page filtered with that string.

Does this help?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 20, 2018, 1:45pm UTC](https://discuss.elastic.co/t/reference-kibana-dashboards-by-name-in-urls/120451/9 "2018-03-20T13:45:28Z")

</div>

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