In log management, it is important to mask the sensitive details of the users while logging. Log masking is not enabled by default and to mask any sensitive data in the logs, the user needs to define the rules to mask the data in the masking section of their respective input.

The Masking Syntax to mask the data is given below:

masking: # Can have any number of rules to mask the data
  - text: ""
    placeholder: ""
  - text: ""
    placeholder: ""
    
FieldDescription
textThe actual value or Regex to which masking should be applied.
placeholderThe text which will be replaced by the actual value..
attribute_typeThere are two attribute types, resource and record. This field is optional.
attribute_keyThe key used in regex parser, which is mapped to an attribute. This field is optional.