Which of the following monitor inputs stanza headers would match all of the following files?

Which of the following monitor inputs stanza headers would match all of the following files?

/var/log/www1/secure.log

/var/log/www/secure.l

/var/log/www/logs/secure.logs

/var/log/www2/secure.log
A . [monitor:///var/log/…/secure.*
B . [monitor:///var/log/www1/secure.*]
C . [monitor:///var/log/www1/secure.log]
D . [monitor:///var/log/www*/secure.*]

Answer: C

Explanation:

Reference: https://docs.splunk.com/Documentation/Splunk/8.2.1/Data/Monitorfilesanddirectorieswithinputs.conf

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments