Dashboards & Visualizations

How to embed a Splunk dashboard in an iframe?

vaibhavagg2006
Communicator

Hi Experts

I want to embed my Splunk dashboard in a webpage as a iframe. I am aware we can embed individual saved searches. Is there any way to embed completed dashboard?

MuS
SplunkTrust
SplunkTrust

Hi there,

There is now an app for this https://splunkbase.splunk.com/app/4377/ 😉

cheers, MuS

halr9000
Motivator

Check out the "Embed Scheduled Report" feature. The steps are:

  1. Write search
  2. Save as report
  3. Enable embedding

At this point, you're given an HTML iframe code snippet which looks like this:

alt text

pamcarvalho
Path Finder

This already helps a lot, thank you very much! But I really wish we could embed an entire dashboard

0 Karma

vaibhavagg2006
Communicator

This will just embedd a report . Embedding complete dashboard is not available in splunk

0 Karma

jkat54
SplunkTrust
SplunkTrust

@vaibhavagg2006, if my answer is correct, can you please accept it as the answer?

0 Karma

vaibhavagg2006
Communicator

Unfortunaltely no, this question is about embedding a dashboard.

mayurr98
Super Champion

@jkat54 can you pls tell me how to embed token based reports?

0 Karma

jkat54
SplunkTrust
SplunkTrust
0 Karma

mayurr98
Super Champion
0 Karma

jkat54
SplunkTrust
SplunkTrust

Does this embed the entire dashboard or just one report?

0 Karma

jkat54
SplunkTrust
SplunkTrust

Its not a feature that is available yet. Please see this thread, and upvote it.

https://answers.splunk.com/answers/153158/feature-request-how-to-embed-a-dashboard-not-a-rep.html

halr9000
Motivator

Hey @jkat54, thankfully, this is actually no longer correct! Adding another answer below.

0 Karma

jkat54
SplunkTrust
SplunkTrust

Sweet. Good looking out!

0 Karma

cmerriman
Super Champion

I still get this option working on my dashboards that are embedded. Also, if I go here: http://jsfiddle.net/westonruter/6mSuK/ to test out the embedded dashboard, it works, as well.
there are configs you should be able to change that might help display it if having problems. check this answer:
https://answers.splunk.com/answers/104277/iframes-and-views-broken-after-splunk-6-upgrade.html

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...