How to migrate from Splunk Enterprise Security to Wazuh
List what Splunk ES alerts on, enrol Wazuh agents beside the forwarders, rewrite detections as rules, compare both in parallel, keep Splunk history read-only.
In short
- Wazuh does not run SPL, and its Splunk integration only sends Wazuh alerts into Splunk, so leaving Splunk Enterprise Security is a rebuild of detections, not a data migration.
- Most endpoint and authentication detections become Wazuh rules that correlate repeats within a time window; searches that join several sources over days need rethinking.
- Wazuh agents run beside the Splunk universal forwarders, and Wazuh alerts are forwarded into Splunk, so both systems alert on the same events during the parallel run.
- Splunk history stays read-only until the retention obligation lapses, and the way it is kept is settled before the Splunk contract ends.
On this page (10)
Moving from Splunk Enterprise Security to Wazuh is a rebuild of detections, not a data migration. Wazuh does not run SPL, and its Splunk integration sends data one way only, from Wazuh into Splunk. Detections written in SPL become Wazuh rules and decoders: XML that the server matches against each event as it arrives, correlating repeats within a time window. Universal forwarders give way to Wazuh agents, network devices send syslog to the Wazuh server, and the history stays in Splunk, read-only, until your retention obligation lapses. This guide covers the order we run it in, and the places it usually goes wrong.
Why teams move from Splunk Enterprise Security to Wazuh
Splunk Enterprise Security is a mature SIEM, and the teams that leave it usually do so for three reasons.
- Security telemetry in your jurisdiction. Security logs say who logged in where, what runs on which server and which endpoints are unpatched. With Wazuh on machines you control, agents report over your private network and alerts are indexed in the location you choose.
- No licence that grows with the estate. Wazuh has no paid edition and no licence fee per agent. What grows as you add endpoints is the indexer’s storage, and a retention policy sets that.
- An agent that checks the endpoint itself. A universal forwarder collects data and forwards it. The Wazuh agent also watches files for changes, inventories installed software against vulnerability data, checks configuration against hardening benchmarks and can act when a rule fires. The shipped rules are mapped to MITRE ATT&CK and to PCI DSS, GDPR, HIPAA, NIST 800-53 and TSC controls.
What you give up is real. SPL, and search across every raw event: Wazuh evaluates rules as events arrive and indexes the alerts, and it keeps every raw event only if you switch archiving on and give it the disk. Risk-based alerting, with scores that add up per user or host over days. The asset and identity framework that enriches findings, the apps on Splunkbase, and SOAR playbooks. And someone has to run Wazuh, which is the part Pilae takes on. Triage stays with your team or your SOC provider.
Step 1: list what Splunk actually alerts on
Everything that follows is decided by this list, so pull it from Splunk itself, with an account that can read every app’s searches.
- Detections that are switched on. Recent releases of Enterprise Security call correlation searches detections and list them under Security content, Content management; older ones keep them under Configure, Content, Content Management, filtered by type. Either way, they are saved searches with
action.correlationsearch.enabledset, so one REST search lists them across every app, with their schedule and their SPL. - What actually fired. Findings, called notable events in older releases, are stored in the
notableindex, and risk events in theriskindex. Each carries the name of the search that wrote it insearch_name. Count them over the last ninety days. - Who acts on each one. The analyst queue, called Incident Review in older releases, shows who triages which findings. For each detection, write down the team that acts on it and what they do: a ticket, a page, or nothing.
- How Splunk responds. The adaptive response actions on each detection, and every Splunk SOAR playbook. SOAR lists them under Playbooks in the Home menu, where each one is selected and exported to a file, which is the specification for step 5.
- How long you must keep what. The retention obligation for each kind of log, the rule it comes from and who may ask for the data. It decides step 7.
| rest splunk_server=local count=0 /servicesNS/-/-/saved/searches
| where match('action.correlationsearch.enabled', "1|[Tt]|[Tt][Rr][Uu][Ee]") AND disabled=0
| table title, eai:acl.app, cron_schedule, dispatch.earliest_time, description, search
index=notable earliest=-90d | stats count, latest(_time) AS last_seen BY search_name | sort - count
index=risk earliest=-90d | stats count BY search_name | sort - count
Join the two lists by name. A detection that is switched on and fired, with someone acting on it, is rewritten. One that fired and nobody acts on is a tuning question before it is a rewrite. One that never fired is retired, unless it guards against something rare that you can name.
Step 2: map the sources behind each detection
A detection is only as good as the data behind it, and Wazuh collects differently, so list the sources before any agent goes on.
- What is indexed.
| tstats count where index=* by index, sourcetypeover the same ninety days lists every source type and the index it lands in. - Data models. Many Enterprise Security detections read the accelerated data models of the Common Information Model, listed under Settings, Data models, through
tstatsrather than the raw events. For each of those detections, note which source types feed the data model it reads. Wazuh has no data model layer: decoders extract fields per source, and each rule names the fields it reads. - Apps and add-ons. Apps, Manage Apps lists every app and technology add-on installed, on Splunk Enterprise and Splunk Cloud Platform alike. Each add-on stands for a source: Windows event logs, a firewall’s syslog, a cloud service’s API.
- Forwarders and their inputs. In the Monitoring Console, the Forwarders: Deployment dashboard lists every forwarder once forwarder monitoring is set up under Settings, Forwarder Monitoring Setup; on Splunk Cloud Platform, the Cloud Monitoring Console has both under Forwarders. Their
inputs.conffiles, usually pushed from a deployment server, say what each one reads. - Everything without a forwarder. Network devices sending syslog to a collector, and cloud services read through an add-on’s API input.
| Splunk | Wazuh |
|---|---|
| Universal forwarder | Wazuh agent |
inputs.conf file and event log inputs |
localfile blocks in the agent’s or its group’s configuration |
| Deployment server classes | Agent groups, each with a shared agent.conf |
| Syslog from network devices | The server’s syslog listener, or an agent on your existing syslog server |
| Technology add-on parsing | Decoders |
| Cloud add-on API inputs | Wazuh modules for AWS, Azure, Google Cloud, Office 365 and GitHub |
| Correlation search (detection) | Rule in a custom rule file |
| Lookup | CDB list |
| Urgency and risk score | Rule level; no risk scores |
| Finding (notable event) | Alert in the wazuh-alerts indices |
| Adaptive response and SOAR playbook | Active response, or an integration to n8n |
| MITRE ATT&CK annotations | <mitre> technique IDs on each rule |
| Index retention | Index State Management policy on the Wazuh indexer |
Step 3: enrol agents beside the forwarders
The forwarders stay where they are. Wazuh agents go on next to them, in groups, servers first, so both systems see the same events while the rules are rebuilt.
- Create the groups first: servers, workstations, domain controllers, or whatever your forwarder classes were. Each group has a shared
agent.confon the server, under/var/ossec/etc/shared/<group>/, which is pushed to every agent in it. That is where thelocalfileblocks for each group’s logs go, Windows event channels such as Sysmon’s included. - Install with deployment variables. The packages read
WAZUH_MANAGER,WAZUH_REGISTRATION_SERVER,WAZUH_REGISTRATION_PASSWORDandWAZUH_AGENT_GROUPat install time, so your software deployment tool enrols each agent into its group without a manual step. Agents enrol on TCP 1515 and report on TCP 1514. - Network devices send a copy of their syslog to a
<remote>block of typesyslogon the Wazuh server. Itsallowed-ipslist is mandatory: without it the configuration does not take effect. Where a device can send to one destination only, install an agent on the syslog server it already sends to and read the files there. - Devices that accept no agent can be checked agentless, over SSH: Wazuh watches their configuration for changes and runs the commands you set.
- Cloud services move to the Wazuh module that reads them, where one exists: AWS, Azure, Google Cloud, Office 365 and GitHub have one.
Then switch on what the agent checks by itself, because it is part of what you are buying. File integrity monitoring watches the directories and, on Windows, the registry keys you name. Security configuration assessment runs policies mostly based on the CIS benchmarks. Vulnerability detection matches each agent’s software inventory against Wazuh’s vulnerability feed, or against an offline copy of it on an isolated site. None of these needs a rule from you, and each one produces alerts the parallel run will count.
Step 4: rewrite the detections as rules
Before writing anything, check the default ruleset. It already covers many common detections, such as repeated authentication failures from one address followed by a success, and a default rule beats a custom copy of it. What remains is rewritten.
Custom rules go in /var/ossec/etc/rules/, never in /var/ossec/ruleset/rules/, whose files upgrades overwrite. Use IDs from 100000 to 120000, the range Wazuh sets aside for them. Decoders for sources Wazuh does not parse go in /var/ossec/etc/decoders/, and Splunk lookups become CDB lists in /var/ossec/etc/lists/, each declared in the <ruleset> section of ossec.conf. Keep all three directories in your repository.
<!-- /var/ossec/etc/rules/acme_rules.xml -->
<group name="acme,windows,">
<!-- Was "Excessive failed logons for one account":
EventCode=4625, counted by user over 5 minutes, alert above 20. -->
<rule id="100300" level="10" frequency="20" timeframe="300">
<if_matched_sid>60122</if_matched_sid>
<same_field>win.eventdata.targetUserName</same_field>
<description>Windows: 20 failed logons for one account within 5 minutes</description>
<mitre>
<id>T1110</id>
</mitre>
</rule>
<!-- Was a lookup of privileged groups; now a CDB list. -->
<rule id="100310" level="12">
<if_sid>60144</if_sid>
<list field="win.eventdata.targetUserName" lookup="match_key">etc/lists/acme-privileged-groups</list>
<description>Windows: member added to a privileged local group</description>
<mitre>
<id>T1098</id>
</mitre>
</rule>
</group>
The first rule fires when the default rule for a failed Windows logon has matched 20 times within 300 seconds for the same account. The second checks the group named in a group-membership event against a list. The default ruleset already has rules of its own for additions to well-known groups such as Administrators, so keep the list to your own privileged groups and check in wazuh-logtest which rule fires for each. A rule’s level replaces urgency: level 0 means ignored, and higher levels mean more serious events. To feed the compliance dashboards, add the control’s identifier to the rule’s groups, as the default rules do.
Test each rule with wazuh-logtest on the server, pasting raw events exported from Splunk: saving the rule file is enough for the test, and the manager is restarted for the rule to raise live alerts. Then compare it with what Splunk raised for the same events, in step 6.
What carries across, and what needs rethinking
Carries across
- Matches on one event: a process, a logon type, a group change, a file change
- Repeats from one source, user or field within minutes or hours
- One event followed by another from the same address or user
- Lookups against allowlists and blocklists, as CDB lists
Needs rethinking
- Risk scores added up per user or host over days
- Joins of several sources over days, and
tstatsover data models - Statistical baselines: averages, standard deviations, first seen in thirty days
- Searches that only run over historical data, such as threat hunts
The limit is structural. A Wazuh rule sees events as they arrive and counts matches within its timeframe, which is set in seconds; the rules syntax reference caps it at 99,999, a little over a day. For each detection in the second column there are three answers: a tighter correlation that catches the same behaviour sooner, a rule on the one combination that matters, or a monitor on the dashboard’s Alerting page that queries the stored alerts in the wazuh-alerts indices on a schedule. We list these before you commit, with the answer chosen for each.
Step 5: replace adaptive responses and SOAR playbooks
Sort each playbook by what it does, and give it the Wazuh mechanism that fits.
- Actions on the endpoint become active responses. A response runs a script when a rule ID, level or group fires, on the agent that raised the alert, on the server, on a named agent or on all of them. Shipped scripts block an address in the host firewall, add it to
hosts.deny, null-route it or disable an account. A timeout reverts the action after the period you set, and custom scripts are supported. Start with a short timeout and the narrowest location: a response that fires on a noisy rule blocks your own users. - Enrichment, tickets, chat and approvals go to n8n. A Wazuh integration whose name starts with
custom-sends each alert at or above a level to a webhook, through a short script of the same name in/var/ossec/integrations/. The n8n workflow behind that webhook enriches the alert, opens the ticket, asks a person in chat, and can call the Wazuh server API back to run an active response on the agent once someone approves. - Notifications use the integrations Wazuh ships, Slack and PagerDuty among them, or the same n8n workflow.
Rebuild what people actually use, with an owner for each workflow. A playbook nobody could describe in step 1 stays in its export.
Step 6: run both, tune, then switch
Run the two systems side by side until they raise the same alerts. Tuning takes longer than rewriting, so it fills most of the parallel run.
Forward Wazuh alerts into Splunk. Wazuh’s Splunk integration documents a universal forwarder on the Wazuh server that reads its alerts file, or Logstash reading the alerts file or the Wazuh indexer and posting to Splunk’s HTTP Event Collector. Create a wazuh-alerts index in Splunk first. Analysts keep working from one screen and see both systems’ alerts for the same event side by side. Alerts raised before the forwarding is configured are not sent.
# inputs.conf on a universal forwarder on the Wazuh server
[monitor:///var/ossec/logs/alerts/alerts.json]
index = wazuh-alerts
sourcetype = wazuh-alerts
# props.conf
[wazuh-alerts]
INDEXED_EXTRACTIONS = json
KV_MODE = none
Compare per detection. For each detection kept in step 1, count Splunk’s findings and the matching Wazuh alerts per day. A gap is a missing source, a decoder that does not extract a field, or a rule that is wrong, and the events it missed are the test cases for wazuh-logtest.
Tune the noise. The first weeks show which rules fire on what you expect.
- Silence expected events with a child rule at level 0, scoped to the scanner, the backup job or the service account.
- Change a default rule’s level by copying it into your rules with
overwrite="yes"; its parent conditions cannot be changed that way. - Suppress repeats with a rule’s
ignoreperiod, and keep allowlists in CDB lists rather than in rule text. - Set the level at which alerts reach people in the integration, so only what someone acts on pages them.
The switch, in order
- Parallel: Agents run beside the forwarders, and Wazuh alerts are forwarded into Splunk.
- Compare: Each kept detection raises the same alerts in both systems for a full cycle, month-end jobs and patch windows included.
- Route: Alert routing moves to Wazuh, group by group, and the forwarding into Splunk stops.
- Remove: Universal forwarders come off in groups, and syslog stops going to Splunk.
- Freeze: Splunk stops ingesting and stays readable for history.
Step 7: keep Splunk history read-only
Wazuh starts with the events its agents send from enrolment onwards, so the history you must keep stays in Splunk until its retention obligation lapses.
- Keep it searchable. Reduce Splunk to what reads the history, with roles that can search and nothing else, and check with Splunk before the renewal that the licence you keep lets you search the stopped indexes.
- On Splunk Enterprise, data that ages out is deleted by default. Setting
coldToFrozenDirinindexes.confcopies each frozen bucket to an archive path instead, and an archived bucket can be thawed and searched again if an auditor asks. - On Splunk Cloud Platform, Dynamic Data Self-Storage moves expired index data to storage you control in Amazon S3, Google Cloud Storage or Azure Blob Storage. Restoring it later needs a Splunk Enterprise instance, and it has to be configured while the subscription still runs.
- On the Wazuh side, set an Index State Management policy on the
wazuh-alertsindices from the first day, with the retention your obligation requires, so the indexer does not fill its disk.
Keep the SPL of every rewritten detection in the repository next to its rule. It records what the rule was written to catch.
Running Wazuh in production
Three components run centrally, and an agent on every endpoint.
- One version for server, indexer and dashboard. Upstream requires all three to match, and agents may be older than the server, never newer. Upgrades go indexer, server and dashboard together, then agents in batches.
- An indexer sized for retention. The indexer is where the cost sits and where things fail. Its disk grows with every alert, and much faster if you switch on archives to keep every raw event searchable: Wazuh warns that archives consume significant storage.
- Certificates and passwords. The components talk over TLS with certificates issued for your deployment, and default passwords are replaced before anyone signs in.
- Sign-in. The dashboard signs people in over SAML, through Keycloak, Microsoft Entra ID or another provider, with administrator and read-only roles, or through LDAP and Active Directory. All of it is in the free software.
- Backups. Server configuration, agent keys, your rules, decoders and lists, the certificates and indexer snapshots, because an indexer on one node has no second copy otherwise.
Pilae operates Wazuh this way, with the indexer sized for your endpoint count and retention and the rules you tune kept as files in your repository. Agents report over your private network, the dashboard sits behind the Pilae gate on port 443 and the indexer API is never published. We watch the analysis queue for dropped events and probe every component every 60 seconds. Configuration, agent keys, rules, certificates and indexer snapshots go offsite daily, encrypted, and on Enterprise a restore test every month is recorded in the console. The Pilae Agent rehearses each upgrade on a copy and applies it in your window once you approve. It runs on your premises or on dedicated machines in Pilae Cloud. We run the platform and route alerts to the people you name; triage and response stay with your team or the SOC provider you choose.
Let Pilae run the move
Pilae runs Splunk Enterprise Security to Wazuh migrations at a fixed price: the inventory of detections and sources, the agents enrolled beside your forwarders, the detections rewritten as rules and tested, active responses and alert routing, the parallel run with Wazuh alerts forwarded into Splunk, and the plan for keeping Splunk history read-only. Then we operate Wazuh for you under a contract that, from the Business plan, includes a monthly availability commitment with service credits. See migration services for what the fixed price covers, or tell us what Splunk alerts on today and we will scope it.
Questions
Can Wazuh run our SPL searches?
Does our Splunk history come across?
What replaces risk-based alerting?
What replaces Splunk SOAR playbooks?
Is Wazuh open source?
How long does a Splunk Enterprise Security to Wazuh migration take?
Let us run the move for you
An inventory, a parallel run and a cutover plan, at a fixed price. Then we operate the app.
- Go deeperSaaS migrationA fixed-scope migration off Google Workspace, Microsoft 365, Zapier, Airtable and ChatGPT to open-source apps, with a parallel run and a cutover plan.
- CheckManaged operationsPatching, daily encrypted backups, monitoring and incident response for your open-source apps, under an SLA with an availability commitment of up to 99.9%.
