50.4k views
1 vote
Where can scripts for scripted inputs reside on the host file system?

1) In the /etc/apps directory
2) In the /opt/splunk directory
3) In the /var/log/splunk directory
4) In the /bin directory
5) In the /usr/local/bin directory

1 Answer

6 votes

Final Answer:

Scripts for scripted inputs can reside on the host file system in the / bin directory. Option D is the answer.

Step-by-step explanation:

The / bin directory is a standard location for executable binary files and scripts on Unix-based systems. In the context of Splunk, placing scripted inputs in the /bin directory allows them to be easily accessible and executable by Splunk. This directory is commonly used for system-wide executable files.

The other options (/ etc/ apps, / opt/ splunk, / var / log / splunk, and / usr / local / bin) are not typical locations for storing scripts related to Splunk inputs. / etc / apps is generally used for Splunk app configurations, / opt / splunk is the installation directory, / var / log / splunk is for log files, and / usr / local / bin is not a conventional location for Splunk scripts.

Option D is the answer.

User Jedihawk
by
7.0k points