BLACK FRIDAY SALE – Unlock Up to 25% OFF on All Exam Prep! - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Splunk SPLK-1005 Exam - Topic 8 Question 38 Discussion

Posted by Annice on Oct 21, 2026 at 05:47 PM

A user has been asked to mask some sensitive data without tampering with the structure of the file /var/log/purchase/transactions. log that has the following format:

A)

B)

C)

D)

Suggested Answer: B

Option B is the correct approach because it properly uses a TRANSFORMS stanza in props.conf to reference the transforms.conf for removing sensitive data. The transforms stanza in transforms.conf uses a regular expression (REGEX) to locate the sensitive data (in this case, the SuperSecretNumber) and replaces it with a masked version using the FORMAT directive.

In detail:

props.conf refers to the transforms.conf stanza remove_sensitive_data by setting TRANSFORMS-cleanup = remove_sensitive_data.

transforms.conf defines the regular expression that matches the sensitive data and specifies how the sensitive data should be replaced in the FORMAT directive.

This approach ensures that sensitive information is masked before indexing without altering the structure of the log files.

Splunk Cloud Reference: For further reference, you can look at Splunk's documentation regarding data masking and transformation through props.conf and transforms.conf.

Source:

Splunk Docs: Anonymize data

Splunk Docs: Props.conf and Transforms.conf


Get Premium SPLK-1005 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
7 comments · newest first
PH
Phuong 4 days ago
Wait, are we sure these options actually mask the data properly?
NO
Noe 10 days ago
I think Option C is more secure though.
LA
Lashon 15 days ago
Option B looks like the best choice.
ME
Mertie 20 days ago
I think option B looks familiar, but I can't recall if it preserves the file structure as required.
CR
Cristal 25 days ago
I feel a bit confused about the masking rules. Did we cover how to handle different data types in logs?
TE
Terrilyn 1 month ago
This question seems similar to one we did in class about log file formats. I think option C might be the right choice.
EM
Emmett 1 month ago
I remember we practiced data masking techniques, but I'm not sure which option keeps the structure intact.
0/2000 characters

Save Cancel