The answer is C.
Setting interval=0 in Splunk's inputs.conf file means the script will keep running continuously. As soon as the script finishes executing, Splunk will immediately restart it.
the interval setting specifiels the time, in seconds, between runs of the script.
Setting interval=0 in Splunk's inputs.conf file means the script will keep running continuously. As soon as the script finishes executing, Splunk will immediately restart it.
C.
See scripted input:
https://docs.splunk.com/Documentation/Splunk/9.2.1/Admin/Inputsconf
[script://<cmd>]
interval = [<decimal>|<cron schedule>]
* The special value "0" forces this scripted input to be run continuously. As soon as the script exits, the input restarts it.
* The special value "-1" causes the scripted input to run once on start-up.
* NOTE: when you specify a cron schedule, the input does not run the script on start-up.
* Default: 60.0
Should be B.
By setting 'interval=0', you're instructing Splunk to execute the script a single time at the startup of the Splunk service. After the initial execution, Splunk will not run the script again unless the service is restarted.
upvoted 2 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
FrozenYeti
1 week, 4 days agotje210
2 weeks agoNastyNutsu
2 weeks, 5 days agoshesky17
2 months, 3 weeks agoFrank_Rai
3 months, 4 weeks ago