PAREISENSEResearch & insights

Retain Behavioral Telemetry for the Question It Answers

Size behavioral telemetry for seasonal baselines, alert review, and retrospective hunts, then verify that a backup restore enforces each layer’s expiry.

A seasonal insider-risk detector may need a year's worth of weekly counts, while its alert queue needs weeks of full-fidelity events. Each retained layer's form and lifetime should come from the analytical or review question it answers. Start with the oldest observation someone must still be able to retrieve, and specify the resolution and fields that make it useful.

The oldest event at triage

In this fictional deployment, the longest ordinary alert lookback is 14 days. The pipeline can wait 3 days after that window closes for late arrivals, then issue the alert. The analyst has 10 days from issuance to finish triage. At that deadline the oldest supporting event can be 14 + 3 + 10 = 27 days old. The team sets a 30-day raw window measured from event time. If processing delays or a triage backlog consume the margin, the evidence snapshot must already hold everything the analyst needs to resolve the alert.

At 1 million events per day and 1,000 bytes per event, this illustrative stream generates 1 GB of raw payload per day in decimal units. The 30-day window holds 30 GB. At the start of a week, a team could query its seasonal reference directly from the previous 52 weeks of raw events. That 364-day raw window holds 364 GB. A query that waits until the end of the current week needs an extra week of retention to read the oldest reference week in full. At 10,000 aggregate rows per week and 200 bytes per row, the 52 completed weeks take 0.104 GB. The short raw window and completed aggregates total 30.104 GB in payload. That subtotal excludes the current week's accumulator, alert snapshots, and the optional hunt tier.

Figure 1 — At the start of the week, reading the seasonal reference from raw history requires a 364 GB stream archive for 364 days. The 52 completed weekly aggregates occupy 0.104 GB alongside the 30 GB, 30-day raw window. Illustrative payload sizing — not measured data.

The reference week at scoring time

A detector that compares weekly file reads and permission changes with the corresponding week 52 weeks earlier can use counts by pseudonymous identity and activity type. The oldest completed week must survive until the detector scores the current week. Once scoring and any permitted retry finish, that oldest bucket can give way to the newly completed week. Budget any overlap when scoring runs past rollover. Decisions partway through the week need finer buckets to compare both weeks at the same cutoff. Record source coverage so an outage cannot pass for ordinary inactivity. If activity follows a moving audit or shutdown, align the reference with that business event. A fixed lag can put the reference week on the wrong side of it.

When switching from raw queries to stored aggregates, replay the two calculation paths with the events available at each original decision time. A finalized count that includes late deliveries can turn a historical miss into an apparent hit. Compare feature values and threshold crossings as well as suppression decisions during source outages. That comparison tells you whether a retention change would silently alter which alerts analysts see.

Apply personal-data controls to linkable pseudonymized records. A broad reporting audience may need only cohort trends, in which case person keys can be removed before materializing the report. Test what recipients can infer from the report alongside their directory access. A minimum distinct-contributor count helps only if overlapping totals cannot disclose the suppressed cell by subtraction and a single contributor's activity does not dominate the result.

The cost of following a resource across months

A sparse sequence of accesses to the same resource across several months can disappear into weekly totals. A field-reduced hunt tier supports that query with event times at the required resolution, activity types, outcomes, and pseudonymous account and resource IDs. The stable keys that support the join also make a longer stretch of a person's activity linkable. Key rotation narrows that span only if the hunt system cannot bridge rotations. Access to any bridge or identity mapping needs its own authorization and audit trail.

In the same illustrative workload, a 180-day hunt tier that keeps every event at 150 bytes per event holds 27 GB of payload. For each tier, assume its primary index occupies half the payload, one online replica copies the primary payload and index, and two full backup generations each store payload only. The 30-day raw tier occupies 150 GB across primary payload (30 GB), primary index (15 GB), replica (45 GB), and backups (60 GB). The hunt tier occupies 135 GB across primary payload (27 GB), primary index (13.5 GB), replica (40.5 GB), and backups (54 GB). This steady-state model omits compression and transient rebuild space. Keeping both tiers adds the hunt tier's full footprint even though they cover some of the same events.

Figure 2 — The 180-day hunt tier reaches 135 GB against 150 GB for the 30-day raw tier. Each stack includes the live index, its online copy, and payload-only backups. Extending the window absorbs much of the saving from trimming each record. Illustrative storage budget — not measured data.

Run authorized hunts and newly authored detections against both tiers over the same 30-day overlap, using the same ingestion cutoff. Compare account and resource matches and the event sequence behind each match. Agreement checks the projection on recent traffic. The multi-month join needs a separate test because the raw comparison ends at 30 days.

In a fictional long-span test, send synthetic accesses through the hunt ingestion path with event times spread across several months inside the 180-day window. Include a matching sequence that crosses a key rotation, a near match on a different resource, and a sequence whose oldest event falls just outside retention at query time. Derive the expected matches from the fixture before projection and run the query with the same bridge permissions analysts use. This test exercises the join and expiry boundary. It provides no estimate of how often those patterns occur in production. In the backtest interface, identify rules that require discarded fields as unsupported for the affected period, so a missing field cannot pass for an absence of findings.

A reopened alert with a different baseline

In a fictional review, an analyst reopens a file-access alert after the raw observations expire. The snapshot preserves the permission change and subsequent file reads. Its baseline pointer now resolves to a table rebuilt after a source replay. The analyst can reconstruct the sequence, but the reference count that drove the threshold crossing is gone.

The evidence snapshot needs the decision-time observations, their relevant timestamps, the feature and reference values actually compared, the observation window, and the rule and baseline revisions. An immutable baseline revision can supply the reference values if it is guaranteed to outlive every snapshot that points to it. Capturing the values in the snapshot lets the wider baseline revision expire independently. Later corrections belong alongside the original decision inputs so the reviewer can explain both what triggered the alert and what new evidence changed the disposition.

Retained copy What governs expiry
Alert snapshot Closure plus the reopening window. An extension names the evidence, approving role, reason, and next review date. Overdue open reviews need a disposition or an approved extension.
Review log The quality-review need for the disposition and rationale. The log can outlive the snapshot if it omits the observations due to expire.
Feature export The recipient's approved use. Track the destination and verify removal there, including extracts saved outside the analytics workspace.
Model state The scoring or calibration need for each baseline table, stored feature vector, or exemplar collection. Retire superseded versions, caches, and replicas when their use ends.
Backup The recovery window. Backup rotation governs physical removal and the recovery procedure enforces expiry before restored data becomes queryable.

Track what the deployed scorer carries. A nearest-neighbor index can hold training representations for distance comparisons, so deleting the corresponding features from the source table leaves the deployed copies available. When policy requires removing expired inputs from that scorer, rebuild the index from eligible inputs and retire the old artifact and its serving copies by the same deadline. A snapshot that stores the actual comparison values can still support alert review after the old index expires.

The restore drill decides when queries reopen

A backup taken at the same checkpoint under either policy captures up to 364 days of raw observations under the longer policy or 30 days under the shorter one. Either backup can expose records that expired after capture if recovery opens queries before applying the current expiry cutoff.

During recovery, quarantine keeps readers and exports away from stale records while the team applies expiry as of cutover and replays targeted deletions after the backup's consistent checkpoint. The deletion ledger must recover independently and cover the entire interval from the oldest restorable checkpoint. If the ledger has already dropped part of that interval, a restore can bring back a deleted observation with no instruction to remove it. Readers and exports reopen after replay reaches the cutover watermark and normal deletion processing takes over from that position. The recovery budget covers replay, verification, index cleanup, and regeneration of reports from eligible records.

In a fictional drill under the 30-day raw policy, the checkpoint is 21 days old at cutover. At capture, the team seeds one event aged 12 days and two aged 2 days. A separate alert snapshot has an approved evidence extension that remains valid at cutover. The first event reaches 33 days at cutover and must expire. The other events reach 23 days. A targeted deletion recorded after capture makes one of those events ineligible. The team checks direct queries and regenerated reports for both ineligible events and retrieves the eligible event as a positive control. An authorized reviewer also reproduces the extended alert's original comparison from the restored snapshot. If any check fails, the restore stays quarantined.

Retain the weekly counts through scoring, the event sequence through the hunt window, and the original comparison through the last authorized review. Recovery enforces those same boundaries before any restored copy can answer a query.