Which of the following is not a path used by Splunk to execute scripts?
Which of the following is not a path used by Splunk to execute scripts?
A . SPLUNK_HOME/etc/system/bin
B . SPLUNK HOME/etc/appa/<app name>/bin
C . SPLUNKHOMS/ctc/scripts/local
D . SPLUNK_HOME/bin/scripts
Answer: C
Explanation:
Splunk executes scripts from specific directories that are structured within its installation paths.
These directories typically include:
SPLUNK_HOME/etc/system/bin: This directory is used to store scripts that are part of the core Splunk system configuration.
SPLUNK_HOME/etc/apps/<app name>/bin: Each Splunk app can have its own bin directory where scripts specific to that app are stored.
SPLUNK_HOME/bin/scripts: This is a standard directory for storing scripts that may be globally accessible within Splunk’s environment.
However, C. SPLUNKHOMS/ctc/scripts/local is not a recognized or standard path used by Splunk for executing scripts. This path does not adhere to the typical directory structure within the SPLUNK_HOME environment, making it the correct answer as it does not correspond to a valid script execution path in Splunk.
Splunk Documentation
Reference: Using Custom Scripts in Splunk
Directory Structure of SPLUNK_HOME
Latest SPLK-1005 Dumps Valid Version with 73 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund