AI incident investigation that cites its evidence
An AI that reads an error and writes a confident paragraph is easy to build. The hard part is knowing which sentences to trust. ZipLogger's AI investigator is built around that problem: every claim in its report points at a record it actually read, and anything it cannot back up is removed before you see it.
This post covers what an investigation reads, what the report looks like, and the four things that happen after it: the affected user's steps, notes from your team, a check of whether the fix worked, and proposed monitors.
Turn it on
AI is off until a workspace Admin turns it on under Settings → Integrations → AI for this workspace. It is part of the Pro, Team and Business plans.
You choose which model answers:
- Your own key. Paste an Anthropic, OpenAI or Google Gemini key under AI provider. Your provider bills you, and ZipLogger adds nothing.
- ZipLogger's hosted model. No key of your own needed. The settings page lists each hosted model with its price per million tokens. It is billed as AI usage at the provider's cost × 1.30, at least 1 cent per call. An Admin has to confirm they have read what is sent to that provider before it is used.
Either way, set Monthly AI spend cap (USD) and Most one investigation may spend (USD). Each call reserves its largest possible cost before it runs, so the cap holds even when several investigations run at once.
Then decide when it runs: Investigate new incidents automatically (from a severity you pick), Investigate new error Issues automatically, or by hand with Investigate on an incident and Investigate and suggest a fix on an Issue.
What it reads
An investigation does not get a pasted stack trace and a prompt. It calls read-only tools, the same way a person would open tabs:
- error patterns for the service and the whole environment, with counts against the window before
- the Issue and its latest stack trace, and other Issues first seen in the window
- failing traces and the slowest spans in them
- per-operation latency and error rates, database and outbound calls included
- releases and deploys with their commits, and suspect commits from git regression detection
- hosts, containers, Kubernetes problems and database monitoring
- page load figures per route, if you allow it
Every tool is limited to your workspace and the environment the incident is in. There is no tool that writes, runs SQL or fetches a URL.
What the report looks like
The report ranks hypotheses. Each one has a status: verified, supported, plausible or ruled out, and lists the evidence for and against it as ids like [E3]. Each id is a link to the log line, trace, Issue, release or host it came from.
Before the report is stored, ZipLogger checks it:
- A claim that cites nothing, or cites evidence the run never read, is removed.
- Verified needs two independent measurements. With one, it becomes supported.
- A commit or release the evidence does not name is refused.
If the model is unavailable, the run hits a limit, or the answer fails those checks, you still get ZipLogger's rule-based findings from the same evidence. The panel says which one you are looking at.
What the affected user did
Some failures only make sense from the user's side. If you switch on Let AI read the affected user's session as steps, the investigator can read one affected session as a list. From a test run on a local stack:
opened /cart
opened /checkout
pay_clicked
FAILED request /api/pay returned 500 in 9120 ms
The failing step links to its trace. It is sent as page paths, the names of tracked actions, request endpoints with status and duration, and errors. Never the replay recording, event properties, query strings or user ids. It is off by default because it describes one person's visit, and it needs the browser SDK sending events with a session id.
Tell it what it got wrong
Under every report, Was this right? asks Yes, Partly or No. If it was not right, What was it really? takes a sentence, for example "the TLS certificate on the payment gateway had expired". That answer is stored as a note.
You can also write notes directly under Settings → Integrations → What the AI knows about this workspace: "billing-worker logs timeouts every night between 02:00 and 02:30 during the import; ignore them". Up to 200 notes, each up to 600 characters, optionally about one service.
The next investigation reads the notes about the affected service first. A note is context from people, not a measurement, so it can never make a hypothesis verified on its own.
Did the fix work?
This is the part we wanted most. After an investigation, ZipLogger remembers the failure's signatures: the Issue, and the error patterns that were new or doubled. Then it waits for the next deploy of that service, recorded with the release API or the ziplogger CLI.
After the deploy it counts the signatures again and compares with the rate before. A Fixed verdict is written in this shape (the parts in angle brackets are filled in from the counts):
Fix verified: in the <time observed> after release <name> (<deploy time>) the
failure did not occur once. Before it, it occurred about <N an hour>, so about
<N> occurrence(s) were due. The service kept sending logs.
In our local test, an Issue with 241 earlier occurrences went quiet after release [email protected]. About 22 occurrences were due in the time observed and none came, so it was marked Fixed. The test used a 5-minute look. In production the first look is after 30 minutes.
The verdict is Fixed, Improved, NotFixed or Inconclusive, with the figures, posted once on the incident timeline or as an Issue comment.
Two rules keep it honest. "The service kept sending logs" matters: a service that went quiet has not been fixed, and that case is Inconclusive. And a rare failure is watched longer, up to 24 hours, until at least 3 occurrences would have been due, so a quiet hour is not called a fix.
It does not know whether the deploy contained your fix. It measures whether the failure stopped after the next deploy, and says exactly that. It never closes or reopens anything, and it calls no model.
Catch it earlier next time
The report also proposes up to five monitors that would have fired sooner:
- a log alert on a new error signature, with a threshold per 5 minutes taken from the counts it measured
- an APM latency or error-rate alert for the service
- a page load (LCP) alert on the affected route
- an availability SLO, when the service has none
- a browser check that loads the pages the affected user visited, in order
Every threshold comes from a figure the investigation measured, never from text the model wrote. Nothing is created until an Editor presses Create, which goes through the normal form, its validation and your plan limits. Open proposals are also listed under Alerts → Rules → Proposed by AI investigations.
What it does not do
- It does not change anything. Fix suggestions are text. Nothing commits, merges, deploys or closes an incident.
- It can be wrong. Read a supported or plausible hypothesis as a lead. The links are there so checking takes a click.
- It sees only what ZipLogger holds. If a dependency's failure never reached your logs or traces, it cannot find it.
- Data is removed before sending. Passwords, tokens, keys, Authorization headers, email and IP addresses and card numbers are stripped by ZipLogger before the request leaves. Replay recordings and request bodies are never sent. The full list is in the privacy policy.
The setup and every switch are in the AI investigations docs. To query the same data from your own assistant instead, see Query production logs from Claude Code or Cursor.