Metrics Get Edge Os Series

Metrics Get Edge Os Series

Gets flow metric time series data for the specified time interval by client OS. On success, this method returns an array of flow data in which each entry corresponds to a distinct OS on a client 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_FLOW_STATS undefined

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

Show optional properties

{
    "interval": {
        "start": "string"
    }
}
{
    "id": 0,
    "edgeId": 0,
    "enterpriseId": 0,
    "interval": {
        "end": "string",
        "start": "string"
    },
    "metrics": "basic_metrics Object",
    "maxSamples": 0,
    "sort": "basic_metric Object",
    "limit": 0,
    "os": [
        0
    ],
    "resolveOsNames": false
}
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.

integer
maxSamples
Optional

maxSamples

sort
Optional

sort

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

limit

array of integer
os
Optional

os

boolean
resolveOsNames
Optional

resolveOsNames

Responses
200

Request was successfully processed

Returns Array of metrics_get_edge_os_series_result_item of type(s) application/json
[
    "metrics_get_edge_os_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/getEdgeOsSeries