Join our Newsletter — 33% off our NHI Course
Home› Guides› Zeek Logs Cheat Sheet: Fields and Hunting Pivots…
Template SOC & Detection Engineering

Zeek Logs Cheat Sheet: Fields and Hunting Pivots for conn, dns, http and ssl

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 27 November 2026 14 min read
On this page

Zeek writes dozens of fields per connection, and analysts under time pressure waste minutes working out which field answers which question. This cheat sheet lists the fields in conn.log, dns.log, http.log and ssl.log that matter most for investigation and hunting, what each value means, and the pivots each log supports. Field names and meanings are taken from the Zeek 9.0.1 script sources (the latest release when checked on 26 November 2026), and fields that depend on an optional policy script or a third-party package are marked. It is for SOC analysts and threat hunters who already run Zeek. For deployment, sensor placement and SIEM integration, see the Zeek Network Monitoring Guide.

This is an independent guide from NHI Mgmt Group, based on the Zeek Project's public documentation as of November 2026. It is not sponsored or reviewed by the Zeek Project. Product features change, so confirm settings against the Zeek Project's current documentation.

Key takeaways

  • Start every investigation in conn.log. It has one record per connection, and its uid appears in every protocol log that connection produced.
  • conn_state and history tell you how a connection behaved. S0, REJ and RSTOS0 point to scanning or dead services; SF means a normal open and close.
  • Some useful fields are not logged by default. Certificate subject and issuer left ssl.log in Zeek 4.1, and the extended TLS fields need the ssl-log-ext policy script.
  • JA3 and JA4 are packages, not core Zeek. Fingerprint fields appear only after you install a package, and most of JA4+ carries its own licence.
  • Date your field list. Fields are added, moved and renamed between Zeek releases, so record the version your sensors run next to every saved query.

How to use this template

  1. Confirm your version: run zeek --version on each sensor and write it in the version box below. If you run an older release, check the field against that release's script source before relying on it.
  2. Confirm loaded scripts: the default local.zeek in 9.0.1 loads protocols/ssl/validate-certs, protocols/conn/known-services and frameworks/files/hash-all-files among others. Fields from scripts you have not loaded will be empty or absent.
  3. Map field names to your SIEM: nested fields such as id.orig_h are often flattened or renamed by collectors. Fill in the "Your SIEM field" column once, then share it with the team.
  4. Use the pivots as hypotheses, not verdicts: each pivot finds candidates. Confirm with the joined logs (see "Joining logs with uid") and with endpoint or identity data.
  5. Review twice a year and after each Zeek upgrade, using the release NEWS file.
RecordValue
Zeek version on sensors[e.g. 9.0.1]
Log format[TSV / JSON]
Site::local_nets defined[Yes / No: local_orig and local_resp are empty without it]
Packages installed[e.g. JA4+, Community ID]
Last reviewed[Date, owner]

conn.log fields and pivots

Every TCP, UDP and ICMP flow Zeek sees gets one conn.log record, written when the connection ends or times out. The 9.0.1 defaults are 5 minutes of inactivity for TCP and 1 minute for UDP and ICMP (tcp_inactivity_timeout, udp_inactivity_timeout), so a long-lived session may appear as a single record written hours after it began.

FieldMeaningYour SIEM field
tsTime of the first packet[ ]
uidUnique connection identifier, shared with protocol logs[ ]
id.orig_h, id.orig_p, id.resp_h, id.resp_pOriginator and responder address and port. Originator is the side Zeek believes started the connection[ ]
protoTransport protocol (tcp, udp, icmp)[ ]
serviceComma-separated list of protocols Zeek confirmed by inspecting content, independent of port[ ]
durationHow long the connection lasted[ ]
orig_bytes, resp_bytesPayload bytes sent by each side. For TCP taken from sequence numbers, so can be inaccurate for very large connections[ ]
conn_stateSummary state of the connection (table below)[ ]
local_orig, local_respT if that side is inside Site::local_nets; empty if local_nets is undefined[ ]
missed_bytesBytes lost in content gaps, a sign of packet loss at the sensor[ ]
historyLetter-by-letter record of packet events (key letters below)[ ]
orig_pkts, resp_pkts, orig_ip_bytes, resp_ip_bytesPacket counts and IP-level bytes per side[ ]
tunnel_parentsuid values of any tunnel carrying this connection[ ]
community_idCross-tool flow hash. Only with the policy/protocols/conn/community-id-logging script[ ]

conn_state values

ValueMeaning (Zeek source)Typical reading
S0Connection attempt seen, no replyScanning, dead host, or egress blocked upstream
S1Established, not terminatedStill open when logged; no byte counts
SFNormal establishment and terminationCompleted session, the baseline case
REJConnection attempt rejectedClosed port; many REJ from one source suggests a port scan
S2Established, close attempt by originator seen, no reply from responderHalf-closed session
S3Established, close attempt by responder seen, no reply from originatorHalf-closed session
RSTOEstablished, originator aborted with RSTClient gave up or was killed
RSTRResponder sent a RSTServer or middlebox reset
RSTOS0Originator sent SYN then RST, no SYN-ACK seenCommon with some scanners
RSTRHResponder sent SYN-ACK then RST, no SYN seen from originatorAsymmetric capture or backscatter
SHOriginator sent SYN then FIN, no SYN-ACK seenHalf-open probe
SHRResponder sent SYN-ACK then FIN, no SYN seenAsymmetric capture
OTHNo SYN seen, midstream traffic onlySensor started mid-session, or routing asymmetry

history letters: s = SYN without ACK, h = SYN-ACK, a = pure ACK, d = data, f = FIN, r = RST, t = retransmitted payload, g = content gap, w = zero window, c = bad checksum, ^ = direction flipped by Zeek's heuristic. Upper case means the originator sent it, lower case the responder. So ShADadFf is a clean handshake, data both ways and a clean close.

conn.log hunting pivots

  • Long connections: sort by duration for connections from internal hosts to external addresses. Check against known VPN, streaming and backup services. Relevant to T1071.001 Web Protocols and T1572 Protocol Tunneling.
  • Beaconing: group by id.orig_h, id.resp_h and id.resp_p, then look for regular intervals between ts values with similar orig_bytes. See the Beaconing and C2 Detection Guide.
  • Upload-heavy flows: orig_bytes much larger than resp_bytes to an external responder is a starting point for T1048 Exfiltration Over Alternative Protocol and T1041 Exfiltration Over C2 Channel.
  • Service and port mismatch: service is set from content, not port, so ssl on a port other than 443, or http on a high port, is a quick check for T1571 Non-Standard Port.
  • Scanning: one id.orig_h with many distinct id.resp_h or id.resp_p and conn_state S0, REJ or RSTOS0 suggests T1046 Network Service Discovery.
  • Sensor health: rising missed_bytes or many OTH records means capture loss; fix the sensor before trusting any negative result.

dns.log fields and pivots

FieldMeaningYour SIEM field
uid, id.*Connection link and endpoints. id.orig_h is the client or resolver that asked[ ]
protoudp or tcp. Large volumes of DNS over TCP are worth a look[ ]
trans_id16-bit DNS transaction ID matching query to reply[ ]
rttTime between request and the start of the answer[ ]
queryDomain name queried[ ]
qtype, qtype_nameRecord type, e.g. A, AAAA, TXT, NULL, CNAME[ ]
rcode, rcode_nameResponse code. Code 3 is NXDOMAIN, non-existent domain[ ]
AA, TC, RD, RAAuthoritative answer, truncated, recursion desired, recursion available flags[ ]
answers, TTLsResource records returned and their cache lifetimes[ ]
rejectedT if the server rejected the query[ ]
opcode, opcode_nameQuery operation, normally standard query[ ]

dns.log hunting pivots

  • NXDOMAIN volume: count rcode_name NXDOMAIN per id.orig_h per hour. A host producing many failures for random-looking names is a lead for T1568.002 Domain Generation Algorithms.
  • Long or high-entropy query names: unusually long labels under one parent domain, often with qtype TXT or NULL, are a lead for T1071.004 DNS used as a command or tunnel channel.
  • Direct-to-internet DNS: clients whose id.resp_h is an external address rather than your resolvers have bypassed resolver controls and logging.
  • Very low TTLs with changing answers: short TTLs and many different addresses for one name can indicate fast-flux infrastructure; check against content delivery networks first.
  • First-seen domains: keep a rolling list of queried domains and flag new parent domains queried by servers, which should have a small, stable set.

Resolvers hide the original client in dns.log if the sensor sits outside them. See the DNS Logging and Detection Guide for resolver-side logging that fills that gap.

http.log fields and pivots

http.log covers cleartext HTTP only. HTTPS appears in ssl.log; Zeek does not decrypt it.

FieldMeaningYour SIEM field
uid, id.*Connection link and endpoints[ ]
trans_depthPosition of this request in a pipelined connection[ ]
methodGET, POST, PUT, HEAD and so on[ ]
host, uriHost header and requested URI[ ]
referrerReferer header (Zeek spells the field name correctly)[ ]
user_agentUser-Agent header sent by the client[ ]
originOrigin header[ ]
request_body_len, response_body_lenUncompressed body size each way[ ]
status_code, status_msgServer reply code and message[ ]
username, passwordBasic authentication username. Password capture is off by default (HTTP::default_capture_password = F)[ ]
proxiedHeaders suggesting the request passed a proxy[ ]
orig_fuids, resp_fuidsFile IDs for bodies sent by client and server, linking to files.log[ ]
orig_mime_types, resp_mime_typesMIME types Zeek detected from the content[ ]
orig_filenames, resp_filenamesFile names when the protocol supplied them[ ]

http.log hunting pivots

  • Rare user agents: count distinct id.orig_h per user_agent. An agent seen on one or two hosts, or an empty one, is worth checking. Scripting libraries on user workstations stand out.
  • Executable downloads: resp_mime_types such as application/x-dosexec from a host that is not a software distribution point is a lead for T1105 Ingress Tool Transfer. Follow resp_fuids into files.log for hashes.
  • Raw IP hosts: requests where host is an IP address rather than a name often come from scripts and malware rather than browsers.
  • Large POST bodies: request_body_len well above the norm for a destination supports exfiltration scoping.
  • Cleartext credentials: any non-empty username shows Basic authentication over cleartext HTTP, which is a finding in itself, often for service accounts and device APIs.
  • Error bursts: many 401 or 403 status codes from one source to one host suggest T1110 Brute Force or T1595.002 Vulnerability Scanning.

ssl.log fields and pivots

FieldMeaningSource
uid, id.*Connection link and endpointsCore
versionTLS or SSL version the server choseCore
cipher, curveCipher suite and ECDH curve the server choseCore
server_nameSNI value the client requestedCore
resumedT if the session reused earlier key materialCore
establishedT if the handshake completed, F if abortedCore
last_alertLast TLS alert seenCore
next_protocolProtocol chosen through ALPN, e.g. h2Core
ssl_historyOrder of handshake messages; client letters in upper caseCore
cert_chain_fps, client_cert_chain_fpsCertificate fingerprints, linking to x509.logCore
sni_matches_certT if SNI matches the certificate, F if not, empty if no SNICore
subject, issuerCertificate subject and issuer. Not logged by default since Zeek 4.1; enable SSL::log_include_server_certificate_subject_issuer or use x509.logOption
validation_statusResult of certificate chain validationvalidate-certs script (in default local.zeek)
client_ciphers, orig_alpn, client_supported_versions and othersExtended handshake detailssl-log-ext script, not loaded by default
ja4, ja4s (field names per package)TLS client and server fingerprintsThird-party package

ssl.log hunting pivots

  • Missing or odd SNI: established sessions with no server_name, or sni_matches_cert F, are worth a look, though some legitimate services do both.
  • Validation failures: validation_status values other than ok to external servers can show self-signed command infrastructure or interception (T1557 Adversary-in-the-Middle). Internal services with private CAs will need an allow list.
  • Legacy protocol versions: version TLSv10, TLSv11 or any SSL value shows clients or servers that should be upgraded.
  • Rare fingerprints: with a JA4 package installed, a client fingerprint seen on only one host, or a server fingerprint not seen before, is a lead for T1573 Encrypted Channel. See the JA3 and JA4 TLS Fingerprinting Guide.
  • Machine identity drift: service accounts, agents and workloads usually talk to a short list of server names. A new server_name from a known workload host is a cheap, high-signal alert.

About JA3 and JA4: neither ships with Zeek. Salesforce's JA3 repository includes Zeek scripts but states the project is no longer actively maintained by Salesforce. FoxIO's JA4+ Zeek plugin is installed with the Zeek package manager, adds fields to ssl.log, conn.log and http.log, and lists Zeek 7.0 or later as a requirement. JA4 (TLS client) is BSD 3-Clause; the rest of JA4+ is under the FoxIO License 1.1, which permits internal security use but requires an OEM licence to sell. Encrypted Client Hello hides the inner SNI: see the Encrypted Client Hello Guide.

Joining logs with uid

The uid is the join key between conn.log and every protocol log for the same connection. The fuid (file ID) is the join key between protocol logs and files.log. Since Zeek 5.1, files.log carries uid and id directly in place of the older conn_uids, tx_hosts and rx_hosts fields, which can be restored with a policy script if old queries depend on them.

FromKeyToQuestion it answers
conn.loguiddns.log, http.log, ssl.log, other protocol logsWhat happened inside this flow?
http.logorig_fuids, resp_fuidsfiles.log fuidWhich files moved, with what MIME type and hashes?
files.loguidconn.log uidWhich connection carried this file?
files.logparent_fuidfiles.log fuidWhich archive or container held this file?
ssl.logcert_chain_fpsx509.log fingerprintWho issued this certificate and when does it expire?
conn.logtunnel_parentsconn.log uidWhich outer tunnel carried this inner flow?
conn.logcommunity_idSuricata or other tools with Community IDWhich alerts in other tools match this flow?
dns.loganswersconn.log id.resp_hWhich connections followed this lookup? (time-bounded join, not uid)

Worked pivot: an http.log record shows an executable download. Take its uid to conn.log for duration and bytes, then resp_fuids to files.log for the hash, then the client address and the minutes before ts in dns.log to find the lookup that led there. Note that the DNS lookup and the HTTP download are different connections with different uid values, so that last step is a time-and-address join.

Implementation guidance

  • Set Site::local_nets: without it local_orig and local_resp stay empty and every "internal to external" pivot becomes harder.
  • Prefer JSON output for SIEM ingestion where your pipeline supports it, so nested names such as id.orig_h survive without a custom parser.
  • Treat logs as personal data: query names, URIs and user agents describe people's activity. Apply your retention schedule; see the Log Retention Schedule Template.
  • Keep the sensor honest: watch capture_loss.log and weird.log. A pivot that returns nothing proves little if the sensor is dropping packets.
  • Pair with signature detection: Zeek describes behaviour; an IDS such as Suricata matches known patterns. See the Suricata IDS Guide.

Practitioner checklist

  • Record the Zeek version and loaded scripts on every sensor, and date this sheet.
  • Define Site::local_nets and confirm local_orig is populated.
  • Map every field in this sheet to your SIEM field name.
  • Decide whether you need subject and issuer in ssl.log or will join to x509.log.
  • Decide on JA4+ use, check its licence terms, and test the package before production.
  • Build saved searches for the conn_state scanning pivot, NXDOMAIN volume and rare user agents first.
  • Baseline server_name and destination sets for service accounts and workloads.
  • Re-check field names against the NEWS file after every Zeek upgrade.

Standards and references

Related NHI Mgmt Group resources: Zeek Network Monitoring Guide · Network Threat Hunting · Beaconing and C2 Detection Guide · DNS Logging and Detection Guide

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

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.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.