Tap common data
This documentation is for the Envoy v3 API.
As of Envoy v1.18 the v2 API has been removed and is no longer supported.
If you are upgrading from v2 API config you may wish to view the v2 API documentation:
data.tap.v3.Body
Wrapper for tapped body data. This includes HTTP request/response body, transport socket received and transmitted data, etc.
{
"as_bytes": "...",
"as_string": "...",
"truncated": "..."
}
as_bytes
(bytes) Body data as bytes. By default, tap body data will be present in this field, as the proto bytes type can contain any valid byte.
Only one of as_bytes, as_string may be set.
as_string
(string) Body data as string. This field is only used when the JSON_BODY_AS_STRING sink format type is selected. See the documentation for that option for why this is useful.
Only one of as_bytes, as_string may be set.
truncated
(bool) Specifies whether body data has been truncated to fit within the specified max_buffered_rx_bytes and max_buffered_tx_bytes settings.