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!

Splunk Training for All: Meet Aspiring Cybersecurity Analyst, Marc Alicea

Splunk Education believes in the value of training and certification in today’s rapidly-changing data-driven ...

Investigate Security and Threat Detection with VirusTotal and Splunk Integration

As security threats and their complexities surge, security analysts deal with increased challenges and ...

Observability Highlights | January 2023 Newsletter

 January 2023New Product Releases Splunk Network Explorer for Infrastructure MonitoringSplunk unveils Network ...