devwithbobby

Convex Audit Log

A comprehensive audit logging component for Convex applications.

4 views

Convex

Convex Audit Log

Convex Audit Log is a component for tracking user actions, API calls, and system events in Convex applications.

It captures who did what and when, with support for before-and-after change tracking, PII redaction, configurable retention, flexible querying, real-time monitoring, anomaly detection, and JSON or CSV report generation.

Installation

npm install convex-audit-log

Register the component in convex/convex.config.ts:

import { defineApp } from "convex/server";
import auditLog from "convex-audit-log/convex.config.js";
 
const app = defineApp();
app.use(auditLog);
 
export default app;

What it supports

Resources