Dashboards & Visualizations

Where can I find documentation for the XSD schema for editing dashboards?

smitra_splunk
Splunk Employee
Splunk Employee

Hi ,

Where can I find the documentation for the XSD schema for editing Dashboards?

An example of an XML instance is given below. How do I find the equivalent schema for this?

Version 2 - Web Store Server Errors

<panel>
  <table>
    <title>Base Search</title>
    <search id="baseSearch">
      <query>...</query>
      <earliest>-30d@d</earliest>
      <latest>now</latest>
    </search>
  </table>
</panel>


<panel>
  <table>
    <title>Purchases &amp; Lost Sales</title>
    <search>
      <query>...</query>
      <earliest>-30d@d</earliest>
      <latest>now</latest>
    </search>
  </table>
</panel>

thanks and regards,
Shreedeep.

0 Karma
1 Solution

kbarker302
Communicator

See this link:

http://docs.splunk.com/Documentation/Splunk/6.4.1/AdvancedDev/AdvancedSchemas

The schemas are located in $SPLUNK_HOME/share/splunk/search_mrsparkle/exposed/schema/ in RelaxNG (.rnc) format, but the link talks about using something called Trang if you want to convert them to other formats. simplexml.rnc looks like the one you want for your dashboard example.

View solution in original post

0 Karma

joerattz
New Member

You might also find this documentation useful:

https://docs.splunk.com/Documentation/Splunk/7.3.1/Viz/PanelreferenceforSimplifiedXML

Pay attention to the version number.

0 Karma

kbarker302
Communicator

See this link:

http://docs.splunk.com/Documentation/Splunk/6.4.1/AdvancedDev/AdvancedSchemas

The schemas are located in $SPLUNK_HOME/share/splunk/search_mrsparkle/exposed/schema/ in RelaxNG (.rnc) format, but the link talks about using something called Trang if you want to convert them to other formats. simplexml.rnc looks like the one you want for your dashboard example.

0 Karma
Get Updates on the Splunk Community!

What's New in Splunk Enterprise 9.4: Features to Power Your Digital Resilience

Hey Splunky People! We are excited to share the latest updates in Splunk Enterprise 9.4. In this release we ...

Take Your Breath Away with Splunk Risk-Based Alerting (RBA)

WATCH NOW!The Splunk Guide to Risk-Based Alerting is here to empower your SOC like never before. Join Haylee ...

SignalFlow: What? Why? How?

What is SignalFlow? Splunk Observability Cloud’s analytics engine, SignalFlow, opens up a world of in-depth ...