Skip to main content
Search and download organization audit logs from the CLI. Time values can be dates (2026-06-01) or timestamps (2026-06-01T15:04:05Z). Dates begin at midnight UTC. Search audit logs within a time window. Results are ordered newest first.
If you omit the time flags, the command searches from 24 hours ago through now. The start is inclusive and the end is exclusive. Each time window can cover up to 30 days.
--limit controls the total number of CLI results. The CLI automatically requests API pages of up to 100 records until it reaches that limit or runs out of results.

Include GET requests

By default, the CLI returns matching requests for every HTTP method except GET. --include-get removes that default exclusion. --method selects exactly one method, so --method GET returns only GET requests.

kernel audit-logs download

Download matching audit logs in a time window as one gzip-compressed JSONL file.
--start and --end are required. The start is inclusive and the end is exclusive, and the time window can cover up to 30 days. For example, --start 2026-06-01 --end 2026-07-01 covers all of June in UTC.

Download behavior

The CLI downloads up to 50,000 records per batch, verifies each batch’s SHA-256 checksum, and automatically retries transient failures. The requested output appears only after the full download succeeds. Failed downloads are removed, though a completed download may remain at <output>.partial if it can’t be moved to the requested path. Downloads don’t resume: rerunning the command starts over. Existing files are replaced only when you pass --force.

Aliases

You can also use kernel audit-log, kernel auditlogs, or kernel auditlog.