Create the Script
For each custom action that you want to implement, create an executable script (.bat extension for Windows, .sh extension for Linux) that can accept and process the parameters passed to it by Splunk AppDynamics On-Premises. See Information Passed to the Custom Action Script for details on the parameters.
For each script:
- Set correct executable permissions for the shell scripts in a Linux environment. For example, chmod
770 script1.sh
. - Ensure that the script file has the correct character encoding. This is especially important when creating a Unix shell script on a Windows machine.