Skip to content

Lesson 7 of 9 · 26m

Network Telemetry That Actually Helps at 2 A.M.

Choose flow, DNS, proxy, packet, and control-plane telemetry based on investigative questions rather than collecting everything because storage is cheap.

At 2 a.m., nobody cares that you capture everything. They care whether they can answer three questions quickly: what talked to what, was that normal, and where else did the same thing happen? Telemetry architecture is successful when those answers arrive before panic-driven rebuilding begins.

More data can make you slower. Full packet capture everywhere is often a compliance fantasy that produces storage bills and little investigative skill. Choose telemetry by question.

Match data sources to questions

question                              best starting source
which hosts communicated?             flow logs, firewall logs, connection events
which domain was requested?           resolver logs, passive DNS
which URL or SaaS action?             proxy logs, application logs, TLS-aware metadata
what exact bytes were exchanged?      targeted packet capture
who approved or changed access?       control-plane and identity logs
is this behavior rare?                baselines, asset inventory, peer comparison

Flow data tells you session shape: source, destination, bytes, duration, timestamps. DNS gives intent. Proxy logs give application-layer meaning for web traffic. Packet capture gives ground truth but scales poorly and carries privacy cost.

Zeek turns packets into evidence

Zeek is valuable because it converts raw traffic into protocol-aware logs. A small deployment might mirror traffic into Zeek and write logs like this:

conn.log     network connections and byte counts
dns.log      queries, answers, response codes
http.log     methods, hosts, URIs, status codes
ssl.log      TLS versions, certificates, server names
notice.log   detections and noteworthy events

The power is correlation. A TLS connection to a rare host becomes more meaningful when joined with the certificate issuer, prior DNS answer, endpoint process, and whether fifty other hosts made the same connection.

Example: hunting unusual egress

A first-pass query in a SIEM is often simple:

index=network sourcetype=proxy action=allowed
| stats count by src_host, dest_domain
| where count < 3
| join src_host [search index=assets | fields src_host, owner, criticality]

Rare is not malicious. Rare plus new, externally hosted, executable-related, or associated with a suspicious parent process is worth attention. The worst detections treat novelty as guilt.

Clocks and identity decide whether correlation works

If logs are off by minutes, incident reconstruction becomes interpretive dance. Enforce reliable time synchronization and record time zones explicitly. Correlate network events to identity carefully: source IP is not user identity. DHCP leases, VPN assignments, NAT translations, load balancers, and endpoint agents all sit between packet and person.

A useful investigation record preserves translation state:

10.20.4.117:51822 -> 172.217.14.206:443
vpn user: ari@example
device: lt-10492
egress public ip: 198.51.100.7
timestamp: 2026-03-04T02:18:11Z

Without that chain, you know a packet happened but not who operated it.

Packet capture is a scalpel

Use full packet capture narrowly: critical segments, short retention, triggered capture, or evidence collection during a declared incident. Encrypt or tightly control stored captures because they can contain credentials, personal data, and business secrets. In encrypted environments, endpoint telemetry often reveals more actionable process context than packet payloads.

Field notes

  • Flow records can miss short-lived or malformed traffic depending on exporter behavior and timeouts.
  • DNS logs become much less useful when applications use hard-coded resolvers or encrypted alternate paths.
  • Beware double NAT and proxy collapsing: dozens of clients may appear as one source.
  • Retention should reflect investigative need and legal constraints, not fear alone.
  • Test restore and search speed. Telemetry you cannot query under pressure is not operational telemetry.

Was this lesson helpful?

Sign in to rate