Summary:
I use splunk in SSO-enabled mode. I am trying to embed a chart in an IFRAME. By "chart" I mean the content of the white rectangle with rounded corners :). What I get so far is the whole splunk application when using the URL of the view.
Detailed description:
Splunk docs explain how to embed a view but I fail to understand:
view
, module
and param
tags)Thank you!
I managed to find out by myself. The key word is "Advanced XML". I got the source by adding ?showsource=true
to the URL of the view.
I am not sure yet what I can remove from the XML but stripping up to the module "HiddenSavedSearch
" left me with only the chart.
It would be useful to have a better description of what should be removed from the XML.
I updated the example in the Embed Splunk dashboard elements... documentation to better describe what Splunk chrome is (modules for displaying default header information on dashboards). Also, the sample code now shows what to strip out.
if you download and install the latest Dashboard Examples app, you can find many working examples of simple XML and advanced XML, including an example illustrating IFrames.
I managed to find out by myself. The key word is "Advanced XML". I got the source by adding ?showsource=true
to the URL of the view.
I am not sure yet what I can remove from the XML but stripping up to the module "HiddenSavedSearch
" left me with only the chart.
It would be useful to have a better description of what should be removed from the XML.