CDN Statistics
Aggregated Logs uploader usage statistics
Get the number of CDN resources that used Logs uploader.
Request URL parameters should be added as a query string after the endpoint.
get/cdn/statistics/raw_logs_usage/aggregated
Query parameters
fromstring required
Beginning of the requested time period (ISO 8601/RFC 3339 format, UTC.)
tostring required
End of the requested time period (ISO 8601/RFC 3339 format, UTC.)
group_bystring
Output data grouping.
Possible value:
- resource - Data is grouped by CDN resources.
resourceinteger
CDN resources IDs by that statistics data is grouped.
To request multiple values, use:
- &resource=1&resource=2
If CDN resource ID is not specified, data related to all CDN resources is returned.
flatboolean
The way the parameters are arranged in the response.
Possible values:
- true – Flat structure is used.
- false – Embedded structure is used (default.)
Response
Successful.
Example response
{
"resource": {
"1": {
"metrics": {
"raw_logs_usage": 1
}
}
}
}