Cyber Monday 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 8 Question 84 Discussion

Actual exam question for Splunk's SPLK-1003 exam
Question #: 84
Topic #: 8
[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:

Glenna
6 months ago
But wouldn't monitoring the file also work to read it while it's being written to?
upvoted 0 times
...
Loreen
6 months ago
I agree with Raul, tailing the file seems like the best option here
upvoted 0 times
...
Mickie
7 months ago
I'm not sure, I think it might be D) Monitor
upvoted 0 times
...
Raul
7 months ago
I think the answer is A) Tail Reader
upvoted 0 times
...
Gene
7 months ago
I believe C) MonitorNoHandle is the correct answer as it handles reading files while they are being written to.
upvoted 0 times
...
Olene
7 months ago
I disagree, it should be A) Tail Reader because that's specifically for reading open files.
upvoted 0 times
...
Theresia
7 months ago
I think the answer is D) Monitor.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77