The script will run at the default interval of 60 seconds.
B.
The script will not be run.
C.
The script will be run only once for each time Splunk is restarted.
D.
The script will be run. As soon as the script exits, Splunk restarts it.
The Answer Is:
C
This question includes an explanation.
Explanation:
The inputs.conf file is used to configure inputs, distributed inputs such as forwarders, and file system monitoring in Splunk1.
The [script://myscript.sh] stanza specifies a script input, which means that Splunk runs the script and indexes its output1.
The interval setting determines how often Splunk runs the script. If the interval is set to 0, the script runs only once when Splunk starts up1. If the interval is omitted, the script runs at the default interval of 60 seconds2.
Therefore, option C is correct, and the other options are incorrect.
SPLK-1003 PDF/Engine
Printable Format
Value of Money
100% Pass Assurance
Verified Answers
Researched by Industry Experts
Based on Real Exams Scenarios
100% Real Questions
Get 65% Discount on All Products,
Use Coupon: "ac4s65"