QuestionQ37Verified/Monitor InputsCopy linkReport a problemAsk AstroTutorSave questionWhich file matches the following monitor stanza in inputs.conf? [monitor:///var/log/*/bar/.../*.txt]A/var/log/host_469386086/bar/file/foo.txtB/var/log/host_469336086/bar/foo.txtC/var/log/host_469386086/temp/bar/file/csv/foo.txtD/var/log/host_469386086/temp/bar/file/foo.txtShow AnswerAnswerExplanationSplunk 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 moreSpecify input paths with wildcardsShow comments1Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion