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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...