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 | Forward, I’m heavy; backward, I’m not. What am I?

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

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...