View flow logs for ULL traffic
This page describes support for ultra-low latency (ULL) unicast and multicast traffic in VPC Flow Logs.
VPC Flow Logs collects packets in ULL Virtual Private Cloud (VPC) networks to generate flow logs. Flow logs are aggregated by IP connection (5-tuple). You can view flow logs in Cloud Logging, and you can export logs to any destination that Cloud Logging export supports. These logs can be used for network monitoring, forensics, security analysis, and expense optimization.
For more information, see the VPC Flow Logs overview.
VPC Flow Logs records for ULL traffic
The following table summarizes the unique information included in VPC Flow Logs records for ULL unicast and multicast traffic, depending on the reporter of the flow and the type of traffic. The information in the table applies to ULL Compute Engine instances.
For a full list of fields in VPC Flow Logs records, see About VPC Flow Logs records.
| Flow reporter | Description of logs |
|---|---|
| ULL unicast source or destination instance |
VPC Flow Logs records include the following additional information:
For details, see Record format for ULL unicast. |
| ULL multicast consumer |
VPC Flow Logs records include the following additional information:
For details, see Record format for ULL multicast consumers. |
Record format for ULL unicast
The following table describes the unique fields and field format differences in VPC Flow Logs records for ULL unicast traffic.
For a given ULL unicast flow, VPC Flow Logs might generate several different flow log records for the same traffic:
One log record for successfully delivered packets. This record is generated by default. The only exceptions are when instance egress packet loss occurs, or in rare cases when 100% network packet loss occurs during the aggregation interval.
One or more log records for dropped packets, depending on the drop reason. These records are generated only if packet loss occurs.
For details about the fields in each log record, see the following table.
| Field | Field format | Field type: Base or optional metadata |
|---|---|---|
| disposition |
string
If the log represents packet loss, this field is populated with a value of DROPPED. Otherwise, this field isn't populated.
|
Base |
| drop_reason |
string
If the value of the disposition field is DROPPED,
this field is populated with one of the following values:
|
Base |
| one_way_network_latencies |
Latencies
If the disposition isn't populated,
meaning there is no packet loss, this field is populated with one-way network latency in milliseconds with nanosecond-level precision as measured during the aggregation interval. The latency measurement excludes time consumed by the application. If not populated, the
measurement isn't available.
|
Base |
| one_way_network_latency_jitter |
LatencyJitter
If the disposition isn't populated,
meaning there is no packet loss, this field is populated with one-way network jitter in milliseconds between the source and destination instance.
|
Base |
| rtt_msec | Not populated for ULL unicast traffic. | Base |
| round_trip_time | Not populated for ULL unicast traffic. | Base |
| bytes_sent |
int64
Populated as follows:
bytes_sent: 900, and one with bytes_sent: 100.
|
Base |
| packets_sent |
int64
Populated as follows:
|
Base |
Record format for ULL multicast consumers
The following table describes the unique fields and field format differences in VPC Flow Logs records for multicast traffic when the reporter of the flow is a ULL multicast consumer.
For a given multicast consumer flow, VPC Flow Logs generates up to two separate flow log records for the same traffic:
- One log record for successfully delivered packets. This record is generated by default, except in rare cases when 100% network packet loss occurs during the aggregation interval.
- One log record for dropped packets. This record is generated only if packet loss occurs.
For details about the fields in each log record, see the following table.
| Field | Field format | Field type: Base or optional metadata |
|---|---|---|
| disposition |
string
If the log represents packet loss, this field is populated with a value of DROPPED. Otherwise, this field isn't populated.
|
Base |
| drop_reason |
string
If the value of the disposition
field is DROPPED,
this field is populated with a value of LOST_IN_TRANSIT.
Otherwise, this field isn't populated.
|
Base |
| one_way_network_latencies |
Latencies
If the disposition isn't populated,
meaning there is no packet loss, this field is populated with one-way network latency in milliseconds with nanosecond-level precision as measured during the aggregation interval. The latency measurement excludes time consumed by the application. If not populated, the
measurement isn't available.
|
Base |
| rtt_msec | Not populated for ULL multicast traffic. | Base |
| round_trip_time | Not populated for ULL multicast traffic. | Base |
| bytes_sent |
int64
Populated as follows:
bytes_sent: 900, and one with bytes_sent: 100.
|
Base |
| packets_sent |
int64
Populated as follows:
|
Base |
| Source and destination metadata fields | ||
| src_multicast_group_consumer_activation |
MulticastGroupConsumerActivationDetails
If the destination of the flow is a multicast group IP address and the reporter of the flow is a multicast consumer, then this field is populated with multicast consumer association and group consumer activation details. |
Metadata |
Field format reference
This section provides a reference for field formats in flow log records.
For a full list of field formats in VPC Flow Logs records, see About VPC Flow Logs records.
Latencies field format
| Field | Type | Description |
|---|---|---|
| median_msec | double | The median latency as measured during the aggregation interval. |
LatencyJitter field format
| Field | Type | Description |
|---|---|---|
| median_msec | double | The median latency jitter. |
MulticastGroupDetails field format
| Field | Type | Description |
|---|---|---|
| project_id | string | The ID of the multicast administrator project. |
| location | string | The zone of the multicast producer. |
| name | string | The name of the multicast group range that contains the group IP address that traffic was sent to. |
| domain | string | The name of the multicast domain that contains the group range. |
MulticastGroupConsumerActivationDetails field format
| Field | Type | Description |
|---|---|---|
| project_id | string | The ID of the project that contains the multicast consumer VPC network. |
| location | string | The zone of the multicast consumer. |
| name | string | The name of the multicast group consumer activation that was created when the multicast consumer VPC network was activated for the group range. |
| domain_association | string | The name of the multicast consumer association between the multicast consumer VPC network and the domain. |
View flow logs
To view flow logs, do the following:
- If you haven't already, configure VPC Flow Logs. See Configure VPC Flow Logs in the VPC Flow Logs documentation.
- Follow the steps to access flow logs.