새 데이터베이스 플래그 목록에서 alloydb.enable_pgaudit 플래그를 선택합니다.
값 목록에서 사용을 선택합니다.
완료를 클릭합니다.
인스턴스 업데이트를 클릭합니다.
gcloud
인스턴스의 alloydb.enable_pgaudit 플래그를 on로 설정하여 인스턴스에서 pgAudit를 사용 설정합니다. Google Cloud CLI를 사용하여 인스턴스의 데이터베이스 플래그를 설정하는 방법에 대한 자세한 내용은 인스턴스의 데이터베이스 플래그 구성을 참고하세요.
이 플래그를 업데이트하면 AlloyDB에서 인스턴스를 자동으로 다시 시작합니다.
기본 인스턴스에 연결하고 각 데이터베이스에 확장 프로그램을 만듭니다.
읽기 풀 인스턴스에서 감사를 사용 설정하는 경우에도 기본 인스턴스에서 다음 단계를 실행해야 합니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-03-06(UTC)"],[[["Auditing on an AlloyDB instance requires enabling the `alloydb.enable_pgaudit` flag."],["After enabling the flag, connect to the cluster's primary instance to create the `pgaudit` extension in each desired database."],["Setting `alloydb.enable_pgaudit` to true and `logging_collector` to on may cause a loss of audit logs in AlloyDB Omni."],["Only users in the `alloydbsuperuser` role can create extensions, and the postgres user is part of it by default."],["Enabling the `pgAudit` extension may lead to increased data storage requirements in the event of a service disruption."]]],[]]