Root cause analysis is the work of finding the underlying cause of a problem and proving it, instead of stopping at the first symptom. In quality and safety work, teams use a fishbone (Ishikawa) diagram or the 5 Whys. For an IT incident it means naming the responsible application and the behavior that caused the outage, latency, or cascade, and showing the evidence. This guide covers IT infrastructure and operations across hosts, containers, networks, databases, and cloud services.
This page is the method. The product page is root cause analysis. Every other investigation starts with a guess. Netdata starts with the evidence. Click Ask AI on the alert. That starts an AI Investigation. Start a trial.
A useful RCA answers three questions: what happened, what caused it, and what did it affect? It separates the original cause from downstream symptoms and gives the team evidence it can verify. The goal is a reliable explanation that leads to the right fix, not a plausible story attached to the first red chart.
What is root cause analysis in IT?
In IT operations, root cause analysis connects a visible service problem to the underlying behavior that produced it. High CPU is not automatically a root cause. Neither is a full disk, a restarted container, or a database alert. Each may be a symptom, a contributing factor, or the main mechanism, depending on the evidence.
These terms keep an investigation precise:
| Term | What it means | Example |
|---|---|---|
| Symptom | The visible problem that starts the investigation | API latency rises and requests time out |
| Trigger | The event that starts or intensifies the failure | A scheduled job begins disconnecting clients |
| Root cause | The responsible component and its behavior | A cleanup job creates a reconnection storm |
| Contributing factor | A condition that makes the failure possible or worse | Queue limits leave too little headroom |
| Downstream effect | A failure caused by the original problem | Message queues fill and consumers fall behind |
| Blast radius | The systems, services, and users affected | Every service waiting on the overloaded queue |
Here, root cause means the responsible application and what it did. That level is specific enough to guide a fix. “The database was slow” does not meet that bar. “A new reporting query held database locks and blocked writes” does.
RCA is not a paperwork step after every alert. During an active incident, it guides responders to the right mitigation. After the incident, it gives the team the failure mechanism to remove and reduces the chance of repetition.
Why does root cause analysis take so long?
Most incident work starts with a guess. An engineer sees a symptom, assumes a cause, checks a dashboard, and then keeps or drops the theory. Another engineer repeats the process in a different tool. The team spends the first part of the incident deciding where to look.
This approach depends on people who already know the system. It becomes slower when services change, ownership is unclear, or the person on call did not build the system. The problem is made worse by fragmented evidence:
- Metrics live in one tool, logs in another, and deployment events somewhere else.
- Alerts identify the component that fired, not necessarily the component that started the failure.
- Minute-level data can hide short events and blur the order of a cascade.
- Manual service maps fall behind real dependencies.
- A convincing explanation can win before anyone tests it against the timeline.
The business cost is direct. New Relic’s Observability Forecast 2025, conducted by ETR, reports that 41% of 1,700 leaders learn about outages from customers, tickets, or manual checks. It also reports a median cost of $2 million per hour for high-impact outages. Splunk’s State of Observability 2025 reports that 73% of 1,855 respondents link outages to ignored or suppressed alerts.
The answer is not more dashboards to search. It is better evidence, ranked before the team forms a theory.
How does Netdata AI make root cause analysis evidence-first?
Every other investigation starts with a guess. Netdata starts with the evidence.
Netdata AI root cause analysis reverses the usual order. Netdata first establishes what was abnormal and what changed across every metric in the incident window. The AI receives that ranked evidence, forms theories from it, and uses tools to check them.
This works because the analysis happened before anyone asked for an investigation:
- Per-metric consensus. Netdata trains 18 models per metric. A sample is anomalous only when all 18 agree, which removes about 99% of false positives.
- The anomaly verdict is stored with every sample. The evidence remains available for later queries and historical incident windows.
- The scoring engine ranks every metric for any window. It identifies the metrics with the strongest anomalies and the biggest changes against a baseline.
- AI starts with the few metrics that matter. It does not have to guess where to look or read the entire telemetry estate.
Anomaly Advisor exposes this evidence in the Anomalies tab. Netdata ranks the metrics that changed or became anomalous across the affected systems for the incident window. Per-second system metrics show the order in which anomalies spread, so responders can separate an initiating failure from its downstream effects.
Netdata finds the root cause: the application responsible, what it did, and everything it affected. Root cause in about two minutes. One click. Zero playbooks. You walk into the incident with the answer instead of twelve dashboards.
No war rooms. One engineer sees what changed, where the cascade began, and what to fix. Everyone checks the same evidence, so the guessing stops and the work begins.
Click Ask AI on the alert. That starts an AI Investigation. No prompt to write, no runbook, no service map, no added instrumentation. Any alert is explained in about two minutes, so alerts no longer pile up for triage.
The Netdata Agent is open source, and a Netdata Cloud trial is all it takes to run this on your own systems. Start a trial and see what the data says before anyone forms a theory.
What are the main root cause analysis methods?
Different RCA methods answer different questions. Mature teams combine them instead of treating one framework as a complete investigation.
| Method | How it works | Best use in IT incidents | Main risk to control |
|---|---|---|---|
| 5 Whys | Ask why the failure occurred, then keep asking why each cause happened | Moving from a technical failure to an operational or process cause | A simple chain can miss parallel causes |
| Fishbone diagram (Ishikawa, cause-and-effect) | Group possible causes under categories, then check each branch | Organizing theories before the evidence is in. In an IT incident the branches are software, infrastructure, network, and process, not the manufacturing 6Ms | A filled diagram looks like an investigation when nothing has been checked |
| Fault tree analysis | Map which combinations of failures can produce a named top event | A design-time model of redundancy and known failure paths | It is only as current as the design, and it is not how you investigate a live incident unless the tree already exists |
| Timeline analysis | Put alerts, changes, anomalies, and symptoms in time order | Finding the first material change and reconstructing a cascade | Coarse timestamps can erase the actual order |
| Change analysis | Compare the failure with the normal case: what changed, what did not, where, when, and how far it spread | Separating a real change from something that only happened at the same time | A change in the window is a suspect to test, not proof |
| Dependency analysis | Trace how components rely on one another | Explaining propagation and blast radius | Static maps can miss real runtime relationships |
| Statistical correlation | Rank signals that changed or became anomalous together | Narrowing a large estate to a small set of suspects | Correlation alone does not establish causation |
The 5 Whys is useful after the technical evidence is in. Five is a rule of thumb, not a quota. Ask why the evidenced cause happened, and stop when the next answer is a guess. A queue filled because clients reconnected. They reconnected because a cleanup job disconnected them. The job disconnected them together because its batching allowed it. The next why, why that batching reached production, is a guess until the change record says so. One evidenced chain is not the whole incident. A second chain can be true at the same time.
What are the five steps of root cause analysis for an IT incident?
A reliable process moves from scope to evidence, then to theories, verification, and corrective action.
1. Define the incident clearly
Write down the observed behavior in plain language. Include what users or dependent systems experienced, when it started, and whether the problem is ongoing. “Checkout is unavailable” is a clearer scope than “the database alert fired.”
Separate detection time from onset time. The alert may fire minutes after the behavior started. The incident window should include the period before the first visible symptom so the initiating change is not excluded.
2. Stabilize and preserve the evidence
Mitigation may require a restart, rollback, failover, or traffic reduction. Record what changed and when. Preserve the incident window and relevant logs before rotation or cleanup removes them.
The mitigation is also a test. If draining traffic from one component immediately restores service elsewhere, that relationship belongs in the evidence set. It still needs a mechanism that explains the outcome.
3. Build a timeline and collect evidence
Align the first symptom, alerts, deployments, configuration changes, infrastructure events, and observed anomalies. Use a common time zone and the finest timestamp resolution available.
Look for three patterns:
- Sequential anomalies: one area changes before others, which can indicate a cascade.
- Simultaneous anomalies: several areas change together, which can indicate a shared cause or external event.
- Isolated anomalies: one component changes while connected systems remain stable, which can indicate a local failure.
These patterns guide the investigation. They become a causal explanation only when the mechanism and other evidence agree.
Collect evidence across the whole path. Start with the affected request or service path, then expand to the infrastructure beneath it. Include dependencies that have no alert configured. An incident often crosses team boundaries, so a dashboard owned by one group is rarely enough. The next section provides an evidence checklist.
4. Rank changes, form theories, and verify the mechanism
An estate can expose millions of metrics. During a specific incident, only a small set may show synchronized anomalies or meaningful changes. Rank that set against the incident window and a normal baseline.
This is where Netdata’s scoring engine replaces manual dashboard hunting. It scores every metric and returns a ranked list for the selected window. Metric Correlations finds the most-changed metrics against a baseline, while anomaly scoring identifies the strongest abnormal behavior. The engineer or AI starts with the evidence rather than a preferred theory.
Form theories from the evidence. Write theories that explain the ranked evidence and the observed symptom. Each theory needs a test that could disprove it. Avoid attaching the investigation to the first familiar failure pattern.
For example, “the network caused the timeout” is too broad to test. “Packet loss between the application and database increased at onset and forced retransmissions, which extended query time” is testable.
Verify the mechanism. Connect cause to symptom with a chain another engineer can inspect:
- The cause began before or at the incident onset.
- The affected component has a mechanism that can produce the symptom.
- The timing and scope match the blast radius.
- Relevant alternative theories have been checked.
- Mitigation or reproduction supports the explanation where available.
Keep facts and inference separate in the incident record. Netdata AI follows the same discipline by presenting the timeline, root cause when supported, working theories, blast radius, unknowns, and next steps as distinct parts of a report.
5. Document the cause, impact, and corrective actions
Record the responsible application and its behavior, the evidence that supports the conclusion, and every material downstream effect. Turn the findings into owned corrective actions with due dates and verification steps.
An incident post-mortem preserves this knowledge. It should describe what the team learned, not assign blame.
What evidence should an infrastructure incident include?
Collect the signals that can establish timing, mechanism, and impact. The right combination depends on the incident, but the questions stay consistent.
| Evidence | Question it answers | What to preserve |
|---|---|---|
| Per-second metrics | What changed first, and how did behavior evolve? | The incident window, baseline, labels, and affected nodes |
| Anomaly scores | Which behavior was unusual for each metric? | Scores for the same window and their ranking |
| Logs | What errors, state changes, or application actions occurred? | Relevant entries with accurate timestamps and context |
| Traces | Which requests and dependency calls were affected? | Latency, errors, and span relationships where available |
| Alerts and events | When did monitoring and the infrastructure change state? | Transitions, acknowledgements, restarts, and scaling events |
| Deployments and configuration | What changed before onset? | Versions, configuration differences, and exact timing |
| Runtime dependencies | Which components were actually communicating? | Observed connections and dependency evidence |
| Netdata Functions | What was running or connected on the system? | Processes, sockets, services, and other live checks used |
| Resolution evidence | Which action improved the symptom? | The action, timing, and measured recovery |
Do not confuse the presence of a signal with a conclusion. A high error log rate may be a downstream effect. A deployment near onset may be unrelated. A saturated resource may be the mechanism, while a job or traffic pattern is the trigger.
Evidence-first analysis keeps these possibilities visible and ranks them for testing. It also makes gaps explicit. “No evidence supports this theory” is more useful than hiding it inside a confident narrative.
What does an evidence-first RCA look like in practice?
Consider a generic incident pattern: a scheduled cleanup job disconnected thousands of clients, and the resulting reconnect storm filled message queues for two hours.
The visible symptom was delayed message processing. A conventional investigation might begin with the queue software because that is where the alerts fired. Evidence-first analysis begins with the full incident window. The timeline below is illustrative.
| Time | Evidence | Interpretation to test |
|---|---|---|
| 00:00 | Cleanup job starts | A possible trigger, not yet a conclusion |
| 00:01 | Client connections drop across several application nodes | The job and disconnections have the same onset |
| 00:02 | Connection creation rises sharply | Clients are reconnecting at the same time |
| 00:03 | Queue production rate and queue depth rise | Reconnections are creating a backlog |
| 00:05 | Consumer latency and processing alerts rise | The backlog is now affecting dependent services |
| 02:00 | Queues have drained and clients have reconnected | Recovery matches the proposed mechanism and the two-hour incident duration |
The ranked evidence changes the investigation. The queue is the affected component, but the initiating behavior is the cleanup job and its simultaneous client disconnections. The blast radius includes the application nodes, the message queues, and every service that depended on timely consumption.
Netdata’s per-second system metrics preserve the order of this cascade. The scoring engine ranks the connection, queue, and application changes for the same window. Netdata AI then explains the chain, checks alternatives with follow-up tools, and shows which conclusions are supported by data.
The corrective actions follow from the mechanism: change the cleanup behavior, control reconnection concurrency, add queue headroom where appropriate, and verify the fix under representative connection load. Each action maps to evidence from the incident.
Can AI do root cause analysis?
Yes. With reliable evidence, relevant context, and tools to check its reasoning, AI finds the root cause. An LLM given raw logs and telemetry must first decide what matters. That search problem can dominate the investigation and produce a plausible answer built on weak evidence.
Evidence-first root cause analysis gives the AI a different starting point. Netdata has already scored every metric for the window and supplies the few that were anomalous or changed. The AI reasons over that ranked evidence and uses tools to validate its theories.
The intelligence is in the evidence. The scoring engine has done the analysis before the AI starts, so you do not need to know the system to find the cause. Every engineer gets the answer, not only the one who built the system.
You can use Netdata AI directly or bring your own assistant. Claude, ChatGPT, or Cursor can ask Netdata what was anomalous and what changed during any alert through MCP Connections. Connect GitHub, Jira and PagerDuty, or a custom HTTPS MCP server, and Netdata AI takes the investigation into your code, tickets, and incidents.
AI Investigations start when you click, ask, or schedule them. If you want investigations that operate autonomously, that is the role of Netdata AI SRE.
How do you know when the root cause is proven?
A conclusion is ready when another engineer can follow the evidence and reach the same explanation without relying on the investigator’s intuition.
Use this checklist:
- Specificity: the responsible application and its behavior are named.
- Timing: the cause aligns with the onset and precedes the downstream effects.
- Mechanism: the explanation shows how the cause produced the symptom.
- Scope: the explanation accounts for the observed blast radius.
- Alternatives: competing theories were checked against the same evidence.
- Verification: mitigation, rollback, reproduction, or follow-up measurements support the conclusion.
- Unknowns: remaining gaps are explicit and do not hide inside the conclusion.
Netdata finds the root cause and shows the evidence on screen. You see the responsible application, its behavior, and the blast radius without relying on the one person who knows every dependency.
What are the most common RCA mistakes?
Most failed RCA efforts share a small set of problems:
- Stopping at the first plausible cause. A familiar failure pattern feels convincing, but it still needs evidence and a test.
- Calling the first alert the cause. Alerts mark measured thresholds and state changes. Establish what deviated first and what followed.
- Confusing correlation with causation. Signals that changed together point to theories to check. Establish the mechanism and check alternatives.
- Ignoring contradictory evidence. A good theory must explain evidence that disagrees with it too.
- Hiding evidence gaps. Record what is missing and which conclusions remain uncertain.
- Blaming a person. Examine the technical and operational conditions that made the action possible.
- Skipping verification after the fix. Define the metric or behavior that will show whether the corrective action worked.
A complete RCA records the supporting evidence, rejected theories, remaining gaps, and the validation plan. This keeps a polished narrative from replacing proof.
What is the difference between RCA, troubleshooting, and a post-mortem?
These activities overlap, but they have different jobs.
| Activity | Primary question | Main output |
|---|---|---|
| Troubleshooting | What is wrong, and how do we restore service? | Diagnosis and mitigation |
| Root cause analysis | What caused the failure, and what evidence supports it? | A verified causal explanation |
| Incident response | How do we coordinate detection, response, communication, and recovery? | Managed incident lifecycle |
| Post-mortem | What happened, what did we learn, and what will change? | Shared record and corrective actions |
| Problem management | What caused the failure, what is the workaround, and what is the known error? | Cause analysis, workaround, and known-error record |
ITIL draws the line in one place. Incident management restores the service. Problem management owns the cause, the workaround, and the known error, including after a single incident, not only when it repeats. RCA is the investigation problem management uses, with evidence a second engineer can check. During the incident, the same evidence tells responders what to mitigate. Click Ask AI on the alert if you want that evidence ranked before the theory.
For the automated form of this work, read what automated root cause analysis is and compare the main approaches. If you are evaluating products, see the best AI root cause analysis tools for infrastructure and operations. To understand the autonomous operating model, read what AI SRE is.
Frequently asked questions
What is root cause analysis in simple terms?
Root cause analysis is the work of finding what caused a problem and proving the connection with evidence. In IT, the answer names the responsible application or system and the behavior that produced the incident.
Is the first alert usually the root cause?
Not necessarily. Alerts show where a measured condition crossed a rule. The first alert may identify an early symptom, a downstream effect, or a related condition. Use the incident timeline and ranked evidence to establish what changed first and how the failure propagated.
Does root cause analysis require a service map?
No. Netdata finds the dependencies from behavior: the components whose metrics turned anomalous together in the incident window, and in which order. Netdata also provides observed topology for live application and network relationships.
Can root cause analysis find more than one cause?
Yes. An incident has a triggering action, a technical failure mechanism, and contributing conditions. Several possible causes remain until evidence distinguishes them. Record these separately so the final explanation stays precise.
Is RCA performed during an incident or after it?
Both. During the incident, RCA guides mitigation by identifying the active failure mechanism. After recovery, the same evidence supports the post-mortem, corrective actions, and prevention work.
How does automated root cause analysis differ from AI root cause analysis?
Automated RCA covers any system that performs parts of the investigation without manual queries, including rules, topology analysis, event correlation, and statistical ranking. AI root cause analysis adds machine learning or AI reasoning. Netdata combines per-metric ML, the scoring engine, and AI that checks theories against ranked evidence.
How much does Netdata AI cost?
AI Conversations are included in Business for every user, subject to fair use. AI Investigations, the full report including the one started from an alert, are bought per investigation or as an annual bundle. See pricing.
How can I try Netdata AI root cause analysis?
Install the open-source Netdata Agent on your systems and start a Netdata Cloud trial. You can install Netdata in the middle of a crisis and get real-time insights and AI-assisted troubleshooting immediately. Anomaly scores follow after about 15 minutes.








