List Alerts
get alert list.
Parameters
Parameter | Description |
---|---|
Fields | A comma delimited list of fields. Filters the response to only include the listed fields for each object. |
Filter | Filters the response according to the operator and value specified. Note that you can use * to match on more than one character. You can use the ‘.’ character to filter values within an object (e.g. custom properties), and multiple filters can be separated by a comma. Operators include: Greater than or equals: >: Less than or equals: <: Greater than: > Less than: < Does not equal: !: Equals: : Includes: ~ Does not include: !~ For example, filter=id>100 will return the results where the resource id is greater than 100. |
Offset | The number of results to offset the displayed results by. |
Size | The number of results to display. Max is 1000. |
Example Output
{
"total": 0,
"searchId": "string",
"items": [
{
"resourceId": 0,
"anomaly": true,
"instanceName": "string",
"monitorObjectId": 0,
"endEpoch": 0,
"rule": "string",
"threshold": "string",
"type": "string",
"startEpoch": 0,
"enableAnomalyAlertGeneration": "string",
"internalId": "string",
"ackComment": "string",
"monitorObjectName": "string",
"dataPointName": "string",
"instanceId": 0,
"dataPointId": 0,
"suppressDesc": "string",
"nextRecipient": 0,
"suppressor": "string",
"id": "string",
"detailMessage": {},
"ruleId": 0,
"tenant": "string",
"alertValue": "string",
"adAlert": true,
"ackedBy": "string",
"severity": 0,
"sdted": true,
"ackedEpoch": 0,
"chain": "string",
"SDT": {},
"subChainId": 0,
"enableAnomalyAlertSuppression": "string",
"receivedList": "string",
"monitorObjectType": "string",
"customColumns": {},
"acked": true,
"resourceTemplateType": "string",
"clearValue": "string",
"instanceDescription": "string",
"dependencyRoutingState": "string",
"monitorObjectGroups": {},
"dependencyRole": "string",
"chainId": 0,
"resourceTemplateId": 0,
"cleared": true,
"adAlertDesc": "string",
"resourceTemplateName": "string"
}
]
}
Workflow Library Example
List Alerts with Logicmonitor and Send Results Via Email