Real time
Get real time services counter
Request
Definition
GET /api/v1/metrics/real_time/services
Headers
-
Authorization
requiredAuthentication token with privileges to view the resource.
Bearer {token}
Response
Status codes
Status code | Message |
---|---|
200 | "List of real time services counters" |
403 | "Forbidden" |
Body
- Attributes
- Example
-
data.counters.services
integerNumber of Domain Group in real time.
{
"data": {
"counters": {
"services": 1
}
},
"message": "List of real time services counters",
"status": "ok"
}
Retrieve real time alerts counter
Request
Definition
GET /api/v1/metrics/real_time/alerts
Headers
-
Authorization
requiredAuthentication token with privileges to view the resource.
Bearer {token}
Response
Status codes
Status code | Message |
---|---|
200 | "List of real time alerts counters" |
403 | "Forbidden" |
Body
- Attributes
- Example
-
data.counters.alerts
integerNumber of Alerts in real time.
{
"data": {
"counters": {
"alerts": 1
}
},
"message": "List of real time alerts counters",
"status": "ok"
}
Retrieve real time application rules counter
Request
Definition
GET /api/v1/metrics/real_time/rules/application
Headers
-
Authorization
requiredAuthentication token with privileges to view the resource.
Bearer {token}
Response
Status codes
Status code | Message |
---|---|
200 | "Real time rules counter" |
403 | "Forbidden" |
Body
- Attributes
- Example
-
data.counters.app_rules
integerNumber of application Rules in real time.
{
"data": {
"counters": {
"app_rules": 1
}
},
"message": "Real time rules counter",
"status": "ok"
}
Retrieve real time source rules counter
Request
Definition
GET /api/v1/metrics/real_time/rules/source
Headers
-
Authorization
requiredAuthentication token with privileges to view the resource.
Bearer {token}
Response
Status codes
Status code | Message |
---|---|
200 | "Real time rules counter" |
403 | "Forbidden" |
Body
- Attributes
- Example
-
data.counters.source_rules
integerNumber of source Rules in real time.
{
"data": {
"counters": {
"source_rules": 1
}
},
"message": "Real time rules counter",
"status": "ok"
}