4.3 Test Redaction Processor
The redaction processor gives precise control over which attributes and values are permitted or removed from telemetry data.
In this exercise, we will redact the Start the Gateway: In your Gateway terminal window start the Gateway. Enable the Start the Agent: In your Agent terminal window start the Agent. Start the Load Generator: In the Loadgen terminal window start the Check the debug output: For both the Agent and Gateway confirm the values for By including Check file output: Using Notice that These are just a couple of examples of how user.visa & user.mastercard values in the span data before it is exported by the Agent.
Exercise
redaction/redact processor: In the Agent terminal window, edit agent.yaml and remove the # we inserted in the previous exercise.loadgen:user.visa & user.mastercard have been updated. Notice user.amex attribute value was NOT redacted because a matching regex pattern was not added to blocked_values
Note
summary:debug in the redaction processor, the debug output will include summary information about which matching key values were redacted, along with the count of values that were masked.jq verify that user.visa & user.mastercard have been updated in the gateway-traces.out.user.amex has not been redacted because a matching regex pattern was not added to blocked_values:attributes and redaction processors can be configured to protect sensitive data.
Important
Stop the Agent and the Gateway processes by pressing Ctrl-C in their respective terminals.