Dashboards & Visualizations

How to embed "https://docs.splunk.com/Documentation" in Splunk dashboard

kumaranv
Path Finder

How to embed "https://docs.splunk.com/Documentation" in Splunk dashboard

Is it possible to do?

I am getting

Refused to display 'https://docs.splunk.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.

<row>
<panel>
<html>
<iframe src="https://docs.splunk.com/Documentation" width="100%" height="300">&gt;</iframe>
</html>
</panel>
</row>

 

Labels (1)
Tags (2)
0 Karma

kiran_panchavat
Champion

@kumaranv 

The error you're encountering, Refused to display 'https://docs.splunk.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin', occurs because the website you're trying to embed (https://docs.splunk.com) has a security header (X-Frame-Options: SAMEORIGIN) that prevents it from being displayed in an <iframe> on a different domain. This is a common security measure to prevent clickjacking and unauthorized framing of content.
Unfortunately, it is not possible to directly embed https://docs.splunk.com/Documentation in a Splunk dashboard using an <iframe> due to this restriction. The X-Frame-Options: SAMEORIGIN header means the content can only be framed by pages on the same origin (i.e., within the same domain, https://docs.splunk.com), and your Splunk dashboard is hosted on a different domain.
Did this help? If yes, please consider giving kudos, marking it as the solution, or commenting for clarification — your feedback keeps the community going!
0 Karma

efavreau
Motivator

@kumaranv  I don't see a point to that, and would say don't do that. However, assuming you have reasons I can't think of, that's not going to be possible.

The best you could do is to use an HTML panel with a hyperlink to the specific docs you were looking to embed.

###

If this reply helps you, an upvote would be appreciated.
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

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

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...