Metrics Get Edge Device Series

Metrics Get Edge Device Series

Gets flow metric time series data for the specified time interval by client device. On success, this method returns an array of flow data in which each entry corresponds to a distinct device. In the request body, the id and edgeId property names are interchangeable. The enterpriseId property is required when this method is invoked in the operator context.

Privileges required:

READ EDGE

VIEW_USER_IDENTIFIABLE_FLOW_STATS undefined

Request
URI
POST
https://{api_host}/portal/rest/metrics/getEdgeDeviceSeries
COPY
Request Body

Show optional properties

{
    "interval": {
        "start": "string"
    }
}
{
    "id": 0,
    "edgeId": 0,
    "enterpriseId": 0,
    "interval": {
        "end": "string",
        "start": "string"
    },
    "metrics": "basic_metrics Object",
    "sort": "basic_metric Object",
    "limit": 0,
    "maxSamples": 0,
    "devices": [
        "string"
    ]
}
integer
id
Optional

id

integer
edgeId
Optional

edgeId

integer
enterpriseId
Optional

enterpriseId

interval
Required

interval

metrics
Optional

A list of metrics to report. When omitted, this method returns all available metrics.

sort
Optional

sort

Possible values are : packetsRx, packetsTx, totalPackets, bytesRx, bytesTx, totalBytes,
integer
limit
Optional

limit

integer
maxSamples
Optional

maxSamples

array of string
devices
Optional

devices

Responses
200

Request was successfully processed

Returns Array of metrics_get_edge_device_series_result_item of type(s) application/json
[
    "metrics_get_edge_device_series_result_item Object"
]

400
Returns generic_400 of type(s) application/json
Operation doesn't return any data structure

500
Returns generic_500 of type(s) application/json
Operation doesn't return any data structure

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"interval:"object"}' https://{api_host}/portal/rest/metrics/getEdgeDeviceSeries