Data Analysis · IT & Software

Analyse application logs to find error patterns

Find the most common and costly errors in our logs and what causes them. An expert, step-by-step prompt with inputs, method, deliverables, rules and a quality check.

Your prompt is ready 5 brackets to fill
You are a site reliability analyst.
I work in IT & Software: a software company that ships a SaaS product. This work matters to engineering leads, developers and IT buyers.

## Goal
Find the most common and costly errors in our logs and what causes them.

## What matters in IT & Software
- Numbers that matter: deployment frequency; lead time for changes; change failure rate; mean time to recovery; uptime against SLA; MRR/ARR; net revenue retention; logo churn.
- Tools commonly used: GitHub or GitLab; Jira; Slack; AWS, Azure or GCP; Datadog or Grafana; PostgreSQL or MySQL.
- Rules and standards that usually apply: data-protection law (GDPR in the EU, the DPDP Act 2023 in India, CCPA in California); SOC 2 or ISO 27001 security audits; OWASP secure-coding practice; open-source licence terms; the uptime and support promises in customer SLAs.
- Rules differ by country. If I have not said where I work, ask me, and do not present one country's law as if it applied everywhere.

## What I will give you
- Log sample or format: [PASTE LOGS]
- Period and volume: [DATES, LINES]
- Tools: [e.g. grep, ELK, Python]
- Known incidents: [INCIDENTS]
- Anything else you should know: [EXTRA CONTEXT, or "none"]

## How to work through it
1. Restate the business question in one sentence and the decision it will inform. Say which data is needed to answer it and whether my data can.
2. Parse logs into fields.
3. Group errors by signature and count them.
4. Rank by frequency, users affected and severity.
5. Look at timing patterns and correlations with deploys or traffic.
6. Trace top errors to likely code paths.
7. Recommend fixes and alerts.
8. State the limits of the analysis: sample size, missing data, bias, and what correlation does not prove.
9. Turn the findings into 3 to 5 recommendations, each with the evidence behind it and the expected impact.

## What to deliver
- Parsing code
- Error ranking table
- Timeline patterns
- Likely causes
- Fix and alert recommendations

## Expert rules
- Check data quality before analysing: duplicates, missing values, outliers, units and date ranges.
- Show your working: the formula, SQL or code used, so I can reproduce every number.
- Separate what the data shows from what you infer, and give confidence levels.
- Respect uptime, security and data-protection requirements. If anything in my plan or inputs conflicts with them, say so plainly and suggest a fix.
- Do not invent facts, figures, laws, sources or quotes. Label anything you had to assume with "Assumption:" and tell me how to check it.

## Format
- Lead with the answer in plain language, then the supporting numbers.
- Use tables for comparisons and describe any chart you recommend (type, axes, what it should show).
- Put code and formulas in fenced code blocks.

## Before you answer
Check your draft against this list and fix anything that fails:
- Every number comes from my data or is marked as an assumption, and correlation is never presented as cause.
- Every item under "What to deliver" is complete, specific to my inputs and usable as it is, with no placeholders left for me to guess.
- Where it applies, it shows the likely effect on deployment frequency and uptime.

If something essential is missing, ask me up to 3 short questions first. Otherwise, start.
Open in ChatGPT Claude Perplexity

How to use this prompt

  1. Copy the prompt. Press Copy prompt and the full text goes to your clipboard.
  2. Fill the brackets. Use the form above, or replace [PASTE LOGS], [DATES, LINES], [e.g. grep, ELK, Python], [INCIDENTS], [EXTRA CONTEXT, or "none"] with your own details.
  3. Paste and send. Paste it into ChatGPT, Claude, Gemini and DeepSeek and send. Ask follow-up questions to refine the answer.

Why use this Analyse application logs to find error patterns prompt?

This analyse application logs to find error patterns prompt is written for a software company that ships a SaaS product. It tells the assistant who the answer is for (engineering leads, developers and IT buyers) and the limits it must respect: uptime, security and data-protection requirements. That context is what turns a generic reply into one an IT & Software team can use straight away.

Most people type a single line and get a generic answer back. This prompt gives the assistant the role, the context and the structure it needs, so the first answer is already close to what you would hand to your team. Because it is written for IT & Software, it keeps the focus on what that industry measures: deployment frequency and uptime.

How to get the best answer

  1. Be specific in the brackets: real names, numbers and dates give a far better answer than placeholders.
  2. Paste real material: where the prompt asks for notes, data or text, paste the actual content rather than a summary.
  3. Refine in the same chat: ask "make it shorter", "turn it into a table" or "add more detail on step 2".
  4. Check the result: review it against what you know about deployment frequency and uptime before you share it.

FAQ

Frequently asked questions

Which AI assistant works best with this Analyse application logs to find error patterns prompt?

It works in any chat assistant. It suits ChatGPT, Claude, Gemini and DeepSeek best. Paste it in, send it, and ask follow-up questions in the same chat.

What do I need to replace before sending it?

Replace the 5 highlighted brackets – [PASTE LOGS], [DATES, LINES], [e.g. grep, ELK, Python], [INCIDENTS], [EXTRA CONTEXT, or "none"] – with your own details. The more specific you are, the better the answer.

Is this prompt only for IT & Software?

This version is written for a software company that ships a SaaS product. The same prompt is also available for 0 other industries, listed on this page.

Is it free to use?

Yes. Copy it as often as you like and use it in your own work. No sign-up is needed.

Can I trust the answer?

Treat it as a strong first draft. Check facts and figures yourself, especially anything with legal, financial, medical or safety consequences.

Keep exploring

Browse more IT & Software prompts