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!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...