LOG-AUDIT-EVENT( ) method
Creates an audit record for the specified application-defined audit event in each connected audit-enabled database whose current audit policy has this audit event enabled.
This method returns a Base64 character string that specifies a universally unique identifier (UUID) as the primary index for the generated audit event record. The UUID is 22 characters in length (the two trailing Base64 pad characters are removed).
Return type:
CHARACTER
Applies to:
AUDIT-CONTROL system handle
event-id
An integer value that specifies an identifier for an application-defined audit event. This value must be greater than or equal to 32000.
event-context
A character expression that specifies the context for the audit event. The value of this expression cannot exceed 200 characters. You can also use this value as an alternate index for querying the audit event record.
If you specify the Unknown value (?
), the AVM generates a run-time error.
event-detail
An optional character expression that specifies additional audit detail. The value of this expression cannot exceed 10,000 characters.
audit-custom-detail
An optional character expression that specifies additional user detail. The value of this expression cannot exceed 10,000 characters.