Where can scripts for scripted inputs reside on the host file system? (Choose all that apply.)
Where can scripts for scripted inputs reside on the host file system? (Choose all that apply.)
Scripts for scripted inputs in Splunk can reside in specific directories within the host file system. These directories are $SPLUNK_HOME/bin/scripts, $SPLUNK_HOME/etc/system/bin, and $SPLUNK_HOME/etc/apps/<your_app>/bin. Each of these directories is designed to organize scripts in a way that corresponds to different parts of the Splunk infrastructure. The bin/scripts directory is a general purpose location for scripts, the system/bin directory is for scripts that are part of the system configuration, and the apps/<your_app>/bin directory is for scripts that are specific to individual applications. The $SPLUNK_HOME/etc/apps/bin location is incorrect as it lacks the necessary structure to support proper script management.
A. $SPLUNK_HOME/bin/scripts C. $SPLUNK_HOME/etc/system/bin D. $SPLUNK_HOME/etc/apps/<your_app>/bin
ACD is correct Data Admin - Slide 143
Agreed A, C, D. Quoting the provided Splunk reference URL https://docs.splunk.com/Documentation/Splunk/7.3.1/Data/Getdatafromscriptedinputs#Where_to_place_the_scripts_for_scripted_inputs "Where to place the scripts for scripted inputs. The script that you refer to in $SCRIPT can reside in only one of the following places on the host file system: $SPLUNK_HOME/etc/system/bin $SPLUNK_HOME/etc/apps/<your_App>/bin $SPLUNK_HOME/bin/scripts As a best practice, put your script in the bin/ directory that is nearest to the inputs.conf file that calls your script on the host file system."
Data Admin Slide 154
A, C & D are correct
answer : acd
ACD is correct
Data Admin Pg 154