Skip to main content
← Guides

Log triage

Prompts & workflows · Prompt case

Output a triage table with evidence lines; do not assert root cause directly.

Prompt effect has not been tested.

A prompt is a re-runnable template, not a promise of results. Changing the model, version or input can change the outcome. Use the checkpoints on this page to verify it yourself, and treat the official sources as evidence of mechanism rather than a guarantee of effect.

Task and inputs

Output a triage table with evidence lines; do not assert root cause directly. Inputs: Log excerpts, service list, and time window.

The prompt

Triage logs. Output groups[] with symptom, service, evidence_lines and next_check. evidence_lines must be verbatim from logs; next_check gives executable checks. Root causes may only be hypotheses, not conclusions.

Replace {field} placeholders with the current inputs before running.

Expected output shape

groups[] and hypotheses[].

Checkpoints

  • Evidence lines match verbatim.
  • next_check is executable.
  • Root causes stay in hypotheses.

Failure branches

  • Too many logs: narrow the time window.
  • Mixed symptoms: split by service.

Sources and limits

This site has not tested the effect of this prompt. See the sources for the mechanism; changing model, version or input can change the result.

Sources

SourceURL
OpenAI Cookbook: GPT-4.1 Prompting Guide (official repository raw, fetched 200 on 2026-11-07)https://raw.githubusercontent.com/openai/openai-cookbook/main/examples/gpt4-1_prompting_guide.ipynb

Source snapshot: 2026-11-07; item-specific rechecks and their scope are recorded in the text or source notes. Features and terms may change; check the original sources before use.