# List all Kibana embedded Iframe URLs

**URL:** https://discuss.elastic.co/t/list-all-kibana-embedded-iframe-urls/81128
**Category:** Kibana
**Created:** [April 4, 2017, 11:27am UTC](https://discuss.elastic.co/t/list-all-kibana-embedded-iframe-urls/81128 "2017-04-04T11:27:12Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Bil](https://avatars.discourse-cdn.com/v4/letter/b/f07891/32.png) [@Bil](https://discuss.elastic.co/u/Bil)
#### Post date: [April 4, 2017, 11:27am UTC](https://discuss.elastic.co/t/list-all-kibana-embedded-iframe-urls/81128/1 "2017-04-04T11:27:12Z")

</div>

I have saved a few graphs in Kibana, is there anyway that I can query ES or Kibana to return all the embedded Iframe URLs without the need of clicking the 'Share' button for each and every visualise objects?

Thanks.

---

<div class="post-metadata">

### Author: ![jbudz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jbudz/32/45922_2.png) [@jbudz](https://discuss.elastic.co/u/jbudz)
#### Post date: [April 4, 2017, 3:50pm UTC](https://discuss.elastic.co/t/list-all-kibana-embedded-iframe-urls/81128/2 "2017-04-04T15:50:13Z")

</div>

Nothing supported by Kibana currently, you will have to re-create the URL.

[http://localhost:9200/.kibana/dashboard/\_search](http://localhost:9200/.kibana/dashboard/_search) will give you your dashboards. You'll need the \_id field.

The url will look something like [http://localhost:5601/app/kibana#/dashboard/${id}?embed=true](http://localhost:5601/app/kibana#/dashboard/%24%7Bid%7D?embed=true) where `${id}` is replaced with the dashboard id. The same applies to visualizations.

---

<div class="post-metadata">

### Author: ![Bil](https://avatars.discourse-cdn.com/v4/letter/b/f07891/32.png) [@Bil](https://discuss.elastic.co/u/Bil)
#### Post date: [April 4, 2017, 4:20pm UTC](https://discuss.elastic.co/t/list-all-kibana-embedded-iframe-urls/81128/3 "2017-04-04T16:20:54Z")

</div>

Thanks for the response. I manage to get that far. I'm using angular-elasticsearch to do this.

```
        client.search({
        index: '.kibana',
        type: 'visualization',
        size: 20,
        body: {
            "_source": {
                "includes": ["title"]
            }
        }
    })

```

and then I get the \_id from the results. This works great but only for short URLs.

What I really want is to get the long (or full) URL of a particular visualise objects (or all of them) and alternate the source filter. I realised the embedded Iframe URL is coming from the current visualise object that I'm editing and so far I don't know how to query or do anything with Kibana or ES to get this URL for example, this URL:

[http://localhost:5601/app/kibana#/visualize/edit/b420e650-0fe2-11e7-b62a-e38f99f54903?\_g=()&\_a=(filters:!()](http://localhost:5601/app/kibana#/visualize/edit/b420e650-0fe2-11e7-b62a-e38f99f54903?_g=()&_a=(filters:!()) ...etc

Any pointer how I can even reconstruct the full URL from a visualise object \_id?

Cheers,

---

<div class="post-metadata">

### Author: ![jbudz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jbudz/32/45922_2.png) [@jbudz](https://discuss.elastic.co/u/jbudz)
#### Post date: [April 4, 2017, 8:58pm UTC](https://discuss.elastic.co/t/list-all-kibana-embedded-iframe-urls/81128/4 "2017-04-04T20:58:41Z")

</div>

There's no public API for it unfortunately, the source is [https://github.com/elastic/kibana/tree/master/src/ui/public/state\_management](https://github.com/elastic/kibana/tree/master/src/ui/public/state_management) if that helps. The query params are a rison encoding of Kibana's global state and individual app state. Some of it's reconstructed from the saved vsualization, but not all.

There is an open issue for documenting it [here](https://github.com/elastic/kibana/issues/4338) but it looks like it has stalled.

---

<div class="post-metadata">

### Author: ![Bil](https://avatars.discourse-cdn.com/v4/letter/b/f07891/32.png) [@Bil](https://discuss.elastic.co/u/Bil)
#### Post date: [April 5, 2017, 11:24am UTC](https://discuss.elastic.co/t/list-all-kibana-embedded-iframe-urls/81128/5 "2017-04-05T11:24:13Z")

</div>

Thank you. I will settle for what I have right now then.

---

<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: [May 3, 2017, 11:24am UTC](https://discuss.elastic.co/t/list-all-kibana-embedded-iframe-urls/81128/6 "2017-05-03T11:24:52Z")

</div>

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