Cloud flow logs show network activity that a provider records for selected resources. A row may give addresses and ports, packet and byte counts, a time interval, and an allow or deny decision. The meaning of each field comes from the specific provider, logging product, and installed log format.
If a row shows allowed traffic, the observation applies to the resource, direction and interval in that row. A workload, another policy layer, and the application may each have different outcomes. Missing rows also need interpretation. A resource might be outside the subscription, a traffic class might be excluded, or the provider may report an incomplete interval.
Key terms
- Network interface
- The cloud attachment where traffic can be observed. Use its historical association and direction to identify the source's visibility.
- Aggregation interval
- The window during which a provider can combine packet observations for a flow. It limits what the record says about individual packets.
- Log status
- A provider field indicating collection state for a record or interval. Read it according to the service's documented reporting semantics.
- Traffic selection
- A rule governing which traffic the logging configuration includes, such as accepted, rejected or both.
- Coverage window
- The time span in which a particular interface and traffic class were eligible for observation and the relevant records were available.
- Packet-level address
- An address reported for the packet under the provider's field definition. It may differ from an interface-related address at an intermediary.
More key terms (3)
- Flow direction
- The ingress or egress direction relative to the identified resource. It anchors the interpretation of endpoints and policy actions.
- Aggregated TCP flags
- A combined representation of supported flags observed during a flow interval. It gives evidence of flags within that scope without retaining their sequence.
- Collection exclusion
- A traffic category omitted by design. The absence of its rows has limited value for deciding whether that traffic occurred.
Identify the Resource That Could See the Traffic
Start with the account or project, network, subnet and interface associated with the activity. A gateway, workload interface and transit connection have different views. A workload rebuilt under the same name may have a new interface identifier. Reconstruct which attachment and addresses existed during the period under review.
Check the collection configuration as it existed then. A log enabled for one interface does not describe adjacent interfaces. A subnet-wide or network-wide policy can cover several interfaces, and a directly configured subscription can yield overlapping records. Record the resource selector and the point at which the subscription took effect.
List traffic categories and directions each applicable subscription captures. A rejected-traffic-only stream offers evidence of denials at that source. Evidence about allowed traffic requires an applicable stream or another observation. This distinction matters when diagnosing one direction of an exchange that included both an inbound request and an outbound response.
Read Fields Before Connecting Rows
Confirm the record format and version. Optional fields may distinguish packet-level addresses from addresses associated with the reporting interface. On Amazon Virtual Private Cloud (VPC) Flow Logs, for example, the primary interface address can appear in a source or destination field for some traffic even when the original packet address differs. AWS Flow Log Limitations
Interpret action alongside the reporting point and direction. An accepted inbound flow means the traffic passed the relevant filtering at that point. A rejected return flow can explain why the initiating system saw no response. Consider the forward and return paths separately, especially when policy rules evaluate them independently.
An aggregate is a set of observations for a time interval. Two rows that share start and end values can summarize different traffic directions or several packets. Their overlap alone gives no packet-by-packet ordering. Compare flags, counts and other context at the resolution these fields can support.
Distinguish Collection Gaps and Traffic Silence
Read status fields before interpreting empty address and counter values. In the AWS default format, NODATA identifies an interval with no recorded data for the applicable interface. SKIPDATA identifies an interval in which records were skipped. A skipped interval may contain traffic missing from the delivered rows.
Check retention, available files and delivery delays for the relevant destination. A gap in the archive may reflect an expired object, an unavailable export, or an incomplete collection. Keep the cause unresolved when the available audit or service records fail to distinguish these cases.
Some services exclude selected traffic by design. AWS documents exclusions such as Dynamic Host Configuration Protocol (DHCP) traffic and queries to its supplied Domain Name System (DNS) server. Ask whether the resource, direction, and traffic class were eligible for collection before using the absence of a row to support a conclusion. AWS Flow Log Limitations
Use Policy and Endpoint Records to Confirm Outcomes
A flow decision and an application outcome answer different questions. Use period-valid policy configurations to assess which rule could explain a recorded denial. Use authorized workload or service logs to test whether an allowed flow reached a listener, completed authentication, or produced an application action.
A strong coverage note identifies the interfaces, interval, and relevant subscriptions. Distinguish portions with records, portions with an explicit gap status, and portions outside the selected collection. Include actions and packet counts where meaningful, and retain the underlying file or export position.
Phrase a negative finding in terms of the coverage you verified. If a failed health check falls in an interval with skipped flow records, the application health log may still support the failure. The flow archive cannot supply a complete account of packet activity for that interval.
Track Changes in Cloud Inventory
Ephemeral workloads can acquire and release addresses inside one incident window. Load balancers can replace their backing interfaces, and a service can expand across subnets. Build a small history of the relevant resource and interface identifiers from authorized inventory or configuration records. Compare those identifiers to the interface and account fields in the flow logs.
If an interface changed during the period, split the coverage assessment at the change. One time segment may have the original interface logged and another may refer to the replacement. A query that uses the current address can miss either segment or include an unrelated workload now using it. Record the mappings behind the query so someone can rerun it.
Compare Sampled Counts by Reporting Point
In Google Cloud Virtual Private Cloud (VPC) Flow Logs, check reporter before comparing two records. For virtual machines, SRC and DEST indicate which side reported traffic for the listed flow. Gateway records use their own reporter values. Preserve the reporter, project and resource with each row. Google Cloud describes bytes_sent and packets_sent as estimates for the flow. Google Cloud Flow Log Record Fields
Primary packet sampling varies with the load at the reporting resource. Google Cloud can also apply a secondary sampling rate to the aggregated records. Setting the secondary rate to retain all records leaves primary packet sampling in place. With ordinary packet sampling, a brief exchange can be missing and two reporters can estimate different totals for the same listed flow. Google Cloud Flow Log Sampling and Processing
Hypothetical practice. For overlapping intervals and one directional tuple, a source reporter estimates 11,000 bytes and a destination reporter estimates 9,000. Keep the values as two observations. The difference alone gives no measured loss amount and the sum would risk counting the same activity twice. For a loss claim, seek compatible packet observations on either side of the path. See resolving network sensor disagreement.
Treat Aggregation Times as Search Bounds
In Amazon VPC Flow Logs, start and end describe the first and last packet observations within the aggregation interval. AWS documents timing differences of up to 60 seconds relative to particular interface events. Read the field notes for the applicable direction and field before widening a search for endpoint records. The configured aggregation interval governs which packets can be grouped together. AWS Flow Log Timing and Aggregation Fields
Hypothetical practice. A workload logs sending a health check at 12:01:20 UTC. Two outbound flow records share its tuple. The first ends at 12:01:25. The second starts at 12:01:30, ten seconds after the workload's timestamp. AWS allows start to lag transmission, so excluding the second row by its raw start would be premature. A matched connection record or packet trace could help resolve the event.
Store the original query window beside any expanded window. If an expanded search crosses a change in interface ownership or collection policy, check the applicable inventory and settings for both intervals. An expanded search recovers candidates, while the documented identity and observation point decide whether those candidates belong in the finding.
Compare Interface Addresses With Packet Address Fields
In a customized Amazon Virtual Private Cloud (VPC) flow record, srcaddr and dstaddr can describe an interface address in the traffic direction. The pkt-srcaddr and pkt-dstaddr fields describe packet-level source and destination addresses. They can differ from their interface-related counterparts when an intermediary such as a NAT gateway is involved. Start with interface-id and flow-direction, then compare both pairs. Identify whether the extra packet fields were actually requested in the historical log format. AWS Flow Log Record Fields
Hypothetical practice. An authorized export records egress on a gateway interface. Its srcaddr identifies the interface address while pkt-srcaddr shows the original workload address for the logged traffic. The destination fields agree. A second row on another interface has the workload address in its source field.
The two records are compatible with traffic passing through the gateway. Comparable times, ports and protocol help connect the observations. A packet address in the first row alone cannot identify an application process or account.
Retain each field with its original name in the evidence table. An examiner who reduces both rows to generic source and destination columns loses the information that explains the apparent change. If a translation claim depends on a rewritten transport port, find a record that gives the mapping and its applicable interval. NAT Records and Address Attribution
Read Aggregated Flags as a Set of Observations
The Amazon VPC tcp-flags field can combine supported Transmission Control Protocol (TCP) flags observed over an aggregation interval. For example, the value 3 can represent FIN with numeric value 1 and SYN with value 2 in the applicable record. The field does not preserve the order or packet count attached to each flag.
AWS also documents which flags the field reports and how an acknowledgment accompanying a supported flag can be represented. Read the provider's encoding before comparing a flow value with individual frames. AWS TCP Flag Record Examples
Hypothetical practice. One accepted egress row has flags value 3. A reverse ingress row has value 18, the SYN and ACK combination. The rows show that the reporting interface recorded the listed flag information for their scopes. They leave open whether both rows belong to one connection attempt when identical tuples were reused during the aggregation windows. They also leave the detailed acknowledgment sequence unavailable.
A sender's FIN can signal an intention to close its sending side. An orderly shutdown claim requires the corresponding transport observations in context, and a successful transaction requires a separate application result. For an authorized examination, use the flow fields to locate a packet or endpoint record that can answer the more specific question. TCP Connections and UDP Exchanges
Check Documented Exclusions Before Calling a Service Silent
Flow logging has coverage rules as well as collection gaps. AWS lists several traffic types excluded from VPC Flow Logs, including instance traffic to the Amazon DNS server and DHCP traffic. A healthy retained log covering an interface can still omit the traffic class named in the question. Distinguish this designed exclusion from a route outside the logged resource, an export that skipped records or a historical configuration that selected a different action. AWS VPC Flow Log Limitations
Hypothetical practice. A scheduled audit asks whether a workload using the Amazon-provided resolver attempted to resolve an internal service name. The archived interface flow records show normal collection and no corresponding resolver row. Under the documented exclusion the result is a coverage limit. The investigation needs an authorized resolver or application observation relevant to that request. A flow row for a different, customer-operated resolver would concern another endpoint and cannot establish which service handled this lookup.
Write the coverage question with the traffic class, resource and interval before searching. Then preserve the historical filter or subscription and the relevant provider documentation. That record helps a reader distinguish a source incapable of answering the question from a source capable of observing a targeted event with no matching row in the stored interval.