What you need to know
Preserve flow state and direction when calculating traffic totals from continuation and end records.
Potentially affected
Parsers and reports consuming Azure Virtual Network flow logs.
DSE recommendation
Test aggregation against a known flow sequence, retaining state and direction instead of treating the last record as a lifetime total.
Source facts
For Continuing and End flow states, Virtual Network flow-log byte and packet values cover the interval since the previous tuple record. Microsoft calculates a conversation total by adding those contributions, rather than treating the final record as the entire conversation.
A Begin record has no statistics. Sent and received counters are separate, and byte counts include packet headers as well as payload. These distinctions matter when defining the report’s total. Microsoft Learn.
Applicability
Review the parser’s flow identity, ordering, state handling, and direction labels. State whether the intended metric is one-way traffic, both directions, or application payload; do not silently treat those measurements as interchangeable.
DSE recommendation
DSE recommends a small documented fixture containing Begin, Continuing, and End records. Specify the expected contribution from each record and how duplicate or missing input is handled. Keep incomplete sequences visible in the report rather than inventing counters for absent intervals. Preserve the raw record reference for each aggregate.
Verification
Run the fixture through the actual ingestion and reporting path. Compare directional sums with the expected values, then repeat with a duplicated record, a missing continuation, and an empty Begin record. Confirm that the report distinguishes known totals from incomplete observations and does not equate wire bytes with payload size.
Official references
Microsoft Learn: Virtual Network Flow Logs. Source retrieved September 9, 2026.
Review the official source
Virtual Network Flow Logs - Azure Network Watcher | Microsoft Learn · Verified September 9, 2026
Need help applying this guidance safely?
DSE can help confirm applicability, protect service continuity, and validate the result across physical security and IT systems.
Talk with DSE