Splunk Core Certified Advanced Power User — Question 148

What is the correct example to redact a plain-text password from raw events?

Answer options

Correct answer: C

Explanation

The correct answer is C because the 'SEDCMD' directive in props.conf is used for modifying event data at index time, which is appropriate for redacting sensitive information like passwords. Options A and B incorrectly use 'REGEX' instead of 'SEDCMD', while option D is also incorrect as it places the command in transforms.conf instead of props.conf.