# Automated way of getting iframe for dashboard url

**URL:** https://discuss.elastic.co/t/automated-way-of-getting-iframe-for-dashboard-url/217921
**Category:** Kibana
**Created:** [February 5, 2020, 7:18am UTC](https://discuss.elastic.co/t/automated-way-of-getting-iframe-for-dashboard-url/217921 "2020-02-05T07:18:35Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![eyesmoker1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eyesmoker1/32/54603_2.png) [@eyesmoker1](https://discuss.elastic.co/u/eyesmoker1)
#### Post date: [February 5, 2020, 7:18am UTC](https://discuss.elastic.co/t/automated-way-of-getting-iframe-for-dashboard-url/217921/1 "2020-02-05T07:18:35Z")

</div>

I couldn't find solution when searching through existing questions in the forums. So, posting it here.  
I have seen a manual way of going to kibana and getting a iframe url for some of the dashboards. Is there any way, we can get the url in a automated way once kibana is spin up?  
Any help on the approach is appreciated.

Thanks.

---

<div class="post-metadata">

### Author: ![thomasneirynck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thomasneirynck/32/23313_2.png) [@thomasneirynck](https://discuss.elastic.co/u/thomasneirynck)
#### Post date: [February 5, 2020, 8:04pm UTC](https://discuss.elastic.co/t/automated-way-of-getting-iframe-for-dashboard-url/217921/2 "2020-02-05T20:04:45Z")

</div>

hi @eyesmoker1,

There's no documented way, but consider querying Elasticsearch directly.

Query the `.kibana` index pattern for any stored dashboards, and reverse-engineer the `<iframe>` urls from the ids.

e.g.:  
`GET localhost:9200/.kibana/_search?q=type:dashboard`

---

<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 4, 2020, 8:04pm UTC](https://discuss.elastic.co/t/automated-way-of-getting-iframe-for-dashboard-url/217921/3 "2020-03-04T20:04:53Z")

</div>

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