Flow telemetry and streaming
Different views of the same network
Interface counters summarize total activity at a measurement point. Flow telemetry describes groups of packets using selected keys and statistics such as bytes, packets and time. A flow record is not a full packet capture and need not correspond to a complete application session. An exporter observes traffic and sends records to a collector.
NetFlow, IPFIX and sFlow
NetFlow is a family of Cisco flow-export formats; version 9 uses templates. IPFIX standardizes a template-based export protocol. sFlow combines sampled packet information with counter sampling. IPFIX may export sampled or unsampled observations depending on configuration. Check observation point, sampling scheme, template availability, timeouts and exporter loss before interpreting totals.
Compare rates and sampled estimates
In a fictional 10-second incident, an interface counter increases by 100 MB (decimal), while a flow estimator assigns 60 MB to backups in the same interval. The interface rate is 80 Mbit/s; the estimated backup share is 60% only if scopes and units match. Treat that percentage as an estimate, not exact billing evidence. A collector outage can reduce recorded flows without reducing real traffic.
100000000 * 8 / 10 = 80000000 bit/s60000000 / 100000000 = 0.60Streaming telemetry
gNMI is a gRPC-based management interface with structured paths and subscription operations. A STREAM subscription can request periodic SAMPLE updates or ON_CHANGE updates for supported paths; support depends on target and schema. An initial synchronization marker does not promise future delivery. Track timestamps, reconnects, dropped data and freshness; use mutually authenticated TLS and restrict read access.
Collect only what is needed
Flow keys may reveal user relationships and activities even without payloads; sampled packet headers may contain sensitive fields. Use synthetic data for learning, aggregate where possible, restrict collection and access, and set retention limits. When diagnosing an incident, align timestamps and compare counter trends, estimated flow contributors and service symptoms before assigning causation.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Flow telemetry and streaming Quiz
Interpret synthetic monitoring observations and explain their limitations.
What does a flow record normally describe?
Which protocol standardizes template-based flow export?
A matched interval has 50 MB total and estimated 15 MB backup traffic. What is its estimated share?
Which gNMI mode requests periodic updates inside a STREAM subscription?
Flow records disappear but interface counters keep growing. What is a reasonable next step?