Example
- Binary data
- Truncated JSON
- Before
- After
Recommended enforcement
Enforce at edge
Drop malformed logs before they reach your provider. No point paying to store garbage.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Binary blobs, corrupted output, unparseable logs
{
"@timestamp": "2024-01-15T10:30:00Z",
"service.name": "image-processor",
"body": "\u0089PNG\r\n\u001a\n\u0000\u0000\u0000\rIHDR..."
}
id: drop-binary-data-image-processor
name: Drop binary data from image-processor
description: PNG image data routed to log pipeline. Not parseable, not queryable.
log:
match:
- resource_attribute: service.name
exact: image-processor
- log_field: body
regex: "^\\x89PNG\\r\\n"
keep: none
{
"@timestamp": "2024-01-15T10:30:00Z",
"service.name": "api-service",
"body": "{\"user_id\": \"usr_123\", \"event\": \"login\", \"metadata\": {\"ip\":"
}
id: drop-truncated-json-api-service
name: Drop truncated JSON from api-service
description: Incomplete JSON from buffer overflow or crash. Unparseable.
log:
match:
- resource_attribute: service.name
exact: api-service
- log_field: body
malformed: json
keep: none