Scan entries
Scan log entries for a given key within an optional sequence range.
Supports long-polling: set follow=true to hold the connection open until new data arrives or timeout_ms elapses (default 30 000 ms). This is useful for tailing a log stream in near-real-time.
Query parameters
Key to scan (URL-encoded if it contains special characters).
Start sequence number (inclusive). Defaults to 0.
End sequence number (exclusive). Defaults to max uint64.
Maximum number of entries to return.
If true, long-poll until data is available or timeout.
Timeout in milliseconds for long-polling. Default 30000.
Response
Scan results.
Example response
{
"status": "success"
}Changes
Changed in 1 of the 2 revisions of this API.2
- ▲
the
keyresponse's property type/format changed fromobject/tostring/bytefor status200response-property-type-changed
- ▲
removed the required property
key/valuefrom the response with the200statusresponse-required-property-removed
- ▲