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.

Labels (1)

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
Builder

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!

Customer Experience | Splunk 2024: New Onboarding Resources

In 2023, we were routinely reminded that the digital world is ever-evolving and susceptible to new ...

Celebrate CX Day with Splunk: Take our interactive quiz, join our LinkedIn Live ...

Today and every day, Splunk celebrates the importance of customer experience throughout our product, ...

How to Get Started with Splunk Data Management Pipeline Builders (Edge Processor & ...

If you want to gain full control over your growing data volumes, check out Splunk’s Data Management pipeline ...