Migrating from Elastic Security to Wazuh: what the move involves
If your security team runs Elastic Security agents, detection rules and Elasticsearch as alert storage and wants Wazuh, plan the work as a re-platforming of agents, detections and retention, not a data copy. Elastic Agent with Elastic Defend and Wazuh agents are different products with different enrollment, policy and telemetry models, so nothing transfers automatically. The effort depends mostly on two counts: how many endpoints you must re-enroll and how many detection rules you must rebuild or retire. Ask your team to produce both inventories before any quote is discussed, because they set the scope more than anything else.
Licensing shapes the business case. The self-hosted Wazuh software is open source with no license fee, so your costs are infrastructure, staff time and any support you choose to buy. Elastic's self-managed paid security features sit in the Enterprise tier, since its subscriptions page lists endpoint malware and ransomware prevention, host isolation and SAML or OpenID Connect single sign-on there, and Platinum is no longer sold to new customers. Confirm current pricing and entitlements directly with Elastic and Wazuh, and record which Elastic features your team actually uses, because every one of them needs a Wazuh equivalent or an accepted gap.
Detection rules are the largest unknown. Elastic's rules live in the elastic/detection-rules repository and are delivered to the Kibana detection engine, so teams often assume they can be exported and reused. In practice each rule must be translated into Wazuh decoders and rules, tested against sample events with wazuh-logtest, and tuned for noise. Retention is a separate decision: you can keep Elasticsearch for historical alerts and forward new Wazuh alerts to it through Logstash, or archive old data and let it age out. Decide that split early, confirm the Elastic version support dates on the Elastic end-of-life page, and agree the cutover order with the people who own incident response.
Which Elastic Security capabilities map to Wazuh and which do not
This table compares the main Elastic Security capabilities in use with their closest Wazuh counterparts, and marks where no one-to-one equivalent exists. Read each row as a starting point for scoping: confirm every Wazuh entry against the current Wazuh documentation for your release before you commit to a replacement plan. Gaps marked as no direct equivalent need a documented decision on compensating controls or a retained tool.
| Elastic Security capability | Elastic side | Wazuh side |
|---|---|---|
| Endpoint agent | Elastic Agent managed centrally through Fleet, running Elastic Defend for endpoint protection | Wazuh agent enrolled to the Wazuh server, with configuration and upgrades managed remotely. Confirm which agent features your OS mix needs |
| Endpoint prevention (malware and ransomware) | Elastic Defend malware and ransomware prevention, memory threat protection (Enterprise tier) | No one-to-one equivalent. Wazuh focuses on detection, so confirm current prevention options before scoping |
| Host isolation and response | Host isolation and interactive response console (Enterprise tier) | No confirmed direct equivalent. Plan active response or external SOAR steps and confirm them in current Wazuh docs |
| Detection rules and engine | Detection engine with prebuilt rules from elastic/detection-rules, custom rules, correlation, threshold and indicator match | Wazuh server decoders and rules, custom rules, CDB lists and MITRE ATT&CK mapping. Every Elastic rule must be rewritten, not ported |
| Investigation workflow | Timeline for investigations and Cases for tracking work | Wazuh dashboard alert views and investigation through the indexer. Case management may need a separate tool, so confirm |
| Entity analytics and ML anomaly detection | Entity analytics and machine learning anomaly detection (anomaly alerting limited to Platinum and Enterprise) | No confirmed equivalent for ML anomaly detection. Decide whether the gap is accepted or covered elsewhere |
| Vulnerability visibility | Elastic vulnerability features, depending on subscription and integrations | Vulnerability detection that correlates agent software inventory with CTI platform data or an offline repository. Confirm coverage for your OS list |
| Single sign-on | SAML and OpenID Connect SSO on Enterprise, plus Kerberos and JWT options | SAML SSO with documented guides for several identity providers, alongside the internal user database. Confirm the provider you use |
| Storage and alert backend | Elasticsearch data tiers and Kibana, under Elastic licensing | Wazuh indexer stores alerts; Elasticsearch can remain an alert destination through Logstash. Confirm the forwarding path and retention with both teams |
Documented import paths and export options for this move
Wazuh does not document an automated converter from Elastic detection rules. The options below are the documented routes for running both stacks during transition, moving alerts and reusing Elastic rule logic as reference, and each one shifts a different part of the work onto your team.
Run Wazuh agents beside Elastic Agent
During transition, you can install Wazuh agents on the same endpoints where Elastic Agent and Elastic Defend already run, so both collect telemetry while you compare results. Check resource use on each host first, since two agents compete for CPU, memory and disk. Confirm which host protections are active on each side before you remove anything, because endpoint prevention is not something Wazuh agents replace on their own.
Wazuh componentsRewrite decoders and rules by hand
Wazuh server decoders and rules are written in Wazuh's own format, so each Elastic detection must be re-expressed as a Wazuh rule that matches the log fields Wazuh decodes. Treat Elastic query logic as a specification, not as code to copy. Test each rewritten rule against real sample events before you switch alert routing for it.
Forward Wazuh alerts to Elasticsearch
Logstash can forward Wazuh alerts into existing Elasticsearch indices, which keeps your current Kibana searches and dashboards working while the detection logic moves. Confirm the index names, field mappings and index templates with your Elasticsearch owners before alerts arrive, because mismatched mappings cause silent ingest errors. Note that this route keeps Elasticsearch as a destination, not as the Wazuh alert store.
Use the Wazuh indexer as the alert store
The Wazuh indexer is the full-text search and analytics engine that stores Wazuh alerts, and the Wazuh dashboard reads from it. Moving alert storage here means your analysts search in one place, but historical Elastic data stays where it is unless you export it separately. Plan the indexer sizing, retention and backup before cutover, since these settings govern how long alerts remain searchable.
Wazuh componentsUse Elastic rules as reference input
The elastic/detection-rules repository holds Elastic's prebuilt and community rule logic, which you can export and read as a reference for detection intent. Its rules and code are licensed under the Elastic License v2, so review the terms with your legal team before reusing any text or logic. Export the specific rules you rely on, record their intent, and map each one to a Wazuh rule owner who signs off on the rewrite.
Detection rules repositoryConfirm no automated converter exists
No automated rule converter from Elastic detection rules to Wazuh rules is documented, so do not plan a schedule that assumes one. Each rule's logic, data source and alert handling are rewritten and tested individually, and the effort scales with the number of rules you run in production. Ask any partner to show per-rule test evidence and a retirement record for each Elastic rule they replace.
How the phased move runs with a parallel run and cutover
The sequence keeps Elastic alerting live until Wazuh has proven its agents, rules and data handling, so each group moves only after its exit checks pass. The output is a decommission decision backed by records, not a single switch-over date.
Inventory agents, rules and retention obligations
Your security engineers list every Elastic Agent and Elastic Defend policy, the hosts each covers, the detection rules that fire on them and the alert destinations that depend on them. Compliance owners add the retention period each log type must meet and where old data must stay readable. The step closes when each host has a named owner and a Wazuh coverage plan, and each retention requirement has a written owner and a target archive location.
Stand up the Wazuh test deployment
Your platform team installs Wazuh with one of the documented methods, such as the all-in-one installation or a prebuilt image, in an isolated environment you control. They confirm the indexer, server and dashboard are running and that the dashboard login works through the chosen authentication method. The step closes when a test agent enrolls, appears in the dashboard and produces a test alert end to end.
Enroll a pilot agent group
Choose a small group of low-risk endpoints that represent the operating systems in your estate, such as one Linux and one Windows group. Install Wazuh agents alongside Elastic Agent during this phase, so both collect data while the team learns how agent groups and configuration are managed. The step closes when the pilot hosts report inventory and log data to Wazuh and a named operator can explain any gap in coverage compared with Elastic Defend.
Rewrite and test detection rules with wazuh-logtest
Detection engineers translate each in-scope Elastic detection into a Wazuh decoder and rule, using the Elastic rule logic as a specification rather than copying query syntax. They run sample log lines through wazuh-logtest to confirm each decoder extracts the expected fields and each rule fires on the intended event and no other. The step closes when every in-scope rule has a recorded test case with its expected result, and gaps with no Wazuh equivalent are logged for an accepted-risk decision.
Run Wazuh and Elastic alerts in parallel
Keep Elastic Security generating alerts on existing hosts while Wazuh runs on the pilot and then the next groups. Route Wazuh alerts to Elasticsearch through Logstash if your analysts need one console during the transition, using the documented forwarding path. Compare alert volumes, missed detections and false positives for each rule over an agreed observation window. The step closes when the security lead signs off each rule as matching, tuned or accepted as a gap.
Cut over one agent group at a time
Move the remaining host groups in batches, starting with the lowest-risk and ending with critical systems. For each batch, deploy the Wazuh agent, confirm alerts arrive in the dashboard, then stop the Elastic Defend policy for those hosts and confirm no host lost coverage. Record the change in your change system so each batch has a rollback point. The step closes when every batch reports healthy agents in Wazuh and no host is left without endpoint monitoring.
Retire Elastic Defend after retention is met
Once all groups are on Wazuh and the parallel observation is complete, remove Elastic Defend and Elastic Agent from endpoints and disable the rules that no longer have a source. Keep the Elasticsearch data needed for the retention periods you recorded in step one, and confirm that archived records can still be searched and exported. The step closes when the retention owner signs off that required records are readable, and the removal of each endpoint component is logged.
How alerts flow during the parallel run
Agents on each endpoint send events to the Wazuh server, which decodes and analyzes them and stores alerts in the Wazuh indexer. The Wazuh dashboard reads from that indexer for analysts. A Logstash path forwards Wazuh alerts into the existing Elasticsearch cluster, which is the trust boundary to review: confirm which fields, credentials and network routes cross it, and that Elastic Agents and Wazuh agents do not both act on the same host without a planned owner.
Alert paths during the parallel run, with the trust boundary to the Elasticsearch cluster.
Keeping old Elastic data searchable while Wazuh takes over
Historical Elastic indices do not move into the Wazuh indexer as a documented, automated step, so the team has to choose how old data stays available before the Elastic side is switched off. The three realistic options are to keep the existing Elasticsearch cluster running in read-only mode for the retention period, to export selected data in a format the reader's tools can query, or to archive raw events and index exports to storage you control. Each choice changes who maintains the old stack, how investigators search it and what evidence you can produce later. Decide this before cutover, because the cluster that holds the history is usually the one being decommissioned first.
Elastic support windows should drive that decision. Elastic's end-of-life page lists end of maintenance for the 8.x line on January 15, 2027, with 8.x support ending July 15, 2027, and end of maintenance for the core stack 9.x line on October 15, 2027. Confirm which exact Elasticsearch and Kibana versions your cluster runs, since a retained cluster on an unsupported line will keep receiving no fixes while it holds security-relevant data. Check the Elastic product end of life dates page against your version and plan an upgrade or an archive step if your retention period runs past the support date. Also check whether your Elastic subscription still covers the security features you use to restrict access to the archived indices.
Confirm your retention obligations before you choose. Ask legal, compliance and your auditors which log sources, alert records and investigation cases must stay retrievable, for how long, and in what form, and whether a read-only archive satisfies that obligation. Record the answer alongside the chosen method, including who can query the archive, how access is logged and how the data is deleted at the end of the period. Those answers determine whether a live read-only cluster, an export or a managed archive is acceptable, and they are the first thing an assessor will ask about.
What drives the cost and duration of the move
This table lists each driver that changes the effort of moving from Elastic Security to Wazuh, who typically carries that work, and whether the cost is one-time or recurring. Use it to see which answers you need before you ask for a quote, because the same driver can move the estimate in either direction depending on your environment.
| Driver | What changes the effort | Who is paid or carries it | One-time or recurring |
|---|---|---|---|
| Endpoint count and operating systems | Each Elastic Agent and Elastic Defend deployment must be replaced by a Wazuh agent on every host, and each operating system needs its own package, enrollment and testing path | Your team or the implementation partner for the rollout; your change board for maintenance windows | One-time for rollout, recurring for agent upgrades |
| Custom detection rules | Each custom Elastic rule (query, threshold, indicator match or ML job) must be rewritten as a Wazuh decoder and rule set, tested against sample events and tuned to reduce noise | Your detection engineers, with a partner if you lack Wazuh rule authoring skills | One-time for rewrites, recurring for tuning |
| Prebuilt Elastic rules in use | Prebuilt rules from the elastic/detection-rules repository are not carried over automatically, so you must decide which behaviors to reproduce with Wazuh content and which to drop | Your security team decides; a partner can document the mapping | One-time |
| Elastic Defend response features | Host isolation, malware and ransomware prevention, memory threat protection and the interactive response console have no one-to-one Wazuh equivalent, so each response workflow needs a replacement plan or a documented gap | Your IR leads define requirements; the vendor or a partner confirms what Wazuh and any added tooling can do | One-time for design, recurring for runbook upkeep |
| Elasticsearch data retained and its location | The volume of historical indices, how long they must remain searchable, and whether they stay on current hardware or move to archive storage all change storage and access work | Your storage and platform teams; a partner for index handling and archive procedures | Recurring storage cost, one-time migration effort |
| Logstash integration scope | Keeping Elasticsearch as an alert destination needs Logstash pipelines, output mapping, certificates and credentials, and the number of sources and fields you forward | Your platform engineers for pipeline build; confirm the supported forwarding method with the Wazuh documentation | One-time build, recurring operation and licensing review |
| SSO and role mapping | Moving identities from Elastic realms or SAML settings to Wazuh SAML or the internal user database requires mapping each Elastic role to a Wazuh role and testing a fallback admin account | Your identity team; a partner for role design and testing | One-time, with periodic access reviews |
| Offline or air-gapped constraints | Without internet access, you need an offline installation path and an offline vulnerability repository in place of the Wazuh CTI platform, and every package and update must be staged manually | Your infrastructure team for staging; the partner for procedure and testing | One-time setup, recurring update staging |
| Parallel running and cutover | Running Elastic and Wazuh side by side to avoid detection gaps adds dual licensing or hosting time, dual alert review and a defined cutover date | Your SOC for dual review; your finance team for the hosting period | One-time, but the parallel period can be extended |
What usually goes wrong in an Elastic to Wazuh move
Most problems in this move come from assuming Elastic detections, agents and retention map directly onto Wazuh. The cards below cover the places where coverage, data and operations tend to slip during a parallel run and cutover, with a prevention step for each.
Silent detection gaps
Elastic prebuilt rules do not translate one to one into Wazuh decoders and rules, so a rule that fired in Elastic may have no equivalent after cutover. Build a rule inventory that maps each Elastic detection to a Wazuh rule, a Wazuh-native alternative or a documented decision to drop it. Test each mapped rule with sample events from your own endpoints before retiring the Elastic version.
Elastic detection rulesDuplicate or lost alerts
Running Elastic and Wazuh side by side can send the same events to two places, which inflates alert volume, or drop events when an agent or Logstash output is misconfigured. Decide which system is the source of record for each alert class and document the overlap window. Compare alert counts per source for the parallel period before the cutover is approved.
Agent enrollment and key issues
Endpoints enrolled to Elastic Agent through Fleet do not carry over to Wazuh, and each Wazuh agent needs its own enrollment and key. Plan endpoint groups in the Wazuh server before rollout, and sequence removal of Elastic Defend so no host is left unmonitored. Confirm enrollment and check-in status per group and per operating system before removing the old agent.
Lost response actions
Host isolation, the interactive response console and malware prevention are capabilities some teams rely on daily, and they are not replaced automatically by Wazuh monitoring. List every response action used in the last review period, then confirm which Wazuh active response scripts or external SOAR steps will cover each one. Test isolation and containment on a non-production host before the old controls are switched off.
Licensing and support lapses
Elastic paid security features are tied to subscription tiers, and the Platinum tier is no longer sold to new customers. If a subscription renews, expires or changes during the transition, features your runbooks depend on may stop working. Record the Elastic subscription terms, end dates and the support contact before the move, and keep the subscription active until the cutover and rollback window close.
Retention gaps for audit evidence
Old Elastic indices can age out or be deleted on schedule while the Wazuh indexer holds only recent alerts, which leaves a gap in evidence that auditors may ask for. Inventory which data must be kept, for how long and in what format, then export or archive it before deleting anything. Confirm with your compliance owner that the archive can be searched and that the retention period matches your policy.
Questions buyers ask before moving from Elastic Security to Wazuh
What does moving from Elastic Security to Wazuh cost?
The software cost of self-hosted Wazuh is zero, because the self-managed product is open source with no license fee. The real cost is labor and infrastructure: the people who rebuild detection content, replace agents, stand up indexer and server capacity, and run the Elasticsearch alert path during transition. Cost rises with the number of detection rules that need rewriting, the number of endpoints and their operating systems, the number of log sources, and how long old and new platforms run in parallel. Infrastructure is one-time for build and recurring for hosting, storage and retention. Ask any partner for a fixed-scope quote that separates rule rewrites, agent rollout, Logstash forwarding work, data retention and handover, and that states who pays for each item.
How long does an Elastic Security to Wazuh migration take?
Duration depends mainly on how many detection rules you have, how many agents must be replaced, and how many distinct endpoint platforms and log sources are involved. Each Elastic detection rule must be mapped to an equivalent Wazuh decoder and rule, tested against real logs and tuned, so a large rule library adds more work than a small one. Agent replacement is paced by change windows and by how many hosts can be touched at once. Parallel running, which keeps alerts flowing while coverage is compared, adds time at the end. Ask for a schedule that ties each phase to an agreed count of rules and agents, and confirm the change control your organization requires before work starts.
What does the client team need to provide for the move?
The client team supplies the knowledge that cannot be inferred from the platform. That includes an inventory of enabled Elastic detection rules with their owners and response playbooks, the list of endpoints and their operating systems, network paths from agents to the Wazuh server, and the change approval process. It also includes access to the target infrastructure, such as cloud accounts, data center hosts or air-gapped networks, plus the identity provider for dashboard single sign-on if one is required. Someone must decide which alerts remain critical, who signs off on rule equivalence, and who receives alerts after cutover. Missing answers in these areas are the most common reason a migration stalls.
Can our in-house team migrate from Elastic Security to Wazuh alone?
An in-house team can do it if it has people who know Wazuh decoders and rules, Linux and Windows agent deployment, Elasticsearch operations, and the security content that the Elastic rules encode. Teams that already run Elasticsearch and Kibana for other purposes often find the infrastructure work manageable and the rule rewrite the hardest part. The questions to answer honestly are whether anyone has time alongside production duties, whether the team has tested rules against representative logs, and whether there is someone to own the system after handover. A partner is most useful for a fixed-scope piece, such as rule conversion and testing or agent rollout, while the team keeps ownership of the detections.
Is self-hosted Wazuh free, and what does Wazuh Cloud add?
The self-hosted Wazuh software is open source and carries no license fee. It is distributed under the GNU General Public License version 2, with an exception that permits linking with the OpenSSL library, so reviewing the license terms with your legal team is still wise. Wazuh Cloud is the vendor's managed, cloud-delivered XDR and SIEM service, sold in Small, Medium, Large and Custom tiers, and every paid plan includes at least Standard support. It also offers a 14-day free trial that needs no credit card. Choosing it changes who operates the platform and where data sits, so confirm data residency and support terms against your own requirements before deciding.
What happens to historical Elastic Security data after cutover?
Historical data stays where it is unless you deliberately move it, so the usual approach is to keep the existing Elasticsearch cluster read-only for the retention period your policies require. Elastic's support lifecycle matters here: the EOL page lists end of maintenance for the 8.x line on January 15, 2027 and for the core 9.x line on October 15, 2027, so plan any retained cluster around those dates. Wazuh alerts are stored in the Wazuh indexer, which does not import Elastic indices automatically. Decide which data must be searchable, which can be archived as snapshots, and who can access it. Confirm retention periods with your compliance owners before you decommission anything.
Which Elastic rules and alerts are hardest to rewrite for Wazuh?
The hardest items are usually rules that depend on Elastic-specific features rather than on log content. Examples include correlation across many events using indicator match or threshold logic, machine learning anomaly detection, alert suppression logic, and response actions such as host isolation or an interactive response console. Wazuh covers many of these needs through its own rules, active responses and integrations, but the equivalence is not one to one, so each rule should be classified as directly rewritten, redesigned or retired. Ask for that classification in writing, with the test evidence for each rule that carries real detection value.
Can Elasticsearch stay as an alert destination during the transition?
Yes, the common pattern is to keep Elasticsearch and Kibana running while Wazuh alerts are forwarded into them through Logstash, so existing dashboards, cases and on-call routes keep working during transition. This keeps the team from losing visibility while agents move, but it means two platforms run, with their own patching, capacity and license review. Confirm the forwarding method against the current Wazuh documentation for your version, and confirm the supported Elastic version and Logstash plugin requirements before you build. Plan an exit date for the Elasticsearch alert path so it does not become permanent by default.
How DeployOpen scopes and delivers the migration
DeployOpen scopes the move from Elastic Security to Wazuh in writing before any work starts. The scope names the endpoints and Elastic Agent policies being replaced, the detection rules to be rewritten or retired, the Elasticsearch indices that stay as an alert destination, and the retention period for historical data. It also records who signs off each cutover step on the client side. Because most engagements are fixed-scope, the deliverables and timelines are agreed before implementation, and the quote follows from that written scope. Ask for the scope to list each of these items explicitly, so the quote can be compared line by line with an internal estimate.
DeployOpen then plans the sequence with your security team and runs both platforms in parallel for a period you agree. The Wazuh side is built inside your own infrastructure: the Wazuh indexer, server and dashboard, the agent enrollment path, and the Logstash forwarding that keeps Elasticsearch receiving alerts. Each detection rewrite is tested against sample events from your environment before it is trusted, and endpoint groups move in stages so that no host loses monitoring during cutover. Confirm with the vendor which Wazuh release line and integration method your environment requires before the plan is fixed, since these details change between releases.
DeployOpen is a Chainscore Labs company. It prepares systems, controls and evidence for compliance reviews, but it does not issue audit reports, attestations or certifications, and independent auditors or certification bodies perform those assessments. Where the migration supports a compliance review, the written scope should say which evidence DeployOpen delivers and which parts your auditor will need to examine. After go-live, ongoing support, upgrades and continuous testing can be covered by a retainer, which is priced separately from the one-time migration work.

