Deployment Architecture

How to use have setup.xml forward users to a SimpleXML view for the setup experience

LukeMurphey
Champion

I know Splunk supports using a normal SimpleXML/Javascript view to be used in lieu of the normal manager XML that setup.xml uses. However, I cannot find the information on how to use this and it isn't documented in the most current setup.xml.spec.

Does anyone recall how to have setup.xml use a SimpleXML view for setup?

Tags (1)
0 Karma
1 Solution

LukeMurphey
Champion

This can be done by including the "redirect" attribute in setup.xml. Below is an example:

<setup>
  <block task="setup" type="redirect" />
</setup>

This won't work unless you have also created a SimpleXML view with the name "setup". Thus, you will also need a view named "setup.xml" under "default/data/ui/views". That is, "default/data/ui/views/setup.xml".

This simpleXML override has been available since Splunk 6.2.

View solution in original post

LukeMurphey
Champion

This can be done by including the "redirect" attribute in setup.xml. Below is an example:

<setup>
  <block task="setup" type="redirect" />
</setup>

This won't work unless you have also created a SimpleXML view with the name "setup". Thus, you will also need a view named "setup.xml" under "default/data/ui/views". That is, "default/data/ui/views/setup.xml".

This simpleXML override has been available since Splunk 6.2.

Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...