Join our Newsletter — 33% off our NHI Course
Home› Glossary› Cyber Security› NSG Flow Logs
Cyber Security

NSG Flow Logs

← Back to Glossary
By NHI Mgmt Group Updated November 25, 2026 Domain: Cyber Security

NSG Flow Logs are records of network traffic allowed or denied by a network security group. They capture source and destination addresses, ports, protocols and the decision made for each flow, which helps with traffic analysis, rule validation and incident investigation.

What NSG Flow Logs capture

NSG Flow Logs turn packet metadata into an auditable record of how traffic was handled by a network security group. Because they preserve the five-tuple style details and the allow or deny decision, they are useful for reconstructing connectivity paths, validating policy intent, and spotting unexpected flows without collecting full packet contents.

They are not a complete substitute for packet capture. The value is in the balance between visibility and scale, which is why flow logs are often used alongside broader network telemetry such as NetFlow and IPFIX Flow Telemetry Guide and Network Monitoring and Packet Capture Guide.

How NSG Flow Logs support security monitoring

In practice, NSG Flow Logs help defenders answer a simple question: what traffic was permitted, what was blocked, and between which endpoints? That makes them useful for rule validation, segmentation checks, and reviewing whether a policy change had the effect you expected. They also provide the raw material for detections that look for scanning, lateral movement, beaconing, or unusual east-west traffic patterns.

For Azure environments, these logs are especially valuable when combined with other VNet controls and log sources. The Azure Virtual Network Security Guide shows how NSGs, private endpoints, and flow logs fit into the broader network control plane, while the Azure VNet Flow Logs Guide explains the migration path and the traffic tuple fields analysts actually use.

Analysing flows for validation and investigation

Flow logs are most useful when you treat them as evidence, not just storage. For validation, compare observed flows against the intended reachability model and look for rules that are broader than necessary or never exercised. For investigations, use source, destination, port, protocol, and decision data to narrow the time window and scope before moving to deeper telemetry.

That same data can support graph-based or baseline-driven analysis. Resources such as AWS VPC Flow Logs Detection Guide and D3-NTCD Network Traffic Community Deviation show how flow records can be transformed into detections for abnormal peers, suspicious paths, and exfiltration-like patterns.

Operational limits and what they do not show

NSG Flow Logs expose enough metadata for strong operational visibility, but they still leave gaps. They do not show payload content, application intent, or everything that happened after a packet was allowed. They can also miss context when traffic is translated, aggregated, or routed through components that change how the original source and destination should be interpreted.

That is why teams usually pair flow logs with endpoint, DNS, proxy, or packet-level evidence when the question is not just “was this allowed?” but “what actually happened?” A broader control view, such as the one in the CIS Control 13 Network Monitoring and Defense Guide, helps place flow logs inside a detection and response workflow rather than treating them as a standalone answer.

Risk and Threat Considerations

Flow logs reduce blind spots, but they can also create a false sense of coverage if teams assume “logged” means “understood.” If retention is short, log storage is misprotected, or the environment is too large to baseline effectively, an attacker can still hide in allowed traffic, low-and-slow exfiltration, or permitted internal movement.

Failure mechanism: Defenders miss abuse when they rely on allow or deny records without enough surrounding context to distinguish routine east-west traffic from malicious reuse of normal network paths.

Impact: The result can be delayed containment, missed lateral movement, and weaker post-incident reconstruction, especially when logs are the only durable record of the path an attacker used.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST SP 800-53 Rev 5, CIS Controls v8 and NIST CSF 2.0 set the technical controls, while ISO/IEC 27001:2022 defines the regulatory obligations.

FrameworkControl / ReferenceRelevance
NIST SP 800-53 Rev 5AU-12 — Audit Record GenerationFlow logs are generated audit records for network events.
AU-6 — Audit Record Review, Analysis, and ReportingFlow logs support review and analysis of network access patterns.
Recommendation — Configure audit record generation to capture network flow decisions and preserve evidence for investigation. Review flow log output for anomalous connections, denied traffic, and policy violations.
CIS Controls v8CIS-13 — Network Monitoring and DefenseFlow logs are a core telemetry source for network monitoring and defense.
Recommendation — Centralize flow log monitoring to detect suspicious traffic patterns and validate segmentation.
NIST CSF 2.0DE.CM-01 — The network is monitored to detect potential cybersecurity eventsNSG Flow Logs directly support continuous network monitoring.
Recommendation — Use flow logs to monitor network communications and surface potential cybersecurity events.
ISO/IEC 27001:2022A.8.16 — Monitoring activitiesFlow logs are monitoring records used to observe and investigate network activity.
Recommendation — Use flow logs as part of monitored network activity and security event review.

Practitioner Guidance

What to watch for: Treat NSG Flow Logs as a policy and investigation source, not a complete sensor. Build review routines around rule changes, unexpected new peer pairs, repeated denies, and traffic that is permitted but unusual for the workload or subnet.

Practitioner takeaway: The highest-value use of NSG Flow Logs is not raw volume, it is disciplined comparison between intended access, observed access, and the exception cases that deserve deeper telemetry.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on November 25, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org