Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Splunk Exam SPLK-1003 Topic 4 Question 105 Discussion

Actual exam question for Splunk's SPLK-1003 exam
Question #: 105
Topic #: 4
[All SPLK-1003 Questions]

In inputs. conf, which stanza would mean Splunk was only reading one local file?

Show Suggested Answer Hide Answer

Contribute your Thoughts:

Kimbery
3 months ago
Option B? Really? What is this, amateur hour? Everyone knows Splunk doesn't use colons in its file paths. Clearly A is the correct answer.
upvoted 0 times
...
Chandra
3 months ago
Pfft, this is easy. Everyone knows you use the 'monitor' stanza to watch directories, not files. A all the way, baby!
upvoted 0 times
Glenna
2 months ago
B) [monitor::/opt/log/crashlog/Jan27crash.txt]
upvoted 0 times
...
Zona
2 months ago
Exactly, the 'read' stanza is for reading specific files, not directories.
upvoted 0 times
...
Carin
3 months ago
A) [read://opt/log/crashlog/Jan27crash.txt]
upvoted 0 times
...
...
Deeann
3 months ago
Hmm, I'm torn between A and D. D looks like it's reading the whole directory and a specific file, but A is more straightforward. Decisions, decisions...
upvoted 0 times
...
Johna
3 months ago
I'm going with C. The '///' in the path means it's reading the entire directory, not just a single file.
upvoted 0 times
...
Renea
3 months ago
Option A looks right to me, the 'read://' stanza is used for reading a single local file.
upvoted 0 times
Wayne
2 months ago
That's incorrect. The 'monitor://' stanza is used for monitoring directories, not single files.
upvoted 0 times
...
Casie
2 months ago
C) [monitor:///opt/log/]
upvoted 0 times
...
Deonna
3 months ago
Yes, that's correct. The 'read://' stanza is used for reading a single local file.
upvoted 0 times
...
Lemuel
3 months ago
A) [read://opt/log/crashlog/Jan27crash.txt]
upvoted 0 times
...
...
Alverta
3 months ago
I disagree, I believe the answer is B) [monitor::/opt/log/crashlog/Jan27crash.txt] because it specifies monitoring a specific file.
upvoted 0 times
...
Estrella
3 months ago
I think the answer is A) [read://opt/log/crashlog/Jan27crash.txt].
upvoted 0 times
...

Save Cancel