Get hourly usage for logs by index

GET {{baseUrl}}/api/v1/usage/logs_by_index?start_hr=1992-04-06T18:39:52.088Z&end_hr=1992-04-06T18:39:52.088Z&index_name=ad deserunt eiusmod&index_name=sed

Get hourly usage for logs by index.

Request Params

KeyDatatypeRequiredDescription
start_hrstring(Required) Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
end_hrstringDatetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending before this hour.
index_namestringComma-separated list of log index names.
index_namestringComma-separated list of log index names.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"usage":[{"event_count":-17751144,"hour":"1985-06-06T14:27:31.376Z","index_id":"nostrud","index_name":"exercitation consequat qui do","org_name":"laborum enim ullamco","public_id":"irure laboris in","retention":2128857},{"event_count":18484451,"hour":"2018-07-09T05:30:59.054Z","index_id":"irure","index_name":"eiusmod nisi in cupidatat","org_name":"aliquip dolore pariatur esse reprehenderit","public_id":"culpa elit Duis","retention":3339980}]}