Exam4Training

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

Exit mobile version