Exam SPLK-1003 All QuestionsBrowse all questions from this exam
Question 27

Where can scripts for scripted inputs reside on the host file system? (Choose all that apply.)

    Correct Answer: A, C, D

    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.

Discussion
AsamiOptions: ACD

A. $SPLUNK_HOME/bin/scripts C. $SPLUNK_HOME/etc/system/bin D. $SPLUNK_HOME/etc/apps/<your_app>/bin

BMOOptions: ACD

ACD is correct Data Admin - Slide 143

ucsdmiami2020

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."

Steve2610Options: ACD

Data Admin Slide 154

ApisOptions: ACD

A, C & D are correct

thomassOptions: ACD

answer : acd

NnatechOptions: ACD

ACD is correct

denominator

Data Admin Pg 154