The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
docs(auth): clarify audit logs storage options and configuration (#48852)
Gabriel Claudino18c26bf93305
diff --git a/apps/docs/content/guides/auth/audit-logs.mdx b/apps/docs/content/guides/auth/audit-logs.mdxindex 773050533fe..9d74ea36edb 100644--- a/apps/docs/content/guides/auth/audit-logs.mdx+++ b/apps/docs/content/guides/auth/audit-logs.mdx@@ -18,25 +18,19 @@ Supabase auth audit logs automatically capture all authentication events includi## Storage options-By default, audit logs are stored in two places:+Audit logs are stored in:-1. **Your project's Postgres database** - Stored in the `auth.audit_log_entries` table, searchable via SQL but uses database storage-2. **External log storage** - Cost-efficient storage accessible through the dashboard+- **External log storage** - Cost-efficient storage accessible through the dashboard+- **Postgres database** (optional) - Stored in the `auth.audit_log_entries` table, searchable via SQL, but uses additional database storage-You can disable Postgres storage to reduce database storage costs while keeping the external log storage.+You can enable or disable Postgres database storage to optimize your costs.### Configuring audit log storage1. Navigate to your project’s dashboard2. Go to **Authentication**-3. Find the **Audit Logs** under **Configuration** section-4. Toggle on "Disable writing auth audit logs to project database" to disable database storage--<Admonition type="note">--Disabling Postgres storage reduces your database storage costs. Audit logs will still be available through the dashboard.--</Admonition>+3. Find the **Audit Logs** under the **Configuration** section+4. Toggle "Write audit logs to the database" on to enable or off to disable database storage## Log format