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
- Confirm your version: run
zeek --versionon 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. - Confirm loaded scripts: the default
local.zeekin 9.0.1 loadsprotocols/ssl/validate-certs,protocols/conn/known-servicesandframeworks/files/hash-all-filesamong others. Fields from scripts you have not loaded will be empty or absent. - Map field names to your SIEM: nested fields such as
id.orig_hare often flattened or renamed by collectors. Fill in the "Your SIEM field" column once, then share it with the team. - 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.
- Review twice a year and after each Zeek upgrade, using the release NEWS file.
| Record | Value |
|---|---|
| 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.
| Field | Meaning | Your SIEM field |
|---|---|---|
| ts | Time of the first packet | [ ] |
| uid | Unique connection identifier, shared with protocol logs | [ ] |
| id.orig_h, id.orig_p, id.resp_h, id.resp_p | Originator and responder address and port. Originator is the side Zeek believes started the connection | [ ] |
| proto | Transport protocol (tcp, udp, icmp) | [ ] |
| service | Comma-separated list of protocols Zeek confirmed by inspecting content, independent of port | [ ] |
| duration | How long the connection lasted | [ ] |
| orig_bytes, resp_bytes | Payload bytes sent by each side. For TCP taken from sequence numbers, so can be inaccurate for very large connections | [ ] |
| conn_state | Summary state of the connection (table below) | [ ] |
| local_orig, local_resp | T if that side is inside Site::local_nets; empty if local_nets is undefined | [ ] |
| missed_bytes | Bytes lost in content gaps, a sign of packet loss at the sensor | [ ] |
| history | Letter-by-letter record of packet events (key letters below) | [ ] |
| orig_pkts, resp_pkts, orig_ip_bytes, resp_ip_bytes | Packet counts and IP-level bytes per side | [ ] |
| tunnel_parents | uid values of any tunnel carrying this connection | [ ] |
| community_id | Cross-tool flow hash. Only with the policy/protocols/conn/community-id-logging script | [ ] |
conn_state values
| Value | Meaning (Zeek source) | Typical reading |
|---|---|---|
| S0 | Connection attempt seen, no reply | Scanning, dead host, or egress blocked upstream |
| S1 | Established, not terminated | Still open when logged; no byte counts |
| SF | Normal establishment and termination | Completed session, the baseline case |
| REJ | Connection attempt rejected | Closed port; many REJ from one source suggests a port scan |
| S2 | Established, close attempt by originator seen, no reply from responder | Half-closed session |
| S3 | Established, close attempt by responder seen, no reply from originator | Half-closed session |
| RSTO | Established, originator aborted with RST | Client gave up or was killed |
| RSTR | Responder sent a RST | Server or middlebox reset |
| RSTOS0 | Originator sent SYN then RST, no SYN-ACK seen | Common with some scanners |
| RSTRH | Responder sent SYN-ACK then RST, no SYN seen from originator | Asymmetric capture or backscatter |
| SH | Originator sent SYN then FIN, no SYN-ACK seen | Half-open probe |
| SHR | Responder sent SYN-ACK then FIN, no SYN seen | Asymmetric capture |
| OTH | No SYN seen, midstream traffic only | Sensor 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
| Field | Meaning | Your SIEM field |
|---|---|---|
| uid, id.* | Connection link and endpoints. id.orig_h is the client or resolver that asked | [ ] |
| proto | udp or tcp. Large volumes of DNS over TCP are worth a look | [ ] |
| trans_id | 16-bit DNS transaction ID matching query to reply | [ ] |
| rtt | Time between request and the start of the answer | [ ] |
| query | Domain name queried | [ ] |
| qtype, qtype_name | Record type, e.g. A, AAAA, TXT, NULL, CNAME | [ ] |
| rcode, rcode_name | Response code. Code 3 is NXDOMAIN, non-existent domain | [ ] |
| AA, TC, RD, RA | Authoritative answer, truncated, recursion desired, recursion available flags | [ ] |
| answers, TTLs | Resource records returned and their cache lifetimes | [ ] |
| rejected | T if the server rejected the query | [ ] |
| opcode, opcode_name | Query 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.
| Field | Meaning | Your SIEM field |
|---|---|---|
| uid, id.* | Connection link and endpoints | [ ] |
| trans_depth | Position of this request in a pipelined connection | [ ] |
| method | GET, POST, PUT, HEAD and so on | [ ] |
| host, uri | Host header and requested URI | [ ] |
| referrer | Referer header (Zeek spells the field name correctly) | [ ] |
| user_agent | User-Agent header sent by the client | [ ] |
| origin | Origin header | [ ] |
| request_body_len, response_body_len | Uncompressed body size each way | [ ] |
| status_code, status_msg | Server reply code and message | [ ] |
| username, password | Basic authentication username. Password capture is off by default (HTTP::default_capture_password = F) | [ ] |
| proxied | Headers suggesting the request passed a proxy | [ ] |
| orig_fuids, resp_fuids | File IDs for bodies sent by client and server, linking to files.log | [ ] |
| orig_mime_types, resp_mime_types | MIME types Zeek detected from the content | [ ] |
| orig_filenames, resp_filenames | File 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-dosexecfrom 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
| Field | Meaning | Source |
|---|---|---|
| uid, id.* | Connection link and endpoints | Core |
| version | TLS or SSL version the server chose | Core |
| cipher, curve | Cipher suite and ECDH curve the server chose | Core |
| server_name | SNI value the client requested | Core |
| resumed | T if the session reused earlier key material | Core |
| established | T if the handshake completed, F if aborted | Core |
| last_alert | Last TLS alert seen | Core |
| next_protocol | Protocol chosen through ALPN, e.g. h2 | Core |
| ssl_history | Order of handshake messages; client letters in upper case | Core |
| cert_chain_fps, client_cert_chain_fps | Certificate fingerprints, linking to x509.log | Core |
| sni_matches_cert | T if SNI matches the certificate, F if not, empty if no SNI | Core |
| subject, issuer | Certificate subject and issuer. Not logged by default since Zeek 4.1; enable SSL::log_include_server_certificate_subject_issuer or use x509.log | Option |
| validation_status | Result of certificate chain validation | validate-certs script (in default local.zeek) |
| client_ciphers, orig_alpn, client_supported_versions and others | Extended handshake detail | ssl-log-ext script, not loaded by default |
| ja4, ja4s (field names per package) | TLS client and server fingerprints | Third-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.
| From | Key | To | Question it answers |
|---|---|---|---|
| conn.log | uid | dns.log, http.log, ssl.log, other protocol logs | What happened inside this flow? |
| http.log | orig_fuids, resp_fuids | files.log fuid | Which files moved, with what MIME type and hashes? |
| files.log | uid | conn.log uid | Which connection carried this file? |
| files.log | parent_fuid | files.log fuid | Which archive or container held this file? |
| ssl.log | cert_chain_fps | x509.log fingerprint | Who issued this certificate and when does it expire? |
| conn.log | tunnel_parents | conn.log uid | Which outer tunnel carried this inner flow? |
| conn.log | community_id | Suricata or other tools with Community ID | Which alerts in other tools match this flow? |
| dns.log | answers | conn.log id.resp_h | Which 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
- Zeek Project: Book of Zeek, Logs
- Zeek Project: conn.log script source (v9.0.1)
- Zeek Project: dns.log script source (v9.0.1)
- Zeek Project: http.log script source (v9.0.1)
- Zeek Project: ssl.log script source (v9.0.1)
- Zeek Project: Release NEWS
- FoxIO: JA4+ for Zeek
- Salesforce: JA3
Related NHI Mgmt Group resources: Zeek Network Monitoring Guide · Network Threat Hunting · Beaconing and C2 Detection Guide · DNS Logging and Detection Guide