<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Splunk 6.5.0: Why is an embedded iframe in my dashboard not displaying? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-6-5-0-Why-is-an-embedded-iframe-in-my-dashboard-not/m-p/265821#M16760</link>
    <description>&lt;P&gt;I'm having trouble getting this working in 6.5.0. I used this exact snippet from another question about iframes where they did get it working:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard&amp;gt;
  &amp;lt;label&amp;gt;Test&amp;lt;/label&amp;gt;
    &amp;lt;row&amp;gt;
     &amp;lt;html&amp;gt;
     &amp;lt;h2&amp;gt;Embedded Web Page!&amp;lt;/h2&amp;gt;
        &amp;lt;iframe src="http://www.splunk.com" width="100%" height="300" style="border:none;"&amp;gt;&amp;gt;&amp;lt;/iframe&amp;gt;
     &amp;lt;/html&amp;gt;
   &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But what I see is:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/2045i1099E9ED40C66128/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Any thoughts on why the iframe wouldn't be displaying?&lt;/P&gt;</description>
    <pubDate>Sun, 07 Jun 2020 23:57:10 GMT</pubDate>
    <dc:creator>jackhamm25</dc:creator>
    <dc:date>2020-06-07T23:57:10Z</dc:date>
    <item>
      <title>Splunk 6.5.0: Why is an embedded iframe in my dashboard not displaying?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-6-5-0-Why-is-an-embedded-iframe-in-my-dashboard-not/m-p/265821#M16760</link>
      <description>&lt;P&gt;I'm having trouble getting this working in 6.5.0. I used this exact snippet from another question about iframes where they did get it working:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard&amp;gt;
  &amp;lt;label&amp;gt;Test&amp;lt;/label&amp;gt;
    &amp;lt;row&amp;gt;
     &amp;lt;html&amp;gt;
     &amp;lt;h2&amp;gt;Embedded Web Page!&amp;lt;/h2&amp;gt;
        &amp;lt;iframe src="http://www.splunk.com" width="100%" height="300" style="border:none;"&amp;gt;&amp;gt;&amp;lt;/iframe&amp;gt;
     &amp;lt;/html&amp;gt;
   &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But what I see is:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/2045i1099E9ED40C66128/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Any thoughts on why the iframe wouldn't be displaying?&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jun 2020 23:57:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-6-5-0-Why-is-an-embedded-iframe-in-my-dashboard-not/m-p/265821#M16760</guid>
      <dc:creator>jackhamm25</dc:creator>
      <dc:date>2020-06-07T23:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 6.5.0: Why is an embedded iframe in my dashboard not displaying?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-6-5-0-Why-is-an-embedded-iframe-in-my-dashboard-not/m-p/265822#M16761</link>
      <description>&lt;P&gt;I was having the same issue and I opened a support ticket with Splunk. iframe does work in 6.5.x but in the example (which has an extra "&amp;gt;") it is using &lt;A href="http://www.splunk.com"&gt;http://www.splunk.com&lt;/A&gt; in which Splunk's support informed me prevents anyone from embedding their website inside an iframe (google does the same as well). There is a useful site to help see if a site allows being embedded in an iframe (which is related to "X-Frame-Options" header but apparently not the only way to stop it):&lt;BR /&gt;
&lt;A href="http://www.tinywebgallery.com/blog/advanced-iframe/free-iframe-checker"&gt;http://www.tinywebgallery.com/blog/advanced-iframe/free-iframe-checker&lt;/A&gt;&lt;BR /&gt;
Try this code instead:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard&amp;gt;
  &amp;lt;row&amp;gt;
     &amp;lt;panel&amp;gt; 
        &amp;lt;title&amp;gt;Test iframe&amp;lt;/title&amp;gt; 
        &amp;lt;html&amp;gt;
          &amp;lt;iframe src="https://www.cloudera.com" width="100%" height="300" style="border:none;"&amp;gt;&amp;lt;/iframe&amp;gt;
        &amp;lt;/html&amp;gt;
      &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 04 Jan 2017 22:44:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-6-5-0-Why-is-an-embedded-iframe-in-my-dashboard-not/m-p/265822#M16761</guid>
      <dc:creator>worshamn</dc:creator>
      <dc:date>2017-01-04T22:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 6.5.0: Why is an embedded iframe in my dashboard not displaying?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-6-5-0-Why-is-an-embedded-iframe-in-my-dashboard-not/m-p/265823#M16762</link>
      <description>&lt;P&gt;The problem that you are having is that recently Splunk has added some settings to control this type of content and defaulted &lt;CODE&gt;dashboard_html_allow_embeddable_content&lt;/CODE&gt; to &lt;CODE&gt;false&lt;/CODE&gt;.  In order to get it to work, try enabling these settings in &lt;CODE&gt;web.conf&lt;/CODE&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;dashboard_html_allow_inline_styles = &amp;lt;boolean&amp;gt;
* Whether or not to allow style attributes from inline HTML elements in dashboards.
* If "false", style attributes from inline HTML elements in dashboards will be removed 
  to prevent potential attacks.
* Default: true

dashboard_html_allow_embeddable_content = &amp;lt;boolean&amp;gt;
* Whether or not to allow &amp;lt;embed&amp;gt; and &amp;lt;iframe&amp;gt; HTML elements in dashboards.
* If set to "true", &amp;lt;embed&amp;gt; and &amp;lt;iframe&amp;gt; HTML elements in dashboards will not be removed 
  and can lead to a potential security risk.
* If set to the default value of "false", &amp;lt;embed&amp;gt; and &amp;lt;iframe&amp;gt; HTML elements will be stripped
  from the dashboard HTML.
* Default: false

dashboard_html_wrap_embed = &amp;lt;boolean&amp;gt;
* Whether or not to wrap &amp;lt;embed&amp;gt; HTML elements in dashboards with an &amp;lt;iframe&amp;gt;.
* If set to "false", &amp;lt;embed&amp;gt; HTML elements in dashboards will not be wrapped, leading to
  a potential security risk.
* If set to "true", &amp;lt;embed&amp;gt; HTML elements will be wrapped by an &amp;lt;iframe sandbox&amp;gt; element to help
  mitigate potential security risks.
* Default: true

dashboard_html_allow_iframes = &amp;lt;boolean&amp;gt;
* Whether or not to allow iframes from HTML elements in dashboards.
* If "false", iframes from HTML elements in dashboards will be removed to prevent
  potential attacks.
* Default: true
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 22 May 2020 13:05:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-6-5-0-Why-is-an-embedded-iframe-in-my-dashboard-not/m-p/265823#M16762</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2020-05-22T13:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 6.5.0: Why is an embedded iframe in my dashboard not displaying?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-6-5-0-Why-is-an-embedded-iframe-in-my-dashboard-not/m-p/550873#M38058</link>
      <description>&lt;P&gt;I tried this in Splunk 8.0.6, but that did not work, I change this in system/local/web.conf n server.conf and also app/lical&lt;/P&gt;</description>
      <pubDate>Fri, 07 May 2021 17:07:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-6-5-0-Why-is-an-embedded-iframe-in-my-dashboard-not/m-p/550873#M38058</guid>
      <dc:creator>vikashperiwal</dc:creator>
      <dc:date>2021-05-07T17:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 6.5.0: Why is an embedded iframe in my dashboard not displaying?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-6-5-0-Why-is-an-embedded-iframe-in-my-dashboard-not/m-p/550957#M38065</link>
      <description>&lt;P&gt;try this, in your web.conf add these&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[settings] &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;dashboard_html_allow_embeddable_content = true&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;dashboard_html_allowed_domains = &amp;lt;domain-name&amp;gt; (for. eg--&amp;gt; *.youtube.com)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 08 May 2021 12:51:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-6-5-0-Why-is-an-embedded-iframe-in-my-dashboard-not/m-p/550957#M38065</guid>
      <dc:creator>TheFlash</dc:creator>
      <dc:date>2021-05-08T12:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 6.5.0: Why is an embedded iframe in my dashboard not displaying?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-6-5-0-Why-is-an-embedded-iframe-in-my-dashboard-not/m-p/550964#M38066</link>
      <description>&lt;P&gt;Tried this , but no luck.....I see same error x-frame-options set to sameorigin&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's splunk 8.0.6&lt;/P&gt;</description>
      <pubDate>Sat, 08 May 2021 14:35:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-6-5-0-Why-is-an-embedded-iframe-in-my-dashboard-not/m-p/550964#M38066</guid>
      <dc:creator>vikashperiwal</dc:creator>
      <dc:date>2021-05-08T14:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 6.5.0: Why is an embedded iframe in my dashboard not displaying?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-6-5-0-Why-is-an-embedded-iframe-in-my-dashboard-not/m-p/550969#M38067</link>
      <description>&lt;P&gt;can you please share the code, which you are trying&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 08 May 2021 15:18:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-6-5-0-Why-is-an-embedded-iframe-in-my-dashboard-not/m-p/550969#M38067</guid>
      <dc:creator>TheFlash</dc:creator>
      <dc:date>2021-05-08T15:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 6.5.0: Why is an embedded iframe in my dashboard not displaying?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-6-5-0-Why-is-an-embedded-iframe-in-my-dashboard-not/m-p/550974#M38068</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is something I tried&lt;/P&gt;&lt;P&gt;Web.conf--&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;dashboard_html_allow_inline_styles = true&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;dashboard_html_allow_embeddable_content= true&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;dashboard_html_allow_embeddable_content=true&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;dashboard_html_wrap_embed=true&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;dashboard_html_allow_iframes=true&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;dashboard_html_allowed_domains = &lt;A href="https://youtube.com" target="_blank"&gt;https://youtube.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 08 May 2021 17:21:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-6-5-0-Why-is-an-embedded-iframe-in-my-dashboard-not/m-p/550974#M38068</guid>
      <dc:creator>vikashperiwal</dc:creator>
      <dc:date>2021-05-08T17:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 6.5.0: Why is an embedded iframe in my dashboard not displaying?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-6-5-0-Why-is-an-embedded-iframe-in-my-dashboard-not/m-p/550976#M38069</link>
      <description>&lt;P&gt;replace "&lt;A href="https://youtube.com" target="_blank"&gt;https://youtube.com"&lt;/A&gt;&amp;nbsp;with&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;*.youtube.com&lt;BR /&gt;It should work then&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 08 May 2021 19:22:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-6-5-0-Why-is-an-embedded-iframe-in-my-dashboard-not/m-p/550976#M38069</guid>
      <dc:creator>TheFlash</dc:creator>
      <dc:date>2021-05-08T19:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 6.5.0: Why is an embedded iframe in my dashboard not displaying?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-6-5-0-Why-is-an-embedded-iframe-in-my-dashboard-not/m-p/550980#M38070</link>
      <description>&lt;P&gt;&lt;STRONG&gt;did not make any difference, I know this was work when doing this in splunk 8.1 but my splunk 8.0.6, it's still shown&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;X-frame-options to sameorigin&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 09 May 2021 03:48:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-6-5-0-Why-is-an-embedded-iframe-in-my-dashboard-not/m-p/550980#M38070</guid>
      <dc:creator>vikashperiwal</dc:creator>
      <dc:date>2021-05-09T03:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 6.5.0: Why is an embedded iframe in my dashboard not displaying?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-6-5-0-Why-is-an-embedded-iframe-in-my-dashboard-not/m-p/551046#M38076</link>
      <description>&lt;P&gt;did you try setting this to 'false' in web.conf ?&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;x_frame_options_sameorigin = &amp;lt;boolean&amp;gt;
* adds a X-Frame-Options header set to "SAMEORIGIN" to every response served
* by cherrypy
* Default: true&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 08:20:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-6-5-0-Why-is-an-embedded-iframe-in-my-dashboard-not/m-p/551046#M38076</guid>
      <dc:creator>TheFlash</dc:creator>
      <dc:date>2021-05-10T08:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 6.5.0: Why is an embedded iframe in my dashboard not displaying?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-6-5-0-Why-is-an-embedded-iframe-in-my-dashboard-not/m-p/551048#M38077</link>
      <description>&lt;P&gt;Yes I tried that as well..&lt;/P&gt;&lt;P&gt;One curious thing....I see few of the example working fine like -&lt;A href="https://intellectualpoint.com" target="_blank"&gt;https://intellectualpoint.com&lt;/A&gt; ...but when tried for &lt;A href="https://tableau.com" target="_blank"&gt;https://tableau.com&lt;/A&gt; that did not work and I see same errror&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 08:24:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-6-5-0-Why-is-an-embedded-iframe-in-my-dashboard-not/m-p/551048#M38077</guid>
      <dc:creator>vikashperiwal</dc:creator>
      <dc:date>2021-05-10T08:24:30Z</dc:date>
    </item>
  </channel>
</rss>

