Redact/Mask Value
Redact/Mask all values with a pattern specified by regex in a key
The Redact/Mask Value action hides all values with a pattern specified by regex
in the key
by replacing it with a certain character, such as *
(default). When applied to your processing rule, the Redact/Mask Value action will conceal every occurrence of the specified regex pattern in the values of key
by replacing it with your preferred character for every record in your pipeline.
For example, given the following sample website log data:
To conceal every occurrence of the purchase
value in every record of your pipeline by replacing it with *
:
In the processing rules tab, in the Actions dropdown, select Redact/Mask value.
In the Key field, enter
action
.In the Regex field, enter
purchase
.In the Replacement characters field, enter
*
.Click Apply.
Your processing rule will now replace any occurrence of the value purchase
in the key action
with the character *
.
Last updated