Dashboards & Visualizations

How to embed the dashboard in my own webpage

Mirella
Engager

HI, I want to embed the dashboard in my own webpage.

First, I found the "EDFS" APP, but after installing it and following the steps, I didn't see the "EDFS" option in the input. When this include in the HTML file, it will responds with "refused to connect" :

 

<iframe src="https://127.0.0.1:9999" seamless frameborder="no" scrolling="no" width="1200" height="2500"></iframe>

 

Also, if add "trustedIP=127.0.0.1" in the server.conf file, when open Splunk web using "127.0.0.1:8000", it shows an "Unauthorized" error.

Mirella_0-1710843047686.png

Additionally, I found that adding "x_frame_options_sameorigin = 0" and "enable_insecure_login = true" in the web.conf file, and including this in the HTML file:

 

<iframe src="http://splunkhost/account/insecurelogin?username=viewonlyuser&password=viewonly&return_to=/app/search/dashboardname" seamless frameborder="no" scrolling="no" width="1200" height="2500"></iframe>

 

It will show the Splunk web login page, with the error message "No cookie support detected. Check your browser configuration." If try to login with the username and password, it still doesn't work and shows a "Server error" message.

Mirella_0-1712024446910.png

If use Firefox's incognito window open the HTML file, it will skip the login page and display "Unauthorized."

Mirella_3-1710843452370.png

Is there a way to solve these issues or alternative methods to display the dashboard on an external webpage?

Thanks in advance.

LSN-Dev
Loves-to-Learn Everything

Did anyone ever get success or not in embed the dashboard, on the external web site/app?

I am still struggling on it.

If anyone, please help us.

Or give us a hint.

Thanks,

Tags (3)
0 Karma

PaulPanther
Motivator

Which splunk version are you running?

Have you checked out Solved: How to use iframe in Splunk 8.x? - Splunk Community?

0 Karma

Mirella
Engager

Hi PaulPanther,

My Splunk version is 9.0.3.

I tried the method within this link, but still couldn't solve the issue.

0 Karma

helmi1987
Engager

i have the same issue and no solution

0 Karma
Get Updates on the Splunk Community!

Splunk at Cisco Live 2025: Learning, Innovation, and a Little Bit of Mr. Brightside

Pack your bags (and maybe your dancing shoes)—Cisco Live is heading to San Diego, June 8–12, 2025, and Splunk ...

Splunk App Dev Community Updates – What’s New and What’s Next

Welcome to your go-to roundup of everything happening in the Splunk App Dev Community! Whether you're building ...

The Latest Cisco Integrations With Splunk Platform!

Join us for an exciting tech talk where we’ll explore the latest integrations in Cisco &#43; Splunk! We’ve ...