All Apps and Add-ons

App setup.xml - 404 page not found

gaurav_maniar
Builder

I'm facing issue with setup page on Splunk app to get user input. When I tried to access the app Set Up page from Manage Apps, I get '404 Page not found error' (web_service.log). Even splunk logs is not giving any details regarding the error. I have followed the guide on the website and some application available on Splunk base. I am not able to find out what I'm doing wrong.

Following are my conf files. All files are in 'default' folder.

Any help will be appreciated.

Splunk Error Log

 INFO [58eaa49e4d11014cc90] error:138 - Masking the original 404 message: 'Nothing matches the given URI' with 'Page not found!' for security reasons

setup.xml

 <setup>
     <block title="User Dashboard Configuration" endpoint="userinput/user_input" entity="dashboard_conf">
         <input field="dashboard_url">
             <label>Dashboard URL</label>
             <type>text</type>
         </input>
         <input field="auth_token">
             <label>Authentication Token</label>
             <type>text</type>
         </input>
     </block>
     <block title="Syslog Configuration" endpoint="userinput/user_input" entity="syslog_conf">
         <input field="slog_port">
             <label>Syslog Port</label>
             <type>text</type>
         </input>
     </block>
 </setup>

restmap.conf

[admin:user_input]
 match=/userinput
 members=user_input

 [admin_external:user_input]
 handlertype = python
 handlerfile = user_input_setup.py
 handleractions = list, edit

user_input.conf

[dashboard_conf]
 dashboard_url = https://
 auth_token = 

 [syslog_conf]
 slog_port = 

lakshman239
SplunkTrust
SplunkTrust

I assume you have followed through http://dev.splunk.com/view/setup-page/SP-CAAAE8U .
did you try "match=/" instead of "match=/userinput"

Alternatively, you can use an add-on builder to create a custom app/add-on along with a setup page. (creates html file) http://dev.splunk.com/view/addon-builder/SP-CAAAE83 . Have you looked at this?

0 Karma
Get Updates on the Splunk Community!

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...