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
Influencer

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!

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,  ...