GET /events/exclusionfilters
Use this method to return information about all event exclusion filters, regardless of whether they are currently enabled or disabled.
Authentication
Authentication with username and password is required.
Request URL
GET https://{management_server_IP}/events/exclusionfilters
Query parameters
None
Request body
None
Response codes
Code | Description | Comments |
---|---|---|
200 | OK | The request completed successfully. |
400 | Bad Request | A query parameter or request attribute is missing or not valid, or the operation is not supported. A descriptive error message is returned in the response body. |
401 | Unauthorized | The user cannot be authenticated. Authentication has not been provided or has failed. A descriptive error message is returned in the response body. |
500 | Internal Server Error | An internal error occurred. A descriptive error message is returned in the response body. |
Response body
Attributes | Type | Definition | ||
---|---|---|---|---|
description | String | Optional description for the exclusion filter | ||
eventFilter | Array | Event filter information | ||
fields | Object | Fields to filter on and the associated REGEX string to filter. The event fields must match one of the supported fields in the event class (see Filtering events). | ||
filterType | String | Type of filter. This can be one of the following values.
| ||
id | String | Unique ID assigned to the exclusion filter when it is configured | ||
name | String | User-defined name for the exclusion filter. This must be unique for all monitors. | ||
state | String | Current state of the exclusion filter. This can be one of the following values.
| ||
type | String | Event type. This can be one of the following values.
|
The following example is returned if the request is successful.
[{
"description": "A DHCP issued IP address was changed on eth0",
"eventFilter": {
"fields": [{
"field": "eventID",
"value": "FQXHMCR0001W"
}],
"filterType": "FIELDREGEXOR"
},
"id": "XFT:1",
"name": " z543oy0",
"state": "enabled",
"type": "event"
},
{
"description": "Connectivity to chassis 4p3cmm has been restored. UUID is
FFB657408BEB4161950704AB0ED3A84A.",
"eventFilter": {
"fields": [{
"field": "eventID",
"value": "FQXHMDM0004I"
},
{
"field": "sourceID",
"value": "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
}]
"filterType": "FIELDREGEXAND",
}, "id": "XFT:2",
"name": " 53sr900",
"state": "enabled",
"type": "event"
}]
Give documentation feedback