Queries DB for Number of Event Correlation Policy Sets (v2.0)
POST/v2.0/api/tenants/:tenant_id/eventcorrelationpolicysets/query
Queries the DB for limit number of event correlation policysets that match query parameters.
Request
Path Parameters
ID of the tenant.
- application/json
Body
Query Details for Event Correlation Policy
- Array [
- ]
aggregate Aggregate
The aggregate number of queried rules.
data AggregateData[]
The details of the aggregate data.
Value of the aggregate data.
View the aggregate date.
Field
The name of the query response.
Possible values: [max
, count
, min
, avg
, sum
]
Operator
QoS application aggregate statistics.
The unit.
The destination page.
The number of queried rules deleted for a time frame.
Group By
List the event state by ID.
Return the ID of a specified query in the current session.
The query limit.
The limit.
Retrieve information from a field.
List the fields to query.
The total number of query parameters.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
The actual count.
The deleted number.
The deleted IDs.
Description of the query. Max size = 256.
The ID.
Details of the next query.
The tenant ID.
Total number.
items EventCorrelationPolicySetQueryFilter[]
Event policy sets set to active.
Policy sets cloned from existing policy sets.
Description of the event policy set.
ID of the event policy set.
Name of the event policy set. Max 25 characters.
The order for the execution of the policy rule.
severity_priority_mapping SeverityPriorityMapping[]
Mapping of the priority and severity levels.
Possible values: [p1
, p2
, p3
, p4
, p5
, none
]
Priority specified for the rule. Range from Priority 1 (P1), through Priority 5 (P5).
Possible values: [major
, minor
, critical
]
Severity of the rule.
A information field that can be added to identify the event correlation policy rule. Maximum 10 unique tags of length 1024 each are allowed.
{
"count": 0,
"deleted_count": 0,
"deleted_ids": [
"string"
],
"id": "string",
"next_query": {},
"tenant_id": "string",
"total_count": 0,
"items": [
{
"active_policyset": true,
"clone_from": "string",
"id": "string",
"name": "string",
"policyrule_order": [
"string"
],
"severity_priority_mapping": [
{
"priority": "p1",
"severity": "major"
}
],
"tags": [
"string"
]
}
]
}
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": "BAD_REQUEST"
}
]
}
}