# How to add the refresh interval in Kibana Iframe Dashboard

**URL:** <https://discuss.elastic.co/t/how-to-add-the-refresh-interval-in-kibana-iframe-dashboard/120827>\
**Category:** Kibana\
**Created:** [February 21, 2018, 11:40am UTC](https://discuss.elastic.co/t/how-to-add-the-refresh-interval-in-kibana-iframe-dashboard/120827 "2018-02-21T11:40:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PrabakarKaruppasamy](https://avatars.discourse-cdn.com/v4/letter/p/aca169/32.png) [@PrabakarKaruppasamy](https://discuss.elastic.co/u/PrabakarKaruppasamy)\
**Post date:** [February 21, 2018, 11:40am UTC](https://discuss.elastic.co/t/how-to-add-the-refresh-interval-in-kibana-iframe-dashboard/120827/1 "2018-02-21T11:40:52Z")

</div>

Hi All,

We are embedding the i-frame dashboard url into our web application. We need to add the auto refresh interval in that iFrame Url.

Can we add the refresh interval manually in Kibana Iframe dashboard and can we change the refresh interval based on the user selection.

I know there is option in KIbana for auto refresh which would come part of the dashboard Iframe Url. Without giving the auto refresh in Kibana, Can we construct the url parameter in our web application and change it into dynamically?

---

<div class="post-metadata">

**Author:** ![tsullivan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsullivan/32/31077_2.png) [@tsullivan](https://discuss.elastic.co/u/tsullivan)\
**Post date:** [February 21, 2018, 6:46pm UTC](https://discuss.elastic.co/t/how-to-add-the-refresh-interval-in-kibana-iframe-dashboard/120827/2 "2018-02-21T18:46:47Z")

</div>

There is only one property that determines when to allow the "controls" to be visible in Kibana, and that property is triggered by embed mode with `embed=true` in the URL.

It might not be ideal, but one way to show the auto refresh interval in the iframe would be to take out that `embed=true` URL parameter from the iframe tag.

Example:  
Before:  
`<iframe src="https://machine.local:5601/app/kibana#/dashboard/4491c6f0-1735-11e8-82f6-017e545b3fcb?embed=true&_g=(refreshInterval%3A(display%3AOff%2Cpause%3A!f%2Cvalue%3A0)%2Ctime%3A(from%3Anow-5y%2Cmode%3Aquick%2Cto%3Anow))" height="600" width="800"></iframe>`

After:  
`<iframe src="https://machine.local:5601/app/kibana#/dashboard/4491c6f0-1735-11e8-82f6-017e545b3fcb?_g=(refreshInterval%3A(display%3AOff%2Cpause%3A!f%2Cvalue%3A0)%2Ctime%3A(from%3Anow-5y%2Cmode%3Aquick%2Cto%3Anow))" height="600" width="800"></iframe>`

---

<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 21, 2018, 6:47pm UTC](https://discuss.elastic.co/t/how-to-add-the-refresh-interval-in-kibana-iframe-dashboard/120827/3 "2018-03-21T18:47:20Z")

</div>

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