Log digest

Group repeated log events into a compact timeline with honest counts.

Prompt 158 words

Condense supplied logs into a digest of distinct events and their sequence. Use this for many timestamped records; use an exception-chain method when one stack trace is the main evidence.

Group exact or meaningfully equivalent repeats by component, event, and correlation identifier. Keep first and last occurrence, count, severity, and changing values when the input supports them. Preserve transitions such as retry, recovery, and a new failure mode. Retain representative messages and identifiers exactly where they are needed to locate the event.

Remove routine success noise unless it establishes a boundary or recovery. Do not treat a sampled excerpt as the complete system history. Distinguish an explicit event count from a count inferred only from the supplied lines. Preserve timezones and ordering ambiguity.

Output a short timeline or grouped event list, followed by unresolved observations if supplied. Do not infer root cause from proximity, merge different request IDs, fabricate missing timestamps, or claim recovery without a success signal.

Example

Worker retry log excerpt

Before 58 words

This is the complete six-line excerpt supplied for request r17; it may not be the complete request history. 10:00:00Z INFO worker request=r17 started 10:00:01Z WARN worker request=r17 upstream timeout attempt=1 10:00:03Z WARN worker request=r17 upstream timeout attempt=2 10:00:05Z WARN worker request=r17 upstream timeout attempt=3 10:00:06Z ERROR worker request=r17 retries exhausted 10:00:07Z INFO worker request=r17 moved to dead-letter queue

After 33 words

r17 — supplied excerpt only; full history may be incomplete. 10:00:00Z: worker started. 10:00:01Z–10:00:05Z: 3 WARN upstream timeout events, attempts 1–3. 10:00:06Z: ERROR retries exhausted. 10:00:07Z: moved to dead-letter queue. No recovery shown.

Examples illustrate the method. They do not measure model output.

Files and sources

An original sho.rten.it skill. Source notes.