QuestionQ46Verified/Monitor InputsCopy linkReport a problemAsk AstroTutorSave questionWhich monitor statement retrieves only files that begin with access in the /opt/log/www2/ directory? A[monitor:///opt/log/.../access]B[monitor:///opt/log/www2/access*]C[monitor:///opt/log/www2/]D[monitor:///opt/log/.../]Show AnswerAnswerExplanationA 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 moreMonitor Splunk Enterprise files and directories with the CLIManually collect logs from a *nix host in ITE WorkShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion