Dashboards & Visualizations

Refresh an iframe in a Dashboard

genesiusj
Builder

Hello,

We have a dashboard panel that contains an iframe. We realize that iframe has been deprecated, but it still works. Our helpdesk needs this to view "live" what our users see when they access our website.

We are on Splunk Enterprise v8.x. What command(s) XML,HTML,CSS, or JS, can we use to refresh this panel? This panel is part of a larger dashboard, so refreshing the entire dashboard is not an option.

XML

<row>
    <panel>
      <html>
        <title>iframe css</title>
        <div class="h_iframe">
          <iframe src="https://somesite.com" />
        </div>
        <h1>Live view of our website.</h1>
      </html>
    </panel>
  </row>

CSS

.h_iframe {
  position:left;
padding-top: 0%;
}
.h_iframe iframe {
  position:left;
  top:0;
  left:0;
  width:25%;
  height:25%;
}

Stay safe and healthy you and yours.

Thanks and God bless,
Genesius

Labels (1)
0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...