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!

Splunk Observability Cloud's AI Assistant in Action Series: Auditing Compliance and ...

This is the third post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...