Selective Logging for JSON Payloads
To select the fields in the JSON payloads, use the
<JSONSelectiveLogFields> tag in the log policy XML file. This table explains the field names for logging in a JSON payload:
Parameters for Logging in JSON Payload
Parameter
|
Description
|
FieldPath
|
Specifies the JSON path for the field to be selectively logged.
|
Example of Selective Logging Policy for JSON Payloads
<JSONSelectiveLogFields>
<FieldPath>BookStore.Book.[0].Author</FieldPath>
<FieldPath>BookStore.Book.[0].ISBN</FieldPath>
</JSONSelectiveLogFields>
Copyright © Cloud Software Group, Inc. All Rights Reserved.