Retrieve drop filters
POST/v1/drop-filters/search
Returns all drop filters configured for the account, both active and inactive. Please ensure to change the region in the URL to match your account's region.
Request
Responses
- 200
successful operation
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
id string
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.
active boolean
If true
, the drop filter is active and logs that match the filter are dropped before indexing. If false
, the drop filter is disabled.
logType string
Filters for the log type.
fieldConditions object[]
Filters for an exact match of a field:value pair.
fieldName string
Exact field name in your Kibana mapping for the selected logType
.
value object
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
}
]
}
]
Loading...