Follow these steps to configure a scripted input:
- Log in to your Splunk server.
- From the menu in the top right-hand corner, click on the Settings menu and then click on the Add Data link.
- If you are prompted to take a quick tour, click on Skip.
- In the How do you want to add data section, click on Monitor.
- Click on the Scripts section:
- A form will be displayed with a number of input fields. In the Script Path drop-down, select the location of the script. All scripts must be located in a Splunk bin directory, either in $SPLUNK_HOME/bin/scripts or an appropriate bin directory within a Splunk app, such as $SPLUNK_HOME/etc/apps/search/bin ...