Log Analysis Assistant

Patterns, anomalies and correlated events found in a set of logs.

Intermediate · Works with ChatGPT, Claude, Gemini, Copilot

The prompt

Look through these logs for patterns, anomalies, and events that correlate with the problem.

Check the boring causes first — config, cache, clock, permissions, deploy order — and say how we'd confirm a suspected cause is actually the trigger.

Logs to analyze:
{{LOGS}}

What problem you're investigating:
{{CODE}}

Why this prompt works

Grounding the search in the specific problem keeps the analysis from listing every anomaly in a noisy log instead of the relevant ones.

How to customize it

  • Include logs from just before the problem started, not just during it.
  • Confirm any suspected correlation with a targeted follow-up query.

Common mistakes

  • Pasting logs with timestamps in the wrong timezone, skewing the correlation.
  • Treating correlation in the logs as proof of causation without a check.

Example

Input

Logs to analyze: 500 lines of app logs from 14:00-14:30 UTC around the outage

What a good answer looks like

A short list of notable patterns/anomalies, each tied to a way to confirm it.

Make this prompt fit your work

ModelCoach.ai scores your version, shows what to improve and explains why, right inside ChatGPT, Claude, Gemini and Copilot.

Related prompts