Stay organized with collections
Save and categorize content based on your preferences.
To disable pgAudit on an AlloyDB instance, set the value of the
alloydb.enable_pgaudit flag to off. You can change the
value of the alloydb.enable_pgaudit flag through the Google Cloud console
or the gcloud command.
When you disable the alloydb.enable_pgaudit flag, audit logging stops
immediately. However, it saves the applied pgAudit settings such as the pgaudit.log
parameter settings.
Additionally, run the DROP EXTENSION command by using a compatible
psql client to remove the extension state.
You disable an extension by reversing the procedure used to enable it.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-25 UTC."],[[["Disabling pgAudit on an AlloyDB instance involves setting the `alloydb.enable_pgaudit` flag to `off` through the Google Cloud console or the gcloud command."],["Audit logging ceases immediately upon disabling the `alloydb.enable_pgaudit` flag, while retaining the applied pgAudit settings."],["Updating the `alloydb.enable_pgaudit` flag results in an automatic restart of the instance."],["Removing the pgAudit extension state requires executing the `DROP EXTENSION` command via a compatible `psql` client."],["The procedure to disable an extension is essentially the reverse of the steps taken to enable it."]]],[]]