# Iframe dasboard keep reload every 5 seconds

**URL:** <https://discuss.elastic.co/t/iframe-dasboard-keep-reload-every-5-seconds/344526>\
**Category:** Kibana\
**Created:** [October 6, 2023, 8:43am UTC](https://discuss.elastic.co/t/iframe-dasboard-keep-reload-every-5-seconds/344526 "2023-10-06T08:43:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ThaoNguyen](https://avatars.discourse-cdn.com/v4/letter/t/7bcc69/32.png) [@ThaoNguyen](https://discuss.elastic.co/u/ThaoNguyen)\
**Post date:** [October 6, 2023, 8:43am UTC](https://discuss.elastic.co/t/iframe-dasboard-keep-reload-every-5-seconds/344526/1 "2023-10-06T08:43:25Z")

</div>

I embed dashboard in my webapp and dashboard keep reload every 5 seconds with a pink loading bar at the top of frame, every time dashboard get reload all the filters I picked before are removed like timestamp (reverted to first setting)  
Here is my iframe  
iframe [src]="{this.kibanaUrl}/app/dashboards#/view/${this.dashboardId}?embed=true&\_g=(refreshInterval:(pause:!t,value:600000),time:(from:now-1y,to:now))&show-top-menu=false&show-query-input=true&show-time-filter=true`" height="100%" width="100%" frameBorder="0"

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [October 6, 2023, 9:26am UTC](https://discuss.elastic.co/t/iframe-dasboard-keep-reload-every-5-seconds/344526/2 "2023-10-06T09:26:31Z")

</div>

Hi @ThaoNguyen,

Welcome to the community! Which version of Kibana are you using?

There are a couple of issues that can cause reloading, which are discussed in [this thread](https://discuss.elastic.co/t/turn-on-anonymous-access/343822/5). Can you check your Kibana URL and Kibana settings to see if either fix works for you?

---

<div class="post-metadata">

**Author:** ![ThaoNguyen](https://avatars.discourse-cdn.com/v4/letter/t/7bcc69/32.png) [@ThaoNguyen](https://discuss.elastic.co/u/ThaoNguyen)\
**Post date:** [October 6, 2023, 9:39am UTC](https://discuss.elastic.co/t/iframe-dasboard-keep-reload-every-5-seconds/344526/3 "2023-10-06T09:39:30Z")

</div>

> [@carly.richmond](#):
>
> cause

Hello Carly, I'm using v8.8.2, the reload only effect when I embed by using IFrame, when I'm using Kibana UI it's working fine

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [October 6, 2023, 12:33pm UTC](https://discuss.elastic.co/t/iframe-dasboard-keep-reload-every-5-seconds/344526/4 "2023-10-06T12:33:20Z")

</div>

Thanks for confirming @ThaoNguyen. The above referenced thread is an example using an iframe that should give you a couple of suggestions on the settings needed to fix the reload.

Do let us know if either specifying the cookie options in your `kibana.yml` or amending the URL as the thread suggests helps.

---

<div class="post-metadata">

**Author:** ![ThaoNguyen](https://avatars.discourse-cdn.com/v4/letter/t/7bcc69/32.png) [@ThaoNguyen](https://discuss.elastic.co/u/ThaoNguyen)\
**Post date:** [October 9, 2023, 1:26am UTC](https://discuss.elastic.co/t/iframe-dasboard-keep-reload-every-5-seconds/344526/5 "2023-10-09T01:26:47Z")

</div>

Hello Carly,

In the kibana.yml file, we've already configured `xpack.security.secureCookies: true` and `xpack.security.sameSiteCookies: None`, but the issue still persists. In the user thread, there is a problem with anonymous login. Regarding my issue, the dashboard loads successfully, but it refreshes every 5 seconds and clears all the filters I had previously selected.

---

<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:** [November 6, 2023, 1:27am UTC](https://discuss.elastic.co/t/iframe-dasboard-keep-reload-every-5-seconds/344526/6 "2023-11-06T01:27:42Z")

</div>

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