Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/current/cockroachcloud/sql-audit-logging.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
title: SQL Audit Logging
summary: Learn about the SQL Audit Logging feature for CockroachDB Cloud clusters.
toc: true
toc: false
docs_area: manage
---

SQL audit logging gives you detailed information about queries being executed against a table in your cluster. This feature is especially useful when you want to log all queries that are run against a table that contains cardholder data, private health information (PHI), or other personally-identifiable information (PII).

After you enable SQL audit logging for a table, [contact Support](https://support.cockroachlabs.com/hc/) to request the audit logs.
After you enable SQL audit logging for a table, audit logs are sent to the [`SENSITIVE_ACCESS` logging channel]({% link {{site.current_cloud_version}}/logging-use-cases.md %}#sensitive_access). You can then export these logs depending on your deployment. For more information, refer to [Export Logs From a CockroachDB Standard Cluster]({% link cockroachcloud/export-logs.md %}) or [Export Logs From a CockroachDB Advanced Cluster]({% link cockroachcloud/export-logs-advanced.md %}).

## Enable auditing

Expand Down
Loading