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!

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...

Spotting Financial Fraud in the Haystack: A Guide to Behavioral Analytics with Splunk

In today's digital financial ecosystem, security teams face an unprecedented challenge. The sheer volume of ...

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability As businesses scale ...