QuestionQ37

VerifiedMonitor Inputs

Which file matches the following monitor stanza in inputs.conf?

[monitor:///var/log/*/bar/.../*.txt]

Explanation

Splunk translates wildcard monitor paths into an anchored path match. Here, * matches the single host directory immediately below /var/log, and .../ matches recursively beneath bar while excluding a file directly in bar. A .txt file in a subdirectory under /var/log/host_469386086/bar/ therefore matches.

Learn more

Community Discussion

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