Promptabide Logo

Reading A Postmortem Out Of Raw Logs With One Prompt

Timeline first, cause second, and never let it guess at the cause.

devops
incidents
observability
sre
Keywords:
postmortem
log analysis
root cause
Pasting 4,000 log lines and asking "what went wrong" gets you a confident wrong answer. The model will find a pattern and commit to it.

The prompt that keeps it honest:

"Here are the logs from 14:02 to 14:41 UTC across three services.

Step 1: build a timeline of distinct events. Do not interpret yet.
Step 2: for each event, mark whether it is plausibly a cause, plausibly an effect, or unclear.
Step 3: list the candidate root causes with the specific log lines supporting each.
Step 4: say explicitly what you would need to check to distinguish between them.

If the logs do not determine the cause, say so. Do not pick the most likely one."

Step 4 is what makes this useful. It turns the output into a list of things to go look at, rather than a conclusion you then have to disprove.

Attachments (1)

Attachment
1.5k6
Comments (6)
No comments yet. Be the first to share your thoughts!
Top Contributors
Loading...
Follow PromptAbide

New bides, prompt breakdowns and community picks, on whichever feed you already read.

Trending Tags
Loading...
Reading A Postmortem Out Of Raw Logs With One Prompt | PromptAbide