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!

Prove Your Splunk Prowess at .conf25—No Prereqs Required!

Your Next Big Security Credential: No Prerequisites Needed We know you’ve got the skills, and now, earning the ...

Splunk Observability Cloud's AI Assistant in Action Series: Observability as Code

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

Splunk Answers Content Calendar, July Edition I

Hello Community! Welcome to another month of Community Content Calendar series! For the month of July, we will ...