Moving Wazuh from all-in-one to a distributed cluster

A single-host Wazuh can be split into separate indexer, server and dashboard nodes as agent counts grow. The work is mostly planning the agent cutover and data moves so alerts keep flowing throughout.

On this page

When an all-in-one Wazuh migration to a distributed cluster makes sense

Splitting a single-host Wazuh into separate indexer, server and dashboard nodes is a planned migration from all-in-one to a cluster, not a rebuild. The effort depends on three things: the number of agents you must move, the volume of alert data you need to keep searchable, and how carefully you can move those agents without losing alerts in the gap. This section helps you decide whether the split is due now, or whether a tuning change or a larger host will carry you a little longer.

The usual trigger is one of two symptoms on the single host. Agents report late or drop off because the Wazuh server can no longer process events at the rate they arrive, or dashboard searches and alert writes slow down because the Wazuh indexer shares CPU, memory and disk with the server and the dashboard. Each symptom points to a different first move. If the server is the bottleneck, the cluster and agent load balancing work comes first. If search is the bottleneck, the indexer needs its own nodes and storage before anything else. Check which component is saturated before you commit to a design, and record the agent count, events per second and index size so you have a baseline for the migration.

Splitting the components is documented. The four parts (the indexer, the server, the dashboard and the agents on endpoints) can run on separate hosts, and each has its own configuration and certificate handling. Before you plan steps, confirm the exact procedure for your version in the Wazuh release notes. The current release line is 4.14, and patch releases arrive every one to two months, so a procedure written for an earlier patch may not match your build.

Decide early whether you need the split now or whether you are planning a rebuild on new hardware. Those are separate projects. A split keeps your existing indexes and agent keys in place, while a new-server move depends on the vendor backup process. Write down the agent count you must move, the retention period you must preserve, and the maximum gap in monitoring your security team will accept. Those three numbers decide how many maintenance windows and rollback points the plan needs.

What maps cleanly from a single host and what needs rework

This table compares each part of an all-in-one Wazuh host with its distributed equivalent and sorts it into three groups: carries over unchanged, must be regenerated for new addresses and certificates, or needs a deliberate data move. Read the last column first, because the rework items decide the cutover plan and the alert gap risk.

ComponentSingle-host stateDistributed move
Custom rules and decodersFiles on the single server under the local rules and decoders pathsCarries over unchanged, but must be copied to every server node so all workers evaluate the same content
Agent keys and enrollmentKeys held by the one server that agents enrolled againstMust be exported and imported so agents authenticate to the new server nodes without re-enrolling
Agent group and central configurationShared configuration and group assignments stored with the serverCarries over through the server cluster, but confirm which files synchronize and which the cluster does not manage
Server API users and credentialsLocal API accounts and passwords on the single hostCarries over, but any client pointing at the old address needs updating and default credentials must be changed
Certificates for indexer, server and dashboardSelf-signed or internal certificates issued for the single host nameMust be regenerated for new node names and addresses, then redistributed to every component
Indexer configuration and cluster identitySingle indexer node with no cluster peersNode names, discovery settings and cluster name must be defined before new indexer nodes can join
Stored alert and archive indicesHistorical indices on the original indexer data pathNeeds a deliberate data move, such as snapshot and restore, and must be verified before the old host is retired
Dashboard connection settingsDashboard points at the local indexer and serverMust be repointed to the indexer and server addresses or load balancer chosen for the new layout

How the separated Wazuh components connect

The diagram starts with agents on endpoints, which reach the Wazuh server nodes through a load balancer. The server nodes analyze agent data and forward events to the Wazuh indexer, which stores alerts in a multi-node cluster. The dashboard sits at the end, querying the indexer for alerts and the server API for agent and configuration data. Each boundary between networks is a point to check: that agent traffic reaches the server nodes only on the ports you intend, that indexer access is restricted to server and dashboard hosts, and that every connection uses certificates you have issued and verified.

Agent, server, indexer and dashboard connections across three trust boundaries.

Documented installation and cluster paths to plan around

Wazuh documents several ways to install the indexer, server and dashboard, and a separate cluster model for the server. Each path fits a different network, tooling standard and team, so the choice should be made before any node is built. The cards below cover the options and what to confirm for each.

Step-by-step installation

The step-by-step method installs each component by hand from packages, which gives the team direct control over which node receives which role. It suits a migration where the current all-in-one host is the reference and each new node is built to match it. Confirm that every new node runs the same Wazuh version as the existing host, and plan the order in which the indexer, server and dashboard nodes are brought up. Record each node's role and hostname before installation starts.

Deployment options

Offline installation for isolated networks

The offline installation guide covers systems without internet connectivity. If the cluster sits in an air-gapped segment, the team must stage every package and the vulnerability data source on the internal side before cutover. Vulnerability detection can use an offline vulnerability repository instead of the Wazuh Cyber Threat Intelligence platform, so confirm which source the new nodes will read from and how that repository will be refreshed. Test the staged bundle on a non-production node first.

Offline installation guide

Docker and Kubernetes deployments

Docker and Kubernetes provide container-based options for the new nodes. They fit teams that already run container platforms and can manage persistent volumes for indexer data and server state. Confirm how certificates, configuration files and the indexer data volume will persist and be restored, because a rebuilt container without these can change node identity. Moving historical indices into a container layout is a separate task from building the empty nodes.

Ansible and Puppet automation

Ansible and Puppet let the team codify node builds so the new indexer, server and dashboard nodes match each other and can be rebuilt. These tools reduce manual drift between nodes, but they do not migrate alert data or agent state on their own. Confirm that the playbooks or manifests can reproduce the certificates, keys and configuration the cluster needs, and decide where secrets are stored. Treat the automation as a build method, not as a migration tool.

Server cluster master and worker roles

The Wazuh server can run as a cluster for horizontal scaling, and the cluster documentation defines master and worker roles. Agents connect to the cluster, and the master coordinates configuration and upgrades for the workers. Before the existing host joins as a master or a worker, confirm which files and data synchronize between nodes and which remain local, since that determines how agent keys and rules are carried over. Plan the load balancing layer that agents will use once the workers are online.

Wazuh components

Version alignment across nodes

Every node in the new layout should run the same Wazuh release line and patch level before it joins the cluster. The current line is 4.14, and the team should confirm the exact patch it will install at build time from the release notes, since patches arrive roughly every one to two months. Mismatched versions between the indexer, server and dashboard are a common source of failed joins. Schedule the build against a fixed version so the cutover does not move a target during the work.

Release notes

How to sequence the split with a parallel run and cutover

This sequence moves a single-host Wazuh into a distributed cluster without a gap in alerting, because the old and new paths run side by side until the new one is proven. Each phase ends with a check you can record before the next one starts.

  1. Inventory agents, indices, rules and retention

    The platform owner and the security operations lead list every enrolled agent with its operating system, group and version, and record the indices, custom decoders and rules, CDB lists, integrations, API users and retention settings on the current host. Export the rule and decoder files and note any local changes so they can be compared later. This inventory is the baseline for every comparison in the cutover. It is done when the team can state the agent count, index sizes and retention periods from written records rather than memory.

  2. Build the new indexer, server and dashboard nodes

    The infrastructure team provisions the indexer, server and dashboard nodes on hardware or virtual machines you control, installing the same Wazuh version as the current host so that rules, decoders and agent protocol behave the same way. Confirm the installation steps and node roles against the Wazuh documentation for the release in use, since the exact sequence changes between releases. The build is done when every node reports healthy, the components can reach each other and the dashboard loads with test credentials.

  3. Stage configuration and certificates on the new cluster

    The engineers copy the reviewed configuration, custom rules, decoders, CDB lists and integration settings to the new nodes, and generate or install certificates for the indexer, server and dashboard using the documented procedure. Keep the new cluster off the agent path at this stage so no production agent reaches it. Run the logtest tool against sample events from the old host and confirm the same decoders and rules fire. The step is complete when the staged cluster produces the same alerts for the sample events as the current host.

  4. Pilot a small agent group against the cluster

    The operations team moves a small, low-risk agent group to the new server, either by pointing those agents at the new address or through a dedicated group configuration, and watches enrollment, keepalives and event flow. Choose agents whose loss would not matter during the trial and record which group and addresses were used. Check that the pilot agents appear in the new dashboard with correct groups and that alerts reach the new indexer. The pilot is finished when the team has seen a full cycle of agent events without errors in the logs.

  5. Run both paths in parallel and compare alerts

    Keep the old host receiving the remaining agents while the pilot group reports to the new cluster, and compare alert counts by agent group, rule ID and severity over the same period. Investigate every difference, because a gap usually comes from a missing decoder, a group that did not sync or an agent still pointing at the old host. Record the comparison results and the agreed explanation for each difference. The parallel run is ready to end when the counts match within the tolerance the security team has written down and no unexplained gaps remain.

  6. Move remaining agents through the load balancer

    The platform team places the server nodes behind the chosen load balancer, such as NGINX or HAProxy, and moves the remaining agents in batches, checking after each batch that agents reconnect and alerts keep flowing. Confirm the load balancing and failover approach against the Wazuh documentation for the release, because agent connection handling depends on the cluster design. Keep the old host available to receive agents until the last batch is confirmed. The step is complete when every agent in the inventory reports to the cluster and the old host receives no new agent traffic.

  7. Decommission the single host after a rollback check

    Before shutting down the old host, the team confirms that the retention policies on the new cluster cover the required period and that historical data needed for investigations is available, either migrated or kept in a snapshot or archive. Test the rollback path by confirming the team knows how to point agents back and how long that would take in its own environment. Only then power down or retire the old host and update monitoring, backups and runbooks. The decommission is done when the signed-off checklist, the final alert comparison and the rollback notes are filed together.

How to move agents without an alert gap

The safest way to avoid an alert gap is to move agents in groups, and to keep the old host receiving events until the new cluster has proven it sees the same things. Agents do not discover a new server on their own. Each agent connects to the manager address it was configured with, so the cutover is a change to that endpoint, applied group by group through the agent configuration you already manage centrally. Before the first group moves, confirm in the documentation for your exact version how agent keys are handled during a server change, whether existing keys remain valid on the new nodes, and whether re-enrollment is needed for any operating system family. Those key-handling steps differ by version and should be read from the release you are running, not from memory or from a older guide.

During the parallel run, compare the two paths for each group rather than looking at either one alone. Check agent status on both sides so you know which agents are active, disconnected or pending. Compare event volume per group over a full business cycle, since a healthy agent that sends fewer events after the move is a warning sign, not good news. Run the same dashboard searches against old and new data, and fire a small set of known test events that match your critical rules, such as a failed login or a file change on a monitored path, to confirm those rules still trigger on the cluster. Document any rule that fires on one side only, and resolve it before you move the next group.

Keep a rollback path for every group. A group rollback is the reverse of its cutover: restore the previous manager endpoint in the group's configuration, confirm agents reconnect to the old host, and confirm alerts resume there. Decide before the cutover who can authorize a rollback, what symptoms trigger one, and how long the old host must stay in service. Do not decommission the old host until every group has run through a full comparison window and the open questions about keys and missing events are closed. If an agent fails to reconnect after a change, treat it as a finding to investigate, not as a reason to re-enroll it in a hurry, because re-enrollment can create duplicate identities that complicate the comparison.

What drives the cost and duration of the split

This table lists the factors that move cost and schedule when a single-host Wazuh becomes separate indexer, server and dashboard nodes. Each row gives the direction of the effect and what to ask a partner or internal team to confirm in a quote. Read it as a checklist: the rows with the widest scope are usually the ones that set the change window.

DriverWhy it moves cost or timeWhat to ask for in a quote
Number of agents and endpoint typesMore agents mean more enrollment, group configuration and load balancer testing. Non-Linux endpoints such as Windows, macOS, Solaris, AIX and HP-UX each need their own check during cutover.Agent count by OS, planned growth, and which endpoint types are in scope for re-pointing
Volume of retained alerts and indicesMoving existing data between nodes and snapshotting large indices takes longer and needs more temporary disk. Retention length sets how much history must be carried over.Index sizes and retention period, the snapshot or copy method, and the disk needed during transfer
Custom decoders and rulesEach custom decoder or rule must be checked on the new server layout, and rule files may need to be synchronized to every server node.Count of custom decoders, rules and CDB lists, and the test method used before cutover
Integrations pointing at the serverEvery syslog source, API probe, forwarder and SOAR connector that sends to or reads from the old host must be repointed and verified.Inventory of integrations with owners, and which ones can be changed without a change request
Network and firewall changesNew node-to-node and agent ports require rule requests, and change lead times are often set by the firewall team, not the project.List of required flows, the approver for each rule change, and the expected approval lead time
Certificate and identity designNew nodes need certificates that match their names, and dashboard single sign-on or user access may need redirect and role changes.Certificate authority in use, naming plan for each node, and whether SSO changes are in scope
Offline or air-gapped constraintsWithout internet access, packages, vulnerability data and updates must be staged manually, which adds preparation and review steps.Offline repository source, transfer process for packages, and who approves media movement
Change window the business allowsA short window forces parallel running, rollback rehearsals and extra staging, which raises effort. A longer window allows staged cutover of agents.Permitted window and blackout dates, rollback criteria, and whether a parallel run period is planned
One-time and recurring costsOne-time work covers design, build, data move and cutover. Recurring costs include the infrastructure for the extra nodes, any paid support or cloud service, and ongoing patching and upgrades. The self-hosted Wazuh software has no license fee, so the main recurring cost is infrastructure and operations time.Separate quote lines for one-time services and recurring support, infrastructure sizing assumptions, and whether any paid Wazuh service is included

What usually goes wrong during the split and how to prevent it

Most failed splits from an all-in-one Wazuh host come from a small set of predictable gaps: agents that stop reporting, nodes running different versions, certificates that name the wrong hosts, and a single indexer overloaded during data copy. Each card below names one risk and the check to complete before the cutover window opens.

Alert gap during agent cutover

When agents are repointed to the new server address, some hosts can stay silent for hours if their configuration is not updated in the same window. Before cutover, confirm which agents report to which manager and keep the old host receiving events until the new cluster shows every expected agent as active. Track the count of agents reporting per hour during the change so a silent group is visible immediately. Agree on the cutover window and the acceptable gap in writing before work starts.

Mismatched versions across nodes

Indexer, server and dashboard nodes must be on compatible versions, and a node added at a newer patch level can fail to join or behave differently from its peers. Record the exact version on every node and every agent group before the split, and pin new nodes to the same release line you run today. Confirm the target version against the release notes, which list the current 4.14 patch releases, before installing anything.

Wazuh release notes

Certificates that do not match new addresses

Certificates issued for the single host name often lack the new node names and IP addresses, so TLS between indexer, server and dashboard fails after the split. Generate a certificate set that lists every planned node name and address, and validate each chain on the target hosts before any data moves. Keep the agent registration keys and the cluster key material backed up so existing agents can still authenticate to the new server.

Load spike on the single indexer

Copying historical alerts and indices to new nodes while the original indexer keeps ingesting can exhaust disk, memory and I/O on that one host. Measure current daily index size and ingest rate, then schedule the copy in a low-volume period and throttle it so live alert ingestion keeps running. Confirm free disk headroom on the source host before starting, because a full disk stops indexing for every agent.

Integrations still pointing at the old server

SIEM forwarders, ticketing hooks, SOAR playbooks, scripts that call the Wazuh API and dashboard bookmarks often hard-code the original host. Inventory every consumer of the API, syslog output and alert files before cutover, and update each one to the new endpoint or load balancer address. Test one representative integration end to end on the new layout so a broken forwarder does not go unnoticed for days.

Rollback that was never rehearsed

A cutover plan without a tested way back leaves the team improvising when an agent group or the dashboard fails after the switch. Write the rollback steps as a numbered runbook, including how to repoint agents to the original server and which data copies remain authoritative. Rehearse the rollback in a staging copy of the layout, and record how long it takes so the go or no-go decision has real numbers behind it.

Questions buyers ask before moving Wazuh to a cluster

What does moving Wazuh from all-in-one to a distributed cluster cost?

The cost comes from labor and environment, not from the Wazuh software, which is open source with no license fee under the GNU General Public License version 2. Your spend covers additional hosts or virtual machines for the indexer, server and dashboard nodes, storage for the indexed alerts you already hold, and the engineering time to plan, rehearse and cut over. If you hire a partner, the quote follows from a written scope that lists the node count, the number of agents, the data to move and the change windows you can offer. One-time costs are the design, migration and testing work. Recurring costs are the extra infrastructure and the ongoing operations effort. Ask any provider to itemize these separately so you can compare them with doing the work internally.

How long does the split usually take?

Duration depends mostly on the number of agents, the volume of indexed data and how many groups of endpoints you must move in waves. A small estate with a clear inventory and generous change windows moves faster than a large one with mixed operating systems and many owners to coordinate. Agent re-pointing is usually staged, so the timeline includes a pilot group, a verification period and then the remaining waves. Data movement adds time when you must keep historical indices available during cutover. The Wazuh documentation describes the steps for your exact version, so confirm the sequence there before estimating your schedule.

What must our team provide before the migration starts?

The work goes faster when your team prepares a few items in advance. Typically this includes:

  • An inventory of agents, operating systems, groups and their owners
  • Defined change windows and an escalation contact for each system owner
  • Administrative access to the current server, the indexer, the dashboard and the hosts that will become new nodes
  • A test group of agents that can be moved first and rolled back if needed
  • Current backups and a record of custom rules, decoders and configuration that must survive the move

Confirm the exact file and certificate list with the version-specific guidance in the Wazuh documentation.

Can an internal team do the migration alone?

Yes, a team with Linux administration skills, familiarity with Wazuh certificates and indexer operations, and a tested rollback plan can perform the split internally. The main risks are less about commands and more about sequencing: certificate handling, agent reconnection and maintaining the alert pipeline during cutover. Teams that have not run a multi-node Wazuh deployment often benefit from a rehearsal in a non-production copy first. If you prefer outside help, DeployOpen plans, implements and documents self-hosted platforms inside your own infrastructure, and scope, deliverables and timelines are agreed in writing before work starts.

Do we need to run the old and new layouts in parallel?

A parallel run is not strictly required, but it is the safest way to avoid an alert gap. Running both layouts for a defined period lets you confirm that agents report to the new server, that alerts reach the new indexer and that dashboards show expected data before you retire the old host. The cost of a parallel run is extra infrastructure and a longer schedule. A shorter approach moves agents in waves with a verified rollback path for each wave. Decide this based on your tolerance for missed alerts and on the regulatory expectations your security team must meet.

How are upgrades handled after the cluster is in place?

After the split, upgrades must follow the order the Wazuh documentation sets for multi-node deployments, which generally means the central components are upgraded before agents and the cluster nodes are updated in a defined sequence. Patch releases in the 4.14 line arrive roughly every one to two months, so plan a recurring maintenance window and a test environment that matches production. Ask any partner to show how they will document each node, back up before each step and verify agent connectivity after each change. Check the Wazuh release notes and upgrade guide for the steps that apply to your version.

How does the split affect agent connections and load?

Agents must be pointed at the server cluster rather than a single host, and that change affects enrollment, keys and load distribution. Load balancing agents across the server nodes, and handling failover when a node is unavailable, are design decisions you must make and test before the cutover. Confirm the supported load balancer configuration and the synchronization behavior of your version in the Wazuh documentation, and run a pilot group through a full reconnect cycle before moving the rest of your estate.

How DeployOpen scopes and delivers the Wazuh cluster migration

DeployOpen plans a move from an all-in-one Wazuh host to separate indexer, server and dashboard nodes as a written, fixed-scope engagement. The work starts with a inventory of agents, data volumes and alert paths, so the cutover keeps agents reporting and no alert window goes unmonitored.

How we scope

  • Inventory the current all-in-one host, installed Wazuh version, agent count and operating systems in use
  • Agree which indexer, server and dashboard nodes will be built, and where each one runs in your infrastructure
  • Confirm the agent load balancing method, historical data to move and the alert gap tolerance in writing before work starts

How we build

  • Stand up the new indexer, server and dashboard nodes in your environment with certificates and access settings planned first
  • Test agent connection through the load balancer and a staged set of endpoints before any production agent is moved
  • Verify alert flow end to end on a parallel path, with the old host still running until results match

How we hand over

  • Deliver a written runbook covering node roles, cutover order, rollback steps and the agent reconnection checks
  • Document the configuration, certificates and credentials locations, and who holds each one at handover
  • Walk your operations team through the verification results and the open items that remain after cutover

How we support

  • Engagements are fixed-scope, so changes to node count, data volume or agent scope are agreed in writing
  • Ongoing support, upgrades and continuous testing are available as a retainer after handover
  • Ask for the support boundaries, response arrangements and upgrade approach in the written quote before signing

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.