Review decision trees
A decision tree is the troubleshooting path that Elastic nightshift keeps for an alert it has investigated. It tells you which evidence to gather first, which checks decide between explanations, and where each branch led. When the same alert fires again, the investigation can follow the tree.
A decision tree isn't the same as an investigation's hypothesis tree. The hypothesis tree shows what one investigation tested, and a decision tree keeps the path that worked across investigations of one alert. A tree can also steer an investigation down a path that doesn't fit this time, so check the hypothesis tree and the evidence before you act. Refer to How investigations work.
Decision trees are experimental. You can view them only in developer mode, and they can change or go away in later releases.
Elastic nightshift builds a tree for an alert after an investigation of that alert. Each later investigation can add nodes and branches, which creates a version of the tree.
- A tree starts as Tentative.
- It becomes Established when a person confirms the cause in a follow-up, and the investigation's own evidence supports that cause. A statement alone doesn't confirm it.
Investigations use decision trees whether developer mode is on or off. Developer mode only shows the Decision Trees tab.
- Turn on developer mode.
- Open the menu and select Knowledge.
- Select the Decision Trees tab.
The Overview shows how many trees there are, how many are established, and how many versions they have. Select a tree to open it:
- Decision tree: The tree as a Diagram, or as its Source. Node types are Symptom, Evidence Gatherer, Decision, and End.
- Version history: Each version of the tree, with the nodes and edges that an investigation added, changed, or removed.
- Learnings: Lessons that people confirmed in follow-ups for this alert.
- Nodes and Edges: The tree as tables.
You can't edit or archive a decision tree. To remove decision tree versions, purge knowledge.
- How Elastic nightshift builds context: Compare decision trees with the Wiki and Memory.
- Settings and limits: Find out what else developer mode shows.