View upload metrics

Returns aggregated metrics for log file uploads, including success or failure upload counts, upload latency, and the volume of data uploaded in the stream. Set the start and end dates to get metrics from a specific time range, and aggregationInterval to group data by time intervals.

Path Params
string
enum
required

Enum Defines the stream's log type: CDN, EdgeWorkers, Edge DNS, Global Traffic Management, or SIEM event logs for Application Security. For details, see Log types.

Allowed:
Query Params
date-time
required

Specifies the beginning of the time range for the metrics in the ISO 8601 format. Set this no more than seven days before the end date.

date-time
required

Specifies the end of the time range for the metrics in the ISO 8601 format. Set this no more than seven days after the start date.

integer

Filters down metrics for a specific stream, or groupId for all streams belonging to that group. If you omit both, the operation returns metrics for all streams that belong to your contract.

integer

Set the groupId to get metrics for all streams belonging to that group, or streamId for a specific stream. If you omit both, this operation returns metrics for all streams that belong to your contract.

string
enum
Defaults to HOUR

Enum Specifies the time interval for metrics aggregation, either 5 minutes, an hour, or 24 hours. If omitted, this operation returns the metrics grouped in hourly intervals.

Allowed:
Response

Language
URL
LoadingLoading…
Response
Choose an example:
application/json