You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Audit logs documents that the log can be exported as CSV or JSON from the toolbar (honoring the active filters), but it never shows what the export contains — the column layout, a sample row, or how the JSON differs from the CSV. A compliance reviewer asked for "an example of how to export audit logs" and there's nothing concrete to point at.
Proposed change
Expand the Exporting section of the audit-logs page with a worked example:
the exact CSV column layout (timestamp, action, category, actorEmail, actorId, actorType, actorRole, resourceType, resourceId, resourceName, status, errorMessage), as produced by convex/audit_logs/export_audit_logs.ts, with ISO-8601 UTC timestamps and RFC-4180 quoting,
a short sample two-row CSV,
the JSON format's extra payload — the full previousState/newState diff and per-row integrityHash (verifiable against the SHA-256 chain) — and when to pick JSON vs CSV.
Notes / acceptance
Example added to the existing page (no programmatic/API export surface exists today, so this documents the in-product export).
Depends on #217 (Implement Comprehensive Audit Logging System) - The audit log export documentation should be created after the audit logging system is implemented.
Triaged. Partial status: the UI audit-log export (CSV/JSON, honoring filters) is implemented and already documented under Audit logs → Exporting. What's still missing — and what this issue should track — is a programmatic export example (there's no public HTTP/CLI export surface today), which lines up with the earlier maintainer note. Keeping open as a docs+small-API follow-up; assigned to me.
Activity
larryro commentedon Jan 15, 2026
Depends on #217 (Implement Comprehensive Audit Logging System) - The audit log export documentation should be created after the audit logging system is implemented.
yannickmonney commentedon Apr 7, 2026
Audit log export functionality would need an API endpoint or CLI command. This is a feature+docs combination that needs design discussion.
yannickmonney commentedon Jun 1, 2026
Triaged. Partial status: the UI audit-log export (CSV/JSON, honoring filters) is implemented and already documented under Audit logs → Exporting. What's still missing — and what this issue should track — is a programmatic export example (there's no public HTTP/CLI export surface today), which lines up with the earlier maintainer note. Keeping open as a docs+small-API follow-up; assigned to me.
docs: worked audit-log export example (#190) (#1782)