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-1005 Topic 10 Question 6 Discussion

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

A monitor has been created in inputs. con: for a directory that contains a mix of file types.

How would a Cloud Admin fine-tune assigned sourcetypes for different files in the directory during the input phase?

Show Suggested Answer Hide Answer
Suggested Answer: B

When dealing with a directory containing a mix of file types, it's essential to fine-tune the sourcetypes for different files to ensure accurate data parsing and indexing.

B . On the forwarder collecting the data, leave sourcetype as automatic for the directory monitor. Then create a props.conf that assigns a specific sourcetype by source stanza: This is the correct answer. In this approach, the Universal Forwarder is set up with a directory monitor where the sourcetype is initially left as automatic. Then, a props.conf file is configured to specify different sourcetypes based on the source (filename or path). This ensures that as the data is collected, it is appropriately categorized by sourcetype according to the file type.

Splunk Documentation Reference:

Configuring Inputs and Sourcetypes

Fine-tuning sourcetypes


Contribute your Thoughts:

Noah
15 days ago
I'd go with Option B. Leaving the sourcetype as automatic on the forwarder and then using props.conf to assign specific sourcetypes sounds like a cleaner solution.
upvoted 0 times
...
Shakira
20 days ago
Option C seems like the most straightforward approach. Handling the sourcetype assignment at the indexer level makes sense to me.
upvoted 0 times
Sabine
7 days ago
I agree, option C does seem like the most straightforward approach.
upvoted 0 times
...
...
Lisbeth
27 days ago
I agree with Leonor. It's important to fine-tune sourcetypes for different files in the directory during the input phase.
upvoted 0 times
...
Leonor
1 months ago
I think the answer is A. It makes sense to assign specific sourcetypes by source stanza in props.conf.
upvoted 0 times
...

Save Cancel