Splunk Core Certified Advanced Power User — Question 136

What will the following inputs.conf stanza do?

[script://myscript.sh]
interval=0

Answer options

Correct answer: C

Explanation

The correct answer is C because setting the interval to 0 means that the script will run continuously, restarting immediately after it exits. Option A is incorrect as the default interval is overridden by the specified value. Option B is also wrong because the script will keep running rather than executing just once. Option D is incorrect since the script will execute, contrary to what D states.