Audit Context Variables

The following table lists the predefined context variables related to auditing.
gateway83
The following table lists the predefined context variables related to auditing.
For additional auditing-related context variables, see Working with the Audit Sink Policy.
Variable
Description
${auditLevel}
Returns the current audit level of the request; for example: INFO, WARNING.
${audit.code.####}
Returns the message text for audit code "####". For example, ${audit.code.4331} will return "{0} message not XML. {1}".
${audit.details}
${audit.details.0.componentId}
Contains all audit detail subrecords; multivalued, may be empty.
The ID of the component the first detail relates to. 
${audit.details.0.exception}
Information about a stack trace, if one is associated with this detail record.
${audit.details.0.fullText}
Returns the formatted text for the audit detail, including parameters.
${audit.details.0.messageId}
The ID of the detail message, which can be looked up to determine what is being recorded.
${audit.details.0.ordinal}
The ordinal of the detail message—in this case, "0".
${audit.details.0.params}
 Contains any parameter strings to flesh out the detail message; multivalued and may be empty.
${audit.details.0.params[0]}
The first parameter of the first detail message.
${audit.details.0.params[1]}
The second parameter of the first detail message.
${audit.details.0.properties}
The audit detail parameters in XML form.
${audit.details.0.time}
When the request was authenticated.
${audit.details.1.params[0]}
The first parameter of the second detail message.