Add Search Based Alert Config
Add a new Search Based Alert Configuration (User Defined Alert Configuration).
Add a new Search Based Alert Configuration
{
"alert_name": "string",
"search_criteria": "string",
"generate_alert_criteria": "string",
"alert_type": "string",
"severity": "string",
"notification_settings": [
{
"type": "string",
"frequency": "string",
"notification_time": "string",
"receivers": [
"string"
]
}
]
}
Name of the Search based Alert Configuration.
The search query for the search-based alert configuration.
Notifications configured for alerts corresponding to this alert configuration.
Success
{
"entity_id": "string",
"alert_name": "string",
"enabled": false,
"search_criteria": "string",
"generate_alert_criteria": "string",
"alert_type": "string",
"severity": "string",
"notification_settings": [
{
"type": "string",
"frequency": "string",
"notification_time": "string",
"receivers": [
"string"
]
}
]
}
entity_id
Name of the Search based Alert Configuration.
Boolean value to depict if the Search based alert configuration is enabled.
The search query for the search-based alert configuration.
Notifications configured for alerts corresponding to this alert configuration.
Bad Request
{
"code": 0,
"message": "string",
"details": [
{
"code": 0,
"message": "string",
"target": [
"string"
]
}
]
}
code
message
Unauthorized
{
"code": 0,
"message": "string",
"details": [
{
"code": 0,
"message": "string",
"target": [
"string"
]
}
]
}
code
message
Forbidden
{
"code": 0,
"message": "string",
"details": [
{
"code": 0,
"message": "string",
"target": [
"string"
]
}
]
}
code
message
Internal Error
{
"code": 0,
"message": "string",
"details": [
{
"code": 0,
"message": "string",
"target": [
"string"
]
}
]
}
code
message