Get hourly usage for logs by index
GET {{baseUrl}}/api/v1/usage/logs_by_index?start_hr=2007-08-06T13:18:56.043Z&end_hr=2007-08-06T13:18:56.043Z&index_name=do est&index_name=commodo tempor
Get hourly usage for logs by index.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
start_hr | string | (Required) Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour. | |
end_hr | string | Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending before this hour. | |
index_name | string | Comma-separated list of log index names. | |
index_name | string | Comma-separated list of log index names. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"usage":[{"event_count":90610761,"hour":"1994-01-04T20:50:56.198Z","index_id":"deserunt reprehenderit Ut nostrud ea","index_name":"Excepte","org_name":"reprehenderit","public_id":"ut irure aliquip ullamco","retention":90082130},{"event_count":44981253,"hour":"1953-09-12T06:04:05.315Z","index_id":"laboris ea","index_name":"aute","org_name":"et do","public_id":"consectetur ex sunt","retention":33246901}]}