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!

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 ...