Get Radius Metrics (v2.0)
POST/sdwan/v2.0/api/monitor/aaa_metrics
List the radius metrics of eapol rx and tx messages. The start time, end time, and max datapoints attibutes are optional with at least one of them specified. All three attributes can not be specified, as the result will be ambiguous.
Request
- application/json
Body
Query request for getting aaametrics
- Array [
- ]
The end time to get the client metrics. If not specified, it is default to now. End times need to be specified in ISO8601 UTC format.
filter RadiusMetricsFilter
Filters according to the specifications.
The client mac address.
Possible values: [Ingress
, Egress
]
The direction of the traffic.
The element.
The configured interfaces.
The site.
Possible values: [10sec
, 1min
, 5min
, 1hour
, 1day
, 1month
]
Interval: Required(error = REQUIRED_PROPERTY: Schema check failed - {} is a required property)
The max data points.
metrics Metrics[]required
The details of the radius metrics.
Name: Required(error = REQUIRED_PROPERTY: Schema check failed - {} is a required property) Pattern(error = INVALID_FILTER: Schema check failed - Invalid value for param {}, regexp = ^[A-Za-z]+$)
Statistics: Required(error = REQUIRED_PROPERTY: Schema check failed - {} is a required property)
Unit: Required(error = REQUIRED_PROPERTY: Schema check failed - {} is a required property) Pattern(error = INVALID_FILTER: Schema check failed - Invalid value for param {}, regexp = ^[A-Za-z]+$)
The description of the client metrics. Maz size = 128.
The start time to get the client metrics. If not specified, it is default to epoch. Start times need to be specified in ISO8601 UTC format.
view View
View the active RADIUS server details.
Possible values: [ELEMENT
, INTERFACE
, CELLULAR_MODULE
, DIRECTION
, SITE
, APP
, PATH
, PATH_TYPE
, WANINTERFACE
, PRIORITY
, TRAFFIC_TYPE
, COMMON
, CLIENT_MAC_ADDRESS
, USER
, USER_EMAIL
, RESOLUTION_QUALITY
, None
]
The individual view values.
The summary of the view.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- Array [
- Array [
- ]
- ]
- ]
- ]
metrics MetricArray[]
The details of the radius metrics.
series Series[]
Series
data Data[]
Data
datapoints Datapoints[]
Datapoints
The date and time of the series.
The filter property ID.
Links
Ninetieth Percentile
The sites.
The values of the filter.
Statistics
The interval time.
The name.
Unit
View the active series details.
{
"metrics": [
{
"series": [
{
"data": [
{
"datapoints": [
{
"duration": "2024-07-29T15:51:28.071Z",
"filter_property_id": "string",
"links": [
"string"
],
"max_value_time": "2024-07-29T15:51:28.071Z",
"ninetieth_percentile": 0,
"sites": [
"string"
],
"value": 0
}
],
"statistics": {}
}
],
"interval": "string",
"name": "string",
"unit": "string",
"view": {}
}
]
}
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
The error code.
The error message.
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "INVALID_REQUEST_ERROR_0001"
},
{
"code": "SCHEMA_MISMATCH"
},
{
"code": "METRIC_NOT_SUPPORTED"
},
{
"code": "METRIC_UNIT_NOT_SUPPORTED"
},
{
"code": "UNSUPPORTED_FILTER_IN_VERSION"
},
{
"code": "UNSUPPORTED_FILTER_FOR_METRIC"
},
{
"code": "MISSING_INTERFACE_FILTER_PROPERTY"
},
{
"code": "MISSING_ELEMENT_FILTER_PROPERTY"
},
{
"code": "UNSUPPORTED_DIRECTION_FILTER"
},
{
"code": "DIRECTION_FILTER_EMPTY"
},
{
"code": "DIRECTION_VIEW_NOT_SUPPORTED"
},
{
"code": "MAX_DATAPOINTS_END_TIME"
}
]
}
}