Dashboards & Visualizations

Is it possible to display an external web page in Splunk like a html iframe?

tomapatan
Communicator

Hi Everyone,

I was reading through this article that led me to believe it`s possible to display external web content in Splunk, however it doesn`t appear to be working for me.

Interestingly, it works fine outside of Splunk (ie: if I save the source as an HTML file locally on my computer), but it doesn`t display the iframe if I put it in a Splunk dashboard.

Any assistance would be greatly appreciated.

Source code below.

<?xml version='1.0' encoding='utf-8'?>
<dashboard version="1.1">
  <label>My iFrame Dashboard</label>
  <row>
    <html>
    <h2>Embedded Web Page!</h2>
       <iframe src="https://myValidDomainName" width="100%" height="300">&gt;</iframe>
    </html>
  </row>
  </dashboard>

 

Labels (1)
0 Karma
1 Solution

Tom_Lundie
Contributor

You need to explicitly enable iframes and other embedded content in Splunk's web.conf settings.

[settings]
dashboard_html_allow_embeddable_content = true

Read more here. It's worth pointing out that enabling embedded content could impose a security risk so please consider this before you make any changes.

View solution in original post

Tom_Lundie
Contributor

You need to explicitly enable iframes and other embedded content in Splunk's web.conf settings.

[settings]
dashboard_html_allow_embeddable_content = true

Read more here. It's worth pointing out that enabling embedded content could impose a security risk so please consider this before you make any changes.

Skins
Path Finder

Hi Just curious - what are the security implications to think about enabling this.

If used in conjunction with the trusted domain list in web-features.conf - we should be secure?

Or is there something else?

0 Karma
Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...