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!

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...