Developing custom applications using the App Framework requires little more effort than installing Splunk. After that, you can use your favorite Web development tools to create and debug your application.
To develop, test and execute custom apps and add-ons, you need is to have Splunk installed. There are no special installation requirements for app development so, if this is your first exposure to Splunk, refer to the Installation Manual.
You'll find the following Installation Manual sections most relevant:
After Splunk is installed, you'll have access to the App Framework API source files, including application hooks into the framework. For Linux, most of the source files you'll find useful are in the following locations, where Python2.x is the version of your Splunk Python distribution:
Your custom app, like all applications, resides in: $SPLUNK_HOME/etc/apps/<yourAppName>.
See Example source code for the example application code used in this document.
For whichever hardware platform or operating system you use to develop software, you can use your favorite text editor, or IDE for a more formally managed project.
To debug Python, server-side, code, we recommend becoming familiar with Splunk logging facilities. Log files useful in determining environment setup and application problems, particularly web_service.log are located in the $SPLUNK_HOME/var/log/splunk directory.