Deactivate a drop filter
POST/v1/drop-filters/:id/deactivate
Deactivates a drop filter identified by its ID. Please ensure to change the region in the URL to match your account's region.
Request
Path Parameters
Drop filter ID in the Logz.io database. You can run the /v1/drop-filters/search
endpoint to retrieve the IDs of all the drop filters in the account.
Responses
- 200
successful operation
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
Drop filter ID in the Logz.io database. You can run the /v1/drop-filters/search
endpoint to retrieve the IDs of all the drop filters in the account.
If true
, the drop filter is active and logs that match the filter are dropped before indexing. If false
, the drop filter is disabled.
Filters for the log type.
fieldConditions object[]
Filters for an exact match of a field:value pair.
Exact field name in your Kibana mapping for the selected logType
.
Exact field value. The filter looks for an exact value match of the entire string.
{
"id": "f54406c1-b4ad-5969-8542-f6a3e9df5c79",
"active": true,
"logType": "apache",
"fieldConditions": [
{
"fieldName": "response",
"value": 200
}
]
}