ExamGecko
Question list
Search
Search

List of questions

Search

Question 26 - SPLK-1005 discussion

Report
Export

Which of the following is not a path used by Splunk to execute scripts?

A.

SPLUNK_HOME/etc/system/bin

Answers
A.

SPLUNK_HOME/etc/system/bin

B.

SPLUNK HOME/etc/appa/<app name>/bin

Answers
B.

SPLUNK HOME/etc/appa/<app name>/bin

C.

SPLUNKHOMS/ctc/scripts/local

Answers
C.

SPLUNKHOMS/ctc/scripts/local

D.

SPLUNK_HOME/bin/scripts

Answers
D.

SPLUNK_HOME/bin/scripts

Suggested 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//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

asked 10/10/2024
Jonathan McGurgan
34 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first