QuestionQ21Verified/Monitor InputsCopy linkReport a problemAsk AstroTutorSave questionWhat is the proper syntax for monitoring /apache/foo/logs, /apache/bar/logs, and /apache/bar/1/logs?A(monitor:///apache/*/logs]B(monitor:///apache/foo/logs, /apache/bar/logs, /apache/bar/1/logs]C[monitor:///apache/.../logs]D[monitor:///apache/foo/logs, /apache/bar/logs, and /apache/bar/1/logs]Show AnswerAnswerExplanationIn a Splunk monitor input path, the ... wildcard recursively matches directories across any number of subdirectory levels. Therefore, /apache/.../logs matches each specified logs directory, whether it is one or more levels below /apache.Learn moreSpecify input paths with wildcardsMonitor files and directories with inputs.confShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion