Data obfuscation expressions
Data obfuscation expressions identify the data to hide. You can create data obfuscation expressions that are based on field-based properties or you can use regular expressions.
Field-based properties
Use a field-based property to hide user names, group names, host names, and NetBIOS names. Expressions that use field-based properties obfuscate all instances of the data string. The data is hidden regardless of its log source, log source type, event name, or event category.
If the same data value exists in more than one of the fields, the data is obfuscated in all
fields that contain the data even if you configured the profile to obfuscate only one of the four
fields. For example, if you have a host name that is called IBMHost
and a group
name that is called IBMHost
, the value IBMHost
is obfuscated in
both the host name field and the group name field even if the data obfuscation profile is configured
to obfuscate only host names.
Regular expressions
Use a regular expression to obfuscate one data string in the payload. The data is hidden only if it matches the log source, log source type, event name, or category that is defined in the expression.
Example regex patterns | Matches |
---|---|
|
john_smith@EXAMPLE.com, jon@example.com,
jon@us.example.com |
|
john.smith, John.Smith, john, jon_smith |
|
johnsmith, Johnsmith123, john_smith123, john123_smith,
john-smith |
|
Matches any non-white space after the equal, =, sign. This regular expression is non-specific and can lead to system performance issues. |
|
Matches users with IP address. For example,
john.smith@192.0.2.0 |
|
Matches IP address formats. |
|
hostname.example.com, hostname.co.uk |