Get Search Based Alert Config
Get details of an existing Search Based Alert Configuration (User Defined Alert Configuration).
The Entity ID of object requestion information on
OK
{
"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"
],
"enabled": false
}
]
}
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.
The basis of raising of alerts. It can take a value SEARCH_RESULT_CHANGE or ZERO_SEARCH_RESULTS
The type of alert. It can take a value PROBLEM or CHANGE.
severity
Notifications configured for alerts corresponding to this alert configuration.
Bad Request
"ApiError Object"
code
message
details
Unauthorized
"ApiError Object"
code
message
details
Not Found
"ApiError Object"
code
message
details
Internal Error
curl -H 'Authorization: <value>' https://{api_host}/api/ni/settings/alerts/search-based-alerts/{id}