PUT /events/exclusionfilters
Use this method to modify event exclusion filters after they are configured without requiring that they be deleted and re-added. When editing an exclusion filter, the ID of the updated exclusion filter is included in the response.
All attributes in the exclusion filter can be changed. For example, a monitor could be temporarily disabled and then enabled again at a later time.
Authentication
Authentication with username and password is required.
Request URL
PUT https://{management_server_IP}/events/exclusionfilters
Query parameters
None
Request body
| Attributes | Required / Optional | Type | Definition | |
|---|---|---|---|---|
| description | Optional | String | Optional description for the exclusion filter | |
| eventFilter | Required | Array | Event filter information | |
| fields | Optional | Object | Fields to filter on and the associated REGEX string to filter. The event field must match one of the supported fields in the event class (see Filtering events). | |
| filterType | Optional | String | Type of filter. This can be one of the following values:
| |
| id | Required | String | Unique ID assigned to the exclusion filter when it is configured | |
| name | Required | String | User-defined name for the exclusion filter. This must be unique for all monitors. | |
| state | Optional | String | Current state of the exclusion filter. This can be one of the following values.
| |
| type | Required | String | Event type. This can be one of the following values.
| |
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
If successful, response includes a JSON object that contains the ID for the exclusion filter along with other optional attributes.
Give documentation feedback