get_commandlog_history
Retrieve historical command log entries for Valkey 8+ instances. Filter by time range, command, or duration to investigate performance incidents.
Instructions
Get persisted COMMANDLOG entries from storage (Valkey 8+ only). Supports time range filtering to investigate specific incidents. Returns empty with a note if COMMANDLOG is not supported on this instance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| startTime | No | Start time (Unix timestamp ms) | |
| endTime | No | End time (Unix timestamp ms) | |
| command | No | Filter by command name | |
| minDuration | No | Min duration in microseconds | |
| limit | No | Max entries to return | |
| instanceId | No | Optional instance ID override |