get_commandlog_history
Retrieve historical COMMANDLOG entries from Valkey storage to investigate specific incidents, using time range and command filters to pinpoint slow or problematic operations.
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 |
|---|---|---|---|
| limit | No | Max entries to return | |
| command | No | Filter by command name | |
| endTime | No | End time (Unix timestamp ms) | |
| startTime | No | Start time (Unix timestamp ms) | |
| instanceId | No | Optional instance ID override | |
| minDuration | No | Min duration in microseconds |