Concepts

Tenants, streams, events, the completeness proof and masking.

On this page

Tenant#

A tenant is an isolated set of data. The gate takes the tenant from the bearer token it is given, never from the payload or a header. Queries are isolated per tenant by a ClickHouse row policy, not by the query compiler.

Stream and event#

A stream is a named source channel, chosen with the X-Drillo-Stream header (default default). Each event has a source (src), a boot id (boot_id) and a sequence number (seq). Numbering is what lets Drillo detect a missing event.

Completeness proof#

The gate answers 200 only after the event is written and fsynced to its write-ahead log (WAL). The proof starts at that 200. Loss between your shipper and the gate is outside it, so keep shipper-side retry and buffering on. Delivery from shipper to gate is at-least-once: a resend after a lost acknowledgement can create a duplicate.

Gaps are found by a reconciler that compares expected and stored counts per window. Query them with source=gaps.

The agent also reports loss it can prove for a file it already tails (it holds a checkpoint or has seen the file): the file vanished or was replaced with unread data and no rotated copy was found. gap-report lists these as agent-reported with reason not_read (bytes and estimated lines are given only when the agent saw the size while running, otherwise unknown) or source_silent (the path stayed missing for 10 s). They are shown next to, and not added to, the sequence-gap total.

What is still not detected: lines removed before the agent ever saw the file, such as a file created and deleted between polls, or a path no --tail points at.

Masking#

The gate masks sensitive values at ingest. Masking is best-effort. Free text, base64-wrapped values and secrets inside stack traces can pass through. Counts of masked values per rule are queryable with source=masking.

Roles#

Roles are viewer, analyst, auditor, operator and admin. See Access.

Report an inaccuracy (opens a support ticket in the portal; nothing is sent from this page)