Metrics Get Edge App Series

Metrics Get Edge App Series

Gets flow metric time series data for the specified time interval by application. On success, this method returns an array of flow data in which each entry corresponds to a single application.

Privileges required:

READ EDGE

VIEW_FLOW_STATS undefined

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

Show optional properties

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

Alias for edgeId

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
Constraints: default: 10

limit

integer
maxSamples
Optional

maxSamples

array of string
applications
Optional

applications

boolean
resolveApplicationNames
Optional

Optionally resolves application names, instead of numeric identifiers.

Responses
200

Request was successfully processed

[
    {
        "name": 32,
        "series": [
            {
                "metric": "bytesTx",
                "startTime": "2020-01-24T18:10:06.336Z",
                "tickInterval": 225088,
                "data": [
                    3695,
                    7807
                ],
                "total": 11502,
                "min": 3695,
                "max": 7807
            }
        ]
    },
    {
        "name": "other",
        "series": [
            {
                "metric": "bytesTx",
                "startTime": "2020-01-24T18:10:06.336Z",
                "tickInterval": 225088,
                "data": [
                    5708429,
                    4547345
                ],
                "total": 10255774,
                "min": 187,
                "max": 2603551
            }
        ]
    }
]

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/getEdgeAppSeries