Dashboards & Visualizations

generated view xml file differ from documentation

urirosenberg
New Member

Hi,
I created a view (consists of a report and a graph).
the resulting xml file is as follows:




testsave
events
10
true

<chart>
  <searchName>Messages by minute last 3 hours</searchName>
  <title>graph</title>
  <option name="charting.chart">column</option>
  <option name="count">10</option>
  <option name="displayRowNumbers">true</option>
</chart>



I am following your instructions for embedding a dashboard (http://docs.splunk.com/Documentation/Splunk/5.0.1/AdvancedDev/3rdParty).
the xml file is completely different: no modules or parameters...
I am trying to embed the dashboard alone (without the splunck headers).
How should I modify the xml?
Thanks!

Tags (2)
0 Karma

Ayn
Legend

Splunk has two "modes" of XML - simple and advanced XML. What you've pasted is simple XML, which is what is generated by default for simple forms and dashboards. For more advanced purposes you really want to use advanced XML. More information on that here: http://docs.splunk.com/Documentation/Splunk/5.0/AdvancedDev/AdvancedIntro

Simple XML is translated to advanced XML automatically by Splunk - to get the equivalent advanced XML code for your view, add ?showsource=1 to the end of the URL for your view.

Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...