Insert into Audit Log

Is there a script function that will insert into an existing audit log.

This would be the opposite of the system.util.queryAuditLog.

Something like ‘system.util.updateAuditLog’

This is what I’m looking to accomplish. When a user closes a window I want the action and actor to be recorded into the audit log.

Hi David,

Audit logs are stored in a database table. Audit logs are associated with a database connection and database table that is configured with the audit log in the Gateway configuration.

So you can find out what database and database table the audit log information is going to. Then you can insert your own data using system.db.runPrepUpdate.


Are there any known issues or best practices with inserting records manually into the AUDIT_EVENTS table?