export_audit
Export audit logs as portable text for compliance, archiving, or integration with SIEM/analyzers. Supports JSONL, JSON, or CSV formats with optional time filters.
Instructions
[audit] Export the audit log as a portable text artifact suitable for archiving or feeding into another SIEM/analyzer. Use for compliance exports, after-the-fact investigations, or to hand the trail to a non-MCP consumer; prefer audit_log for an in-conversation tail and verify_audit_chain to confirm integrity before exporting. Read-only. Returns the rendered text directly (no JSON wrapper). 'jsonl' is one event per line; 'json' is a single array; 'csv' is a header row plus events. Time filters are applied to the event timestamps before formatting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | Inclusive lower bound on event timestamp, ISO 8601. Example: '2026-04-01T00:00:00Z'. Omit for no lower bound. | |
| until | No | Inclusive upper bound on event timestamp, ISO 8601. Omit for now/no upper bound. | |
| format | No | Output format. 'jsonl' (default) is most stream-friendly; 'json' is a single array; 'csv' is spreadsheet-friendly. | jsonl |