BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Splunk Exam SPLK-1003 Topic 10 Question 86 Discussion

Actual exam question for Splunk's SPLK-1003 exam
Question #: 86
Topic #: 10
[All SPLK-1003 Questions]

Windows can prevent a Splunk forwarder from reading open files. If files need to be read while they are being written to, what type of input stanza needs to be created?

Show Suggested Answer Hide Answer
Suggested Answer: C

The correct answer is C. MonitorNoHandle.

MonitorNoHandle is a type of input stanza that allows a Splunk forwarder to read files on Windows systems as Windows writes to them. It does this by using a kernel-mode filter driver to capture raw data as it gets written to the file1. This input stanza is useful for files that get locked open for writing, such as the Windows DNS server log file2.

The other options are incorrect because:

A) Tail Reader is not a valid input stanza in Splunk. It is a component of the Tailing Processor, which is responsible for monitoring files and directories for new data3.

B) Upload is a type of input stanza that allows Splunk to index a single file from a local or network file system. It is not suitable for files that are constantly being updated, as it only indexes the file once and does not monitor it for changes4.

D) Monitor is a type of input stanza that allows Splunk to monitor files and directories for new data. However, it may not work for files that Windows prevents Splunk from reading while they are open. In such cases, MonitorNoHandle is a better option2.

A Splunk forwarder is a lightweight agent that can forward data to a Splunk deployment. There are two types of forwarders: universal and heavy. A universal forwarder can only forward data, while a heavy forwarder can also perform parsing, filtering, routing, and aggregation on the data before forwarding it5.

An input stanza is a section in the inputs.conf configuration file that defines the settings for a specific type of input, such as files, directories, network ports, scripts, or Windows event logs. An input stanza starts with a square bracket, followed by the input type and the input path or name. For example, [monitor:///var/log] is an input stanza for monitoring the /var/log directory.


1: Monitor files and directories - Splunk Documentation

2: How to configure props.conf for proper line breaking ... - Splunk Community

3: How Splunk Enterprise monitors files and directories - Splunk Documentation

4: Upload a file - Splunk Documentation

5: Use forwarders to get data into Splunk Enterprise - Splunk Documentation

[6]: inputs.conf - Splunk Documentation

Contribute your Thoughts:

Phillip
5 months ago
I thought it was Monitor too. It’s used frequently with forwarders.
upvoted 0 times
...
Chana
6 months ago
Well, Tail Reader is good for reading files that are actively being written to. Makes sense, right?
upvoted 0 times
...
Nydia
6 months ago
Why Tail Reader?
upvoted 0 times
...
Chana
6 months ago
I'm leaning towards Tail Reader, A).
upvoted 0 times
...
Larae
6 months ago
Yeah, I think it's D) Monitor.
upvoted 0 times
...
Nydia
7 months ago
Does anyone else find this Splunk question tricky?
upvoted 0 times
...
Nichelle
7 months ago
Monitor can also be used, but Tail Reader is more specific for this scenario
upvoted 0 times
...
Orville
7 months ago
But what about option D) Monitor?
upvoted 0 times
...
Lilli
7 months ago
I agree, Tail Reader allows reading open files
upvoted 0 times
...
Nichelle
7 months ago
I think the answer is A) Tail Reader
upvoted 0 times
...

Save Cancel