Pricing Login
Pricing
Support
Demo
Interactive demos

Click through interactive platform demos now.

Live demo, real expert

Schedule a platform demo with a Sumo Logic expert.

Start free trial

DevOps and Security Glossary Terms

Glossary Terms
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Root cause analysis - definition & overview

In this article
What is root cause analysis?
What are the types of root causes?
Benefits of root cause analysis
How to do root cause analysis
Root cause analysis tools and techniques
Accelerate troubleshooting and root cause isolation
FAQs
What is root cause analysis?
What are the types of root causes?
Benefits of root cause analysis
How to do root cause analysis
Root cause analysis tools and techniques
Accelerate troubleshooting and root cause isolation
FAQs

What is root cause analysis?

Root cause analysis (RCA) is a method of problem-solving used to investigate known problems and identify their antecedent and underlying causes. While root cause analysis seems to imply that issues have a singular cause, this is not always the cause. Problems may have a singular cause or multiple causes stemming from deficiencies in products, people, processes or other factors.

Key takeaways

  • Root causes can be divided into physical, human, and organizational causes.
  • The universal four-step process of a root cause analysis is identification and description, chronology, differentiation and causal graphing.
  • The two most important tools and methods for RCA in cloud computing environments are the "Five Whys" method, where one repeatedly asks "Why?" and the 5 M’s, where investigators look at man, machine, material, method, and measurement as possible causes.
  • You can use a tool like Root Cause Explorer from Sumo Logic, which helps on-call staff, DevOps, and infrastructure engineers accelerate troubleshooting and root cause isolation for incidents in their apps and microservices running on AWS, public cloud hosts, and Kubernetes.

What are the types of root causes?

Root cause analysis is implemented as an investigative tool in a variety of industries.

For IT organizations, root cause analysis is a key aspect of the cyber security incident response process. When a security breach occurs, SecOps teams must collaborate quickly to determine where the breach originated, isolate the vulnerability that caused the breach and initiate corrective and preventive actions to prevent exploiting the vulnerability again. Root causes can be divided into three types.

  1. Physical - when a physical part of a system breaks down. These include hardware failures, system errors from booting up, issues with tools not functioning, or other tangible components breaking down.

  2. Human - arise from human errors or mistakes. If a person does not have the necessary skills to operate systems properly, does not know the tools, creates a programming error, or tries to perform tasks with incorrect tools.

  3. Organizational - arise from administrative issues. For example, suppose a team lead provides incorrect instructions to team members. In that case, organizations make the incorrect selection of people to perform tasks, or the organization does not handle or maintain staff correctly.

Benefits of root cause analysis

There are many benefits to conducting a root cause analysis:

  • Reduce the number of errors that occur from the same root causes.

  • Implement tools and solutions to address future issues.

  • Implement tools to log and monitor for potential future issues.

  • Enable your team to address issues faster.

How to do root cause analysis

When investigating a cyber security incident, security operations teams must act quickly to identify and isolate the event's root cause. The basic outline of the RCA process is identical across industries, regardless of the tools that individual practitioners choose to implement:

1. Identification and description

The first step to a successful root cause analysis is the accurate characterization of a problem. If the problem is poorly understood, it may be difficult to isolate the underlying causes correctly. Accurate event descriptions also play an important role in RCA. The starting point for a successful analysis should be a collection of accurate event descriptions detailing everything that happened in connection with the problem.

2. Chronology

Once IT operators have identified the problem and associated events, they should be arranged chronologically, as in a timeline or sequence of events. This makes establishing and identifying causal relationships between events connected to the problem easy. Organizations that leverage security analytics software can automate the collection of event logs and integrate logs from multiple sources into a single, standardized format and platform. This streamlines the RCA process, helping these organizations get to step three of RCA at lightning speed.

3. Differentiation

Investigators incorporate additional contextual data surrounding the events to understand how events are correlated. When a cyber security event is detected, security operators must analyze dependencies between events to distinguish between root causes, causal factors and non-causal factors within the system. ​​Enterprise security analytics tools use an event correlation data analysis technique, which filters through high volumes of computer logs from various sources and pinpoints the most likely to be connected to the problem.

4. Causal graphing

In the final step of the RCA process, investigators are encouraged to produce a causal graph, diagram or another visual interpretation of the result of the RCA process. Causal graphing illustrates a sequence of key events that begins with the root causes and ends with the problem. This exercise demonstrates the logical pathway to determine how the problem occurred.

Root cause analysis tools and techniques

While the general process for root cause analysis remains consistent across industries, investigators differ in the tools and techniques they use to get to the underlying source of a problem. Even security operators who can automate much of the RCA process with security analytics applications must be familiar with root cause analysis methodologies to interpret the causes of security events accurately. Here are the two most important tools and methods for RCA in cloud computing environments:

Five whys of root cause analysis

The "Five Whys" method of root cause analysis is an investigative technique that encourages the practitioner to ask, "Why?" to get to the deepest chain of causation that leads to an incident, event or problem. When a problem is observed, we can rarely get to the root cause after a single iteration of asking, "Why did this happen?" We may have to go through several layers of questioning to understand the root cause of an event and identify an opportunity for corrective actions. Use this example as a template for conducting Five Whys RCA:

Problem statement: The company data server was infected with malware.

  • Why? The server was not updated with the latest malware definitions for our anti-malware application.

  • Why? The automated server that deploys the updates is not operational.

  • Why? The automated server broke last month, and it hasn't been repaired or replaced.

  • Why? The person responsible for approving the repair or replacement is on vacation, and there was inadequate communication about who should cover change approvals.

  • Why? Lack of process.

Solution: Create a process to ensure that repairs can be approved, even when the normal approving person is away.

This simple example illustrates the depth of questioning required to isolate the root cause.

Fishbone/Ishikawa diagram analysis

A fishbone diagram is a visual graphing tool that encourages the investigator to identify potential causes for a problem from various sources. Fishbone diagrams help investigators quickly get to the root cause of issues by encouraging them to identify different causes that could have resulted in the problem. The leading framework for Fishbone diagrams is the five Ms, where investigators look at:

  • Man: Human factors that could have caused the problem

  • Machine: Hardware or technical causal factors

  • Material: Causal factors stemming from material issues, including consumables and information

  • Method: Causal factors arising from breakdowns in process or methodology

  • Measurement: Causal factors arising from inaccuracies in measurement tools or inspections

Environmental causal factors are frequently investigated as part of a Fishbone/Ishikawa diagram analysis.

Accelerate troubleshooting and root cause isolation

Team members use different toolsets and troubleshoot between staging and production environments, so it is best to gather evidence from event streams and log files to gain visibility across the entire stack. Sumo Logic provides application observability and multi-cloud observability solutions to help. You can use a tool like Root Cause Explorer from Sumo Logic, which helps on-call staff, DevOps, and infrastructure engineers accelerate troubleshooting and root cause isolation for incidents in their apps and microservices running on AWS, public cloud hosts, and Kubernetes.

FAQs

What are the different types of root cause analysis?

  • Fault Tree analysis visually represents the various factors contributing to an issue.

  • Effect analysis examines the consequences or effects of an event or problem to identify the root cause that led to the outcome.

  • Causal factor analysis focuses on investigating specific factors or events that directly contribute to the occurrence of a problem or event.

  • Scatter diagrams show the relationship between two variables, helping to identify patterns or correlations that may reveal the underlying cause of a problem.

  • Pareto analysis, also known as the 80/20 rule, is a technique used to prioritize potential causes by identifying the most significant factors responsible for most problems or issues.

  • Effect diagrams, also called Ishikawa or fishbone diagrams, categorize the potential cause of a problem into different branches or categories, making it easier to identify the root cause.

Are the results of a root cause analysis always accurate?

Not always. The accuracy of the analysis depends on data quality, the expertise of the individuals conducting the analysis and the thoroughness of the investigation process. Log data is at the atomic level of data, making it the most helpful and accurate for root cause analysis.

How long does root cause analysis take?

The duration of root cause analysis can vary depending on the issue's complexity. It can range from a few hours for simpler problems to several weeks for more intricate issues.

Complete visibility for DevSecOps

Reduce downtime and move from reactive to proactive monitoring.