QuestionQ82Verified/Monitor InputsCopy linkReport a problemAsk AstroTutorSave questionIn inputs.conf, which stanza would indicate that Splunk is reading only one local file?A[monitor::/opt/log/crashlog/Jan27crash.txt]B[monitor:///opt/log/crashlogs/Jan27crash.txt]C[read://opt/log/crashlog/Jan27crash.txt]D[monitor:///opt/log/]Show AnswerAnswerExplanationA monitor input stanza can target either a directory or a single file. For an absolute Unix path, Splunk uses the monitor:/// syntax; specifying the complete Jan27crash.txt path targets that individual local file.Learn moreMonitor files and directories with inputs.confShow comments1Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion