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!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...