Deal of The Day! 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 15 Question 102 Discussion

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

How is a remote monitor input distributed to forwarders?

Show Suggested Answer Hide Answer
Suggested Answer: B

The correct answer is B. in props.conf:

[identity]

SEDCMD-redact_pw = s/password=([^,|/s]+)/ ####REACTED####/g

According to the Splunk documentation1, to redact sensitive data from raw events, you need to use the SEDCMD attribute in the props.conf file. The SEDCMD attribute applies a sed expression to the raw data before indexing. The sed expression can use the s command to replace a pattern with a substitution string. For example, the following sed expression replaces any occurrence of password= followed by any characters until a comma, whitespace, or slash with ####REACTED####:

s/password=([^,|/s]+)/ ####REACTED####/g

The g flag at the end means that the replacement is applied globally, not just to the first match.

Option A is incorrect because it uses the REGEX attribute instead of the SEDCMD attribute. The REGEX attribute is used to extract fields from events, not to modify them.

Option C is incorrect because it uses the transforms.conf file instead of the props.conf file. The transforms.conf file is used to define transformations that can be applied to fields or events, such as lookups, evaluations, or replacements. However, these transformations are applied after indexing, not before.

Option D is incorrect because it uses both the wrong attribute and the wrong file. There is no REGEX-redact_pw attribute in the transforms.conf file.


Contribute your Thoughts:

Walton
20 days ago
Option A? Really? Who would distribute a monitor input as an app? That's just silly.
upvoted 0 times
...
Britt
23 days ago
Definitely not an app! It's gotta be one of the configuration file options. I'm leaning towards B or D.
upvoted 0 times
...
Shaniqua
24 days ago
Hmm, I'm not sure about this one. Maybe it's distributed as a monitor.conf file? Option C seems plausible.
upvoted 0 times
...
Jospeh
28 days ago
D sounds like the correct answer to me. A forwarder monitor profile would be the way to distribute the remote monitor input.
upvoted 0 times
Lucy
8 days ago
I agree, using a forwarder monitor profile seems like the most logical way to distribute remote monitor input.
upvoted 0 times
...
Brock
16 days ago
I think D is the correct answer too. It makes sense to use a forwarder monitor profile for distributing remote monitor input.
upvoted 0 times
...
...
Johnetta
1 months ago
I think it's option B. The remote monitor input must be distributed through the forward.conf file.
upvoted 0 times
Eloisa
26 days ago
I agree, the remote monitor input is distributed through the forward.conf file.
upvoted 0 times
...
...
Georgeanna
2 months ago
I'm not sure, but I think it could also be D) As a forwarder monitor profile.
upvoted 0 times
...
Miesha
2 months ago
I agree with Jesus, because the forward.conf file is used to configure inputs for forwarders.
upvoted 0 times
...
Jesus
2 months ago
I think the answer is B) As a forward.conf file.
upvoted 0 times
...

Save Cancel