Developing for Splunk Enterprise

After creating a custom setup.xml for an app I'm developing, why do I not see my custom XML?

Path Finder

Hi All,

I'm trying to create a custom setup.xml for the app which I'm developing. After writing the setup.xml, restmap.xml, file, I'm not able to see my custom xml as part of "https://XX.XX.XX.XX:8089/services" itself.

Can someone please check and verify if I have provided all the right inputs and tell me if there is anything wrong in the code?


server =
ise_username = admin
ise_password = password



handlertype = python
handlerfile =
handleractions = list, edit


  <block title="ISE Active Session Setup"  endpoint="myisecustom/isecustomendpoint" entity="setupentity">
      <input field="server">
             <label>IP Address </label>
         <input field="ise_username">
     <input field="ise_password">

import splunk.admin as admin
import splunk.entity as entity
import os

class Config(admin.MConfigHandler):

  def setup(self):
    if self.requestedAction == admin.ACTION_EDIT:
      for arg in ['server', 'ise_username', 'ise_password']:

  def handleList(self, confInfo):
    confDict = self.readConf('ISE')

    #if None != confDict:
    #  for stanza, settings in confDict.items():
    #    for key, val in settings.items():
    #      confInfo[stanza].append(key, val)
    #   confInfo[stanza].append('changed', '1')

  def handleEdit(self, confInfo):
    name =
    args = self.callerArgs

    if['server'][0] in [None, '']:['server'][0] = ''

    if['ise_username'][0] in [None, '']:['ise_username'][0] = ''

    if['ise_password'][0] in [None, '']:['ise_password'][0] = ''

    self.writeConf('ISE' , 'setupentity',

# initialize the handler
admin.init(Config, admin.CONTEXT_NONE)
0 Karma


Did you put this in default? I had no luck in local.

0 Karma