Splunk Core Certified Advanced Power User — Question 133
Which file will be matched for the following monitor stanza in inputs.conf?
[monitor:///var/log/*/bar/.../*.txt]
Answer options
- A. /var/log/host_469386086/bar/file/foo.txt
- B. /var/log/host_469336086/bar/foo.txt
- C. /var/log/host_469386086/temp/bar/file/csv/foo.txt
- D. /var/log/host_469386086/temp/bar/file/foo.txt
Correct answer: A
Explanation
The correct answer is A because it matches the pattern specified in the monitor stanza, which looks for .txt files within the '/var/log/*/bar/' directory structure. Options B, C, and D do not fulfill the criteria as they either lack the required directory structure or file type.