How to add the refresh interval in Kibana Iframe Dashboard

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?

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>

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