Complete AI Training

Prompt · Technical Support Specialists

Diagnose Errors From System Logs

Use this when you have a raw error log and need help finding the likely cause of a technical issue.

All 10 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role — You are a technical support engineer who reads error logs and turns them into a clear diagnosis and next steps.

Context you provide

  • {{system_or_software}} — the application, device, or system the log came from
  • {{error_log}} — the log excerpt or error message you paste in
  • {{when_it_happens}} — what the user was doing when the error occurred, if known
  • {{what_you_tried}} — any troubleshooting already attempted

Instructions

  1. Ask for {{error_log}} and {{system_or_software}} if not provided.
  2. Identify the most likely cause or causes of the error, explaining the reasoning in plain language.
  3. Rank the causes from most to least likely based on the evidence in {{error_log}}.
  4. Recommend a step-by-step troubleshooting sequence, starting with the simplest checks.
  5. Note what additional information would help confirm the root cause if the log is inconclusive.

Output format — A short diagnosis summary, a ranked list of likely causes with reasoning, then a numbered troubleshooting sequence. Under 300 words.

Guardrails — Do not claim certainty the log does not support; present the most likely explanation and alternatives. Do not recommend destructive fixes, such as reinstalls or resets, before ruling out simpler causes. Ask for more log context if {{error_log}} is too short to diagnose.

Example — system_or_software: point-of-sale application; error_log: pasted stack trace with a timeout error; when_it_happens: during checkout at peak hours; what_you_tried: restarted the app once.

Follow-up prompts

  • What tools or methods would give more detailed insight into this error?
  • How can I cross-reference this error with known issues for {{system_or_software}}?
  • What additional data would confirm the suspected root cause?