AuditMode
Specifies which provider actions should be recorded in audit tables.
Data Type
string
Default Value
""
Remarks
The driver can log internal actions it performs when running queries. When this property is set, the driver creates temporary in-memory audit tables to track the specified actions, including the timestamp, triggering query, and other relevant details.
By default, no audit modes are enabled, and the driver does not log any audit information. To enable auditing, set this property to a comma-separated list of supported modes.
The following audit mode is currently available:
| Mode Name | Audit Table | Description | Columns |
| start-jobs | AuditJobs#TEMP | Records all jobs started by the driver | Timestamp,Query,ProjectId,Location,JobId |
For example, to track Google BigQuery jobs started by the driver, set this property to: start-jobs.
Use this property to gain visibility into internal operations for monitoring or troubleshooting.
Refer to AuditLimit for guidance on managing the size of audit tables.