QuestionQ46

VerifiedMonitor Inputs

Which monitor statement retrieves only files that begin with access in the /opt/log/www2/ directory?

Question Image

Explanation

A Splunk monitor:/// stanza can use * as a filename wildcard. monitor:///opt/log/www2/access* limits collection to entries in that directory whose filenames start with access; monitoring the directory without that wildcard would include other files, such as secure.log.

Learn more

Community Discussion

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