QuestionQ13

VerifiedImplementation and Configuration

Consider the scenario in which the /var/log directory contains the files secure, messages, cron, and audit. A customer created the following inputs.conf stanzas in the same Splunk app, in this order, attempting to monitor the secure and messages files:

Question Image

Which file(s) will actually be actively monitored?

Explanation

Splunk merges settings for the identically named [monitor:///var/log] stanza. When the same setting is defined more than once, the later value takes precedence. The final whitelist = secure therefore replaces whitelist = messages, leaving the enabled monitor input to collect only /var/log/secure.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!