Use customized log field behaviors on a per-field basis to balance your organization's needs for logs that are both useful and secure.
You can use the following properties to configure log field behaviors for either predefined
fields in either the WriterBasedAccessLogFields
or
JSONAccessLogFields
or for custom log fields in third party
plugins.
Behavior | Predefined field configuration property | Custom field configuration property |
---|---|---|
Preserve |
|
preserve-field-name |
Omit |
|
omit-field-name |
Redact entire value |
|
redact-entire-value-field-name |
Redact value components |
|
redact-value-components-field-name |
Tokenize entire value |
|
tokenize-entire-value-field-name |
Tokenize value components |
|
tokenize-value-components-field-name |
For more information on log field behaviors, see Log sanitization options.