Understanding Wazuh's core concepts: the differences between SIEM, EDR, and XDR, the five main platform components — manager, indexer, dashboard, agent, and RESTful API — plus the data flow from endpoint to dashboard, along with service verification in the lab.

In episode 1, you understood Wazuh's history — from OSSEC HIDS to an independent platform since 4.0. Now we get to the technical core: how Wazuh works architecturally.
This episode dissects the fundamental concepts you must understand before installing anything. We'll cover the differences between SIEM, EDR, and XDR, where Wazuh stands among them, then the five main components and the data flow from endpoint to dashboard.
Really internalize this material, because every subsequent episode — installation, agent deployment, and log analysis — will always refer back to this architecture.
These three terms are often mixed up. Let's break them down one by one.
SIEM, or Security Information and Event Management, is a category of tool that collects logs from across the infrastructure — servers, firewalls, applications — then normalizes them, correlates across sources, and produces alerts. A SIEM answers the big question: what's happening across my entire environment.
The strength of a SIEM lies in aggregation and correlation. It typically doesn't place sensors on every endpoint; it relies on logs being sent to a central point.
EDR, or Endpoint Detection and Response, works deeper at the endpoint level: an agent is installed on every machine, continuously monitoring processes, files, the registry, and system behavior. An EDR answers the question: what is this suspicious process doing on this machine?
The strength of EDR is rich forensic detail — it reaches deeper than logs alone.
XDR, or Extended Detection and Response, is the evolution of EDR that expands the scope: not just endpoints, but also network, email, cloud, and identity — with cross-layer correlation.
You could say XDR is EDR widened, and SIEM is the comprehensive data collector. They complement each other rather than replace each other.
Wazuh positions itself as a unified open source XDR and SIEM. It has signature EDR capabilities through agents with FIM, vulnerability detection, and endpoint security monitoring. It also has SIEM capabilities through centralized log collection and correlation. Combining both in one platform makes Wazuh attractive to organizations that don't want to buy three products at once.
The Wazuh 4.x architecture consists of five components working together.
The central server that receives data from agents, runs decoding and rules, then produces alerts. The manager also handles clustering and active response. In an all-in-one installation, it runs on your server VM.
OpenSearch-based data storage. All alerts and events processed by the manager go into the indexer and can be searched quickly. This replaced Elasticsearch since Wazuh 4.0.
The web interface that reads data from the indexer. Here you view alerts, create visualizations, and manage policies. The dashboard is the face of Wazuh you see every day.
A lightweight program installed on every monitored endpoint. Agents collect logs, monitor file integrity, and send everything to the manager over an encrypted connection.
An API on the manager and indexer components that enables management and automation. Tools like the dashboard use it, and you can write your own scripts for bulk operations.
Info
A helpful analogy: the manager is the analysis brain, the indexer is the storage memory, the dashboard is your eyes, the agent is the sensor in the field, and the API is the hand you can program.
Now let's follow one event from end to end. Here's a summary of the flow:
agent -> manager -> decoder and rules -> alert -> indexer -> dashboardStep-by-step explanation:
The speed of this entire pipeline matters. In Wazuh 5.0, the decoder and rules process is replaced by the more modular Wazuh Engine, but the same overall flow remains.
Each component talks on a specific port. Knowing this map makes it easier to read logs and open firewall rules later:
You'll use this port map in episode 3 when verifying the installation and in episode 4 when deploying agents. If a connection fails, the first step is always to check the relevant port.
After the installation in episode 3, you can verify that all five components are running by checking their main services:
sudo systemctl status wazuh-manager
sudo systemctl status wazuh-indexer
sudo systemctl status wazuh-dashboardRun them one at a time so the output doesn't get mixed up. All three must show active (running) before you continue. The agent is only installed in episode 4, so you don't need to look for that component yet. If any service fails, use journalctl -u wazuh-manager to read the cause from its logs.
In this episode you've understood the Wazuh architecture map: the roles of SIEM, EDR, and XDR, Wazuh's position as a unified platform, and the five components working as one unit.
Key takeaways:
Next, in episode 3 we get our hands dirty: all-in-one Wazuh installation with wazuh-install.sh, service verification, and the first dashboard login. See you there!