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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...