# Kibana HTML Iframe

**URL:** https://discuss.elastic.co/t/kibana-html-iframe/80478
**Category:** Kibana
**Created:** [March 29, 2017, 12:26pm UTC](https://discuss.elastic.co/t/kibana-html-iframe/80478 "2017-03-29T12:26:22Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![ALS](https://avatars.discourse-cdn.com/v4/letter/a/e68b1a/32.png) [@ALS](https://discuss.elastic.co/u/ALS)
#### Post date: [March 29, 2017, 12:26pm UTC](https://discuss.elastic.co/t/kibana-html-iframe/80478/1 "2017-03-29T12:26:22Z")

</div>

Hello everyone,

I have just installed ELK suite in order to visualize logs produced by a system.

For users, i have a remote HTML interface with a Kibana Iframe (i use the share functionality to present a snapshot of a dashboard).  
In this dashboard, there is a "Tag Cloud" visualization which displays names of log files which correspond to the period of observation.

In my HTML page, I want to get these names of logs files with JavaScript (I know that the file has a specific extension), but I can't parse the dashboard because it's an Iframe.

I don't have any idea of solutions which can help me.

Can anyone help me ?

Thanks,  
Nicolas.

---

<div class="post-metadata">

### Author: ![ppisljar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ppisljar/32/11588_2.png) [@ppisljar](https://discuss.elastic.co/u/ppisljar)
#### Post date: [March 29, 2017, 12:35pm UTC](https://discuss.elastic.co/t/kibana-html-iframe/80478/2 "2017-03-29T12:35:51Z")

</div>

you could request the same kibana url that you use in iframe from javascript and parse that.

---

<div class="post-metadata">

### Author: ![ALS](https://avatars.discourse-cdn.com/v4/letter/a/e68b1a/32.png) [@ALS](https://discuss.elastic.co/u/ALS)
#### Post date: [March 29, 2017, 12:38pm UTC](https://discuss.elastic.co/t/kibana-html-iframe/80478/3 "2017-03-29T12:38:15Z")

</div>

Yes, but if a user zoom on a specific periode, how do i get the the start and end date in order to request the good URL ?

---

<div class="post-metadata">

### Author: ![ppisljar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ppisljar/32/11588_2.png) [@ppisljar](https://discuss.elastic.co/u/ppisljar)
#### Post date: [March 29, 2017, 12:39pm UTC](https://discuss.elastic.co/t/kibana-html-iframe/80478/4 "2017-03-29T12:39:34Z")

</div>

iframes url should represent the full state of what the user is viewing, so reusing that url (not the initial one, but you should read it at the time that you want to do the request), but i am not sure that will be possible (or will iframe just return you the original url) ...

---

<div class="post-metadata">

### Author: ![ALS](https://avatars.discourse-cdn.com/v4/letter/a/e68b1a/32.png) [@ALS](https://discuss.elastic.co/u/ALS)
#### Post date: [March 29, 2017, 1:51pm UTC](https://discuss.elastic.co/t/kibana-html-iframe/80478/5 "2017-03-29T13:51:15Z")

</div>

I'm not sure that we can get the updated URL with the good time period.

At least, I haven't found a way to do it.

---

<div class="post-metadata">

### Author: ![ppisljar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ppisljar/32/11588_2.png) [@ppisljar](https://discuss.elastic.co/u/ppisljar)
#### Post date: [March 29, 2017, 2:07pm UTC](https://discuss.elastic.co/t/kibana-html-iframe/80478/6 "2017-03-29T14:07:58Z")

</div>

i am not sure what else could you do out of the box ...you could try to write a plugin for kibana that would notify your app about state changes, but that is probably gonna take quite some effort.

---

<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: [April 26, 2017, 2:08pm UTC](https://discuss.elastic.co/t/kibana-html-iframe/80478/7 "2017-04-26T14:08:21Z")

</div>

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