Network traffic is the data moving between devices, and bandwidth is how much can move at once.
This guide is for anyone starting out in IT or security who wants to read traffic charts and logs with confidence. You do not need to know how routers work inside.
In short
- Devices and programs send data in small pieces. Defenders group those pieces into flows.
- Flow records show who talked to whom, on which port, and how much data moved. They do not show what was said.
- A baseline is a picture of normal traffic. Odd behaviour stands out against it.
- Big surprise uploads and floods of incoming traffic are two patterns worth a closer look.
What you will learn
- Explain the difference between traffic, flows and bandwidth.
- Read a simple flow record and say what each field means.
- Describe how a baseline helps defenders spot odd behaviour.
- Name two traffic patterns that often point to trouble.
- Packet
- a small piece of data sent across a network.
- Flow
- a group of packets between the same two points over a time window.
- Bandwidth
- how much data a link can carry each second.
What is network traffic?
Think of a motorway. Each car is a packet of data. The number of lanes is the bandwidth. A traffic camera that counts cars between two towns, without looking inside them, is like a flow log.
A standard for sharing flow data defines a flow as a set of packets passing one point in the network during a certain time [1]. Devices called exporters send flow records, and collectors receive them [1].
Cloud platforms offer the same idea. Amazon Web Services describes its flow logs as a way to capture information about the IP traffic going to and from network interfaces [2].
Where the comparison stops working: cars on a motorway are visible to anyone. Network traffic is invisible unless you switch on logging, and much of it is encrypted, so you mostly see the outside of the "car".
If you are new to addresses and ports, start with Networking Fundamentals for Beginners. This page builds on it.
Why does it matter?
Most attacks have to use the network at some point. Data has to leave, or commands have to arrive. Knowing what normal traffic looks like makes those moments easier to spot.
If you work on a help desk
What could happen: "the internet is slow" turns out to be a machine sending large amounts of data out.
Check this: ask which device is using the most bandwidth, and whether that is normal for it.
If you are new to a security team
What could happen: an alert fires and you cannot tell if the traffic is odd, because nobody knows what normal is.
Check this: find out whether flow logs are switched on and kept long enough to build a baseline.
If you look after cloud systems
What could happen: an automated service or AI agent starts talking to a new place on the internet, and nobody notices.
Check this: list where each service normally connects, and watch for new destinations.
What does it look like?
Here is a made-up flow record, laid out like a cloud flow log. Each field is explained below.
Example only. All values are made up.
srcaddr dstaddr dstport protocol bytes action 10.0.0.15 192.0.2.10 443 6 4200 ACCEPT (1) 10.0.0.15 198.51.100.7 443 6 0000000000 ACCEPT (2) 203.0.113.9 10.0.0.20 22 6 60 REJECT (3)
- A small, normal web request from an inside machine to an outside server on port 443.
- In a real file, this line would contain a byte count. A very large upload to a new address is worth a closer look.
- An outside address tried to reach a remote login port and was blocked.
Why this is risky: without a baseline you cannot tell whether line 2 is a normal backup or data being stolen.
The safer way: keep flow logs, learn each machine's usual destinations and volumes, and check anything far outside them.
The default cloud record holds addresses, ports and the protocol. It also holds packet and byte counts, start and end times, and whether the traffic was let through [3]. None of these fields carry the message content.
How does it work?
- Data is split into packets. Each one carries a source address, a destination address and a port.
- Packets are grouped into flows. A router, firewall or cloud service counts them and writes a summary record.
- Records go to a store. Cloud flow logs can be sent to log and storage services for later search [2].
- A baseline is built. Over weeks, you learn which machines talk to which places, at what times and in what amounts.
- Odd flows are checked. A flow far from the baseline, such as a big upload at 3am, gets a closer look.

Two patterns are worth knowing. The first is a surprise outbound transfer. MITRE ATT&CK describes attackers stealing data over a different protocol from their main channel, such as FTP, DNS or HTTPS [4]. A sudden large upload to a new place can be a sign of this.
The second is a flood of incoming traffic. ATT&CK explains that a network denial of service happens when an attacker sends so much traffic that the bandwidth of the connection runs out [5]. Normal users then cannot get through.
Turning on flow logs does not slow your traffic down in the cloud. Amazon notes that flow log data is collected outside the path of your network traffic [2].
A worked example
This story is made up to show the idea.
Kofi Castell has just joined the IT team at a small design firm. A designer says the office internet has been slow every night this week. Kofi wants to find out why before he guesses.
He opens the firewall's traffic report. Most nights the office sends a few gigabytes out, mostly the planned backup to the firm's cloud storage. This week one laptop has sent far more than that, every night, after midnight.
Kofi looks at the flow records for that laptop. The uploads go to an address the firm has never used before, on port 443. He cannot see what is inside, because the traffic is encrypted.
He does not jump to conclusions. He asks the laptop's owner, Quinn Dube, whether she set anything up. Quinn says she installed a free file sync tool to share large videos with a client.
Kofi checks with his manager. The tool is not approved, and the client files are confidential. They remove it, move the sharing to the firm's approved storage, and write down the new normal for Quinn's laptop.
The slow nights stop. More importantly, Kofi now has a rough baseline for the office. Next time a machine sends far more data than usual, he will spot it faster.
Myths and mistakes
| What people think | What is true |
|---|---|
| Flow logs record everything people send. | Flow records hold addresses, ports, counts and times, not the content of messages.[3] |
| Encrypted traffic tells defenders nothing. | You still see who talked to whom, when and how much. That is often enough to spot odd behaviour. |
| High bandwidth use always means an attack. | Backups, updates and video calls use a lot too. Compare with the baseline before you worry. |
| A baseline is set once and done. | Normal changes as people, tools and services change. Review it often. |
| Only people make network traffic. | Services, scripts and AI agents make much of it. They need baselines too. |
What can I do this week?
- Find out whether your firewall or cloud account keeps flow logs, and for how long.
- Pick one server and write down where it normally connects and how much data it moves.
- Look at a traffic chart for last week and find the busiest hour. Can you explain it?
- Read Network Detection and Response for Beginners to see how tools automate this.
Checklist
- I can explain the difference between a packet, a flow and bandwidth.
- I know flow records show metadata, not message content.
- I know where our flow logs are kept and how long they last.
- I have a rough baseline for at least one important system.
- I check large or new outbound transfers against that baseline.
- I know a flood of incoming traffic can use up bandwidth.
- I include services and AI agents when I think about normal traffic.
Common questions
What is the difference between bandwidth and throughput?
Bandwidth is how much data a link could carry each second. Throughput is how much actually moves. A link with lots of bandwidth can still have low throughput if something along the way is slow or busy.
Do I need special tools to see network traffic?
Not to start. Most firewalls and home routers have a traffic report, and cloud platforms offer flow logs. Dedicated network detection tools help once you have many systems, because they build baselines and raise alerts for you.
Can flow logs show what was stolen?
No. Flow logs show that data moved, where it went and roughly how much. They do not show the content. To learn what was taken, teams combine flow logs with logs from the systems that held the data.
How long does it take to build a baseline?
There is no fixed rule. A few weeks of data usually covers normal daily and weekly cycles, such as backups and month-end work. Keep updating it, because what counts as normal changes over time.
Why do AI agents matter for traffic?
AI agents and other automated services call outside tools and services on their own. Each one has its own normal set of destinations. A new destination for an agent can be a sign that it was misused or misconfigured.
Where next?
Ready for the detail? Read the practitioner guide: Network Traffic Baselining Guide. It covers how teams build, tune and use baselines for detection.
Also useful:
- Bot vs AI Agent Traffic Management Guide
- Network Detection and Response for Beginners
- AWS VPC Flow Logs Detection Guide
- Network Ports and Protocols for Beginners
Related NHI Mgmt Group resources: Networking Fundamentals for Beginners, Bots and Bot Traffic for Beginners and Network Security for Beginners.
Key terms
- Network flow
- A set of packets passing a point in the network during a time interval, grouped by shared details such as addresses and ports.
- Flow log
- A record of network flows: who talked to whom, on which port, and how much data moved.
- Bandwidth
- How much data a link can carry each second.
- Throughput
- How much data actually moves across a link in a given time.
- Network baseline
- A record of what normal traffic looks like for a network, used to spot changes.
- Data exfiltration
- Moving data out of an organisation without permission.
- Metadata
- Data about data, such as addresses, times and sizes, rather than the content itself.
Sources and further reading
- IETF, "RFC 7011: Specification of the IP Flow Information Export (IPFIX) Protocol for the Exchange of Flow Information", Internet Standard, September 2013. https://www.rfc-editor.org/rfc/rfc7011 (accessed 1 Dec 2026).
- Amazon Web Services, "Logging IP traffic using VPC Flow Logs", Amazon VPC User Guide. https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html (accessed 1 Dec 2026).
- Amazon Web Services, "Flow log records", Amazon VPC User Guide. https://docs.aws.amazon.com/vpc/latest/userguide/flow-log-records.html (accessed 1 Dec 2026).
- MITRE ATT&CK, "Exfiltration Over Alternative Protocol (T1048)". https://attack.mitre.org/techniques/T1048/ (accessed 1 Dec 2026).
- MITRE ATT&CK, "Network Denial of Service (T1498)". https://attack.mitre.org/techniques/T1498/ (accessed 1 Dec 2026).