Tap common data

data.tap.v3.Body

[data.tap.v3.Body proto]

Wrapper for tapped body data. This includes HTTP request/response body, transport socket received and transmitted data, etc.

  1. {
  2. "as_bytes": "...",
  3. "as_string": "...",
  4. "truncated": "..."
  5. }

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.