Before:
{
"timestamp": "2026-06-10T09:14:02.887Z",
"status": "error",
"service": "payment-processor",
"message": "Transaction failed for customer cust_38271",
"http.response.body": "{\"error\":\"card_declined\",\"tx_id\":\"TX-8847291\",\"amount\":249.99,\"currency\":\"USD\",\"customer_id\":\"cust_38271\",\"provider\":\"stripe\",\"retry_allowed\":false,\"gateway_ref\":\"gw-9182-xk\"}",
"tx_id": "TX-8847291",
"amount": 249.99,
"currency": "USD",
"error_code": "card_declined"
}
Exclude Attribute Processor
Create an Exclude Attribute Processor to remove the http.response.body attribute. The useful fields (tx_id, amount, currency, error_code) have already been extracted by an earlier Grok parser, so the full response body is no longer needed.
After processing:
{
"timestamp": "2026-06-10T09:14:02.887Z",
"status": "error",
"service": "payment-processor",
"message": "Transaction failed for customer cust_38271",
"tx_id": "TX-8847291",
"amount": 249.99,
"currency": "USD",
"error_code": "card_declined"
}
The http.response.body attribute is removed from the log before it reaches indexes, archives, or forwarding destinations.