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!

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...