Sazabi
APILog streams

Volume Stats

GET
/log-streams/volume-stats

Get bytes, log count, intake rate, and last-received time for each log stream in a log source over a bounded window.

Query Parameters

logSourceId*string

Log source ID whose log streams should be measured.

Formatuuid
startDate*string
Formatdate-time
endDate*string
Formatdate-time

Response Body

application/json

curl -X GET "https://example.com/log-streams/volume-stats?logSourceId=497f6eca-6276-4993-bfeb-53cbbbba6f08&startDate=2019-08-24T14%3A15%3A22Z&endDate=2019-08-24T14%3A15%3A22Z"
{  "stats": [    {      "streamId": "22cb260b-fac8-4ce4-8488-8f1949304300",      "totalBytes": 0,      "logCount": 0,      "bytesPerHour": 0,      "lastIngestedAt": "2019-08-24T14:15:22Z"    }  ]}