This add-on is intended to be a Search Command Template with the intent of simplifying setup.xml, creating/managing the password store, and using custom config files.
This are created using parts of the JIRA Alert Add-on created by Splunk. You can clone this project.
- Clone template from Github
- Rename
splunk-template-commanddirectory to your<newAppName>. - Update app.conf to setting to reflect your app.
- if you plan on using the credential store for password update the credentials stanza.
- For custom config files rename
customcommand.confandcustomcommand.conf.specto a relevant name.- Update stanza and setting which you plan to using in your app.
- Rename customcommand.py to reflect your .
- Edit
commands.confreplace stanza with the name of your custom command and replacefilenamesettings with what ever you renameed customcommand.py to. - Update
restmap.confthe[admin_external:command_install]to[admin_external:<newAppName>_install] - Within
<newAppName>.pyfrom setup 5 search and replacecustomCommandwith<newAppName>- Replace
customCommandwith<newAppName>in logging.conf
- Replace
- Within setup.xml
- edit the
endpointattribute to reflect the change made in step 7. - edit the
entityattribute to reflect the stanza define in your custom conf file - edit all
fieldattribute to reflect the settings defined in your custom conf file
- edit the
- Edit
install_endpoint.pyto reflect the stanza and setting define insetup.xmland your custom.conf file.
###Adding Python modules Note: PIP is required and all modules should have no archType.
To add edit the setup.sh.
The Splunk Add-on for Atlassian JIRA Alerts is licensed under the Apache License 2.0. Details can be found in the LICENSE page.