Wazuh and Splunk integration

Teams that keep Splunk while adopting Wazuh need a clear forwarding path, correct indexes and a tested token setup. This page covers the planning, build sequence and checks.

On this page

How Wazuh and Splunk integration works in a shared SIEM estate

Wazuh can send its data onward to Splunk through the forwarding methods its documentation describes, so an existing Splunk deployment can stay in place while Wazuh adds endpoint monitoring, vulnerability detection and rule-based alerting. The work comes down to three decisions: choosing the forwarding method, building the Splunk side (an HTTP Event Collector token and the indexes that receive Wazuh data) and mapping Wazuh fields to the sourcetypes and searches your analysts already use. Wazuh keeps its own indexer, server and dashboard, so Splunk is an added destination rather than a replacement for the Wazuh stack.

Because that arrangement is additive, the first design question is which system is the system of record for each alert. Some teams keep full raw events in Wazuh for agent management and detection content, and send only high-severity alerts or selected event types to Splunk to control licensed ingest. Others forward everything and treat Splunk as the single place analysts search. Write this rule down before configuration starts, since it decides retention, duplicate handling and who owns tuning when a rule fires too often.

The researched facts for this page do not include Splunk-specific connector details. Before you scope the work, confirm the forwarding method names, the Splunk versions they support, the data formats they emit and any required add-ons or parsing settings in the current Wazuh documentation for Splunk integration. Also confirm how the HTTP Event Collector token and index permissions must be configured on your Splunk version. Those answers change the effort estimate more than any other item, so ask the implementation partner to show them in the written scope.

What you need in place before connecting Wazuh to Splunk

Connecting Wazuh to Splunk touches three teams: the people running Wazuh, the Splunk administrators who own indexes and tokens, and the network and security staff who open the paths between them. Clearing these six items before any configuration starts prevents most of the rework that delays forwarding.

A supported Wazuh 4.14 deployment

Confirm the Wazuh server, indexer and dashboard are running a current 4.14 patch. The Wazuh release notes list the most recent 4.14 patches, so check them before you plan the upgrade window. Confirm which component will forward alerts, because that choice decides where the integration configuration lives and who maintains it after go-live.

Wazuh release notes

Splunk with HTTP Event Collector enabled

Confirm with your Splunk administrator that HTTP Event Collector (HEC) is enabled on the receiving deployment and that the owner has approved Wazuh as a new data source. Confirm the supported Splunk version and license terms against the Splunk documentation and your Splunk contract, because license capacity affects how much Wazuh data you can ingest without cost surprises.

Network paths and firewall rules

List every connection the integration needs, from the component that forwards alerts to the Splunk HEC endpoint, and get rules approved for each one. Include any proxy or load balancer in front of Splunk. Test the path from the forwarding host before you touch the Wazuh configuration, so a blocked port does not look like a configuration error.

Certificates and trust for the HEC endpoint

HEC endpoints are normally reached over TLS, so the forwarding host must trust the certificate chain Splunk presents. Ask the Splunk owner whether the certificate is issued by an internal CA, and plan how the CA bundle will be distributed and renewed. A certificate that expires silently stops forwarding, so record its expiry date and assign an owner for renewal.

A named index plan with owners

Decide which indexes will receive Wazuh data, what each one holds, and who approves its size and retention. Name a storage owner and a retention owner in writing. Ask the Splunk administrator to confirm index names, retention periods and the expected daily volume, since these are set in Splunk and no default should be assumed for your environment.

Wazuh deployment options

Accounts that can create tokens and indexes

Identify the Splunk account or role that will create the HEC token, index and any source type settings. Confirm with the Splunk administrator that this person has the rights needed and that the change is recorded in your change process. Keep the token owner separate from day-to-day administrators, so token rotation does not depend on one person.

How alerts and events move from Wazuh into Splunk

The flow starts at Wazuh agents on endpoints, which send events to the Wazuh server. The server decodes each event and applies rules, and the resulting alerts are stored in the Wazuh indexer and shown in the Wazuh dashboard. A forwarding step then carries selected data across the trust boundary to the Splunk HTTP Event Collector endpoint and its indexes, where the HEC token is presented. Check that the token is scoped to the right indexes and that the forwarding path is the one you chose in the next section.

Data path from Wazuh agents to Splunk indexes, with the trust boundary and HEC token use marked.

Choosing among the three documented forwarding methods

The HTTP Event Collector (HEC) is the method that sends events to Splunk over HTTP, so it depends on a token and an endpoint configured on the Splunk side. The exact setup steps, token handling and payload details belong to the Wazuh integration guide for your release, so treat that guide as the source for each answer below.

  • Where it runs: Confirm which Wazuh component sends the events and whether that component sits on the Wazuh server or on another host.
  • Data it carries: Confirm whether this method sends alerts, archived events or both, and which Splunk index receives each stream.
  • Format: Confirm the event format the documentation specifies and how Splunk parses it at ingest.
  • Authentication: Confirm the HEC token settings, whether the token is restricted to specific indexes, and where the token is stored on the Wazuh side.
  • Splunk unreachable: Confirm whether events are buffered, retried or dropped during an outage, and how you would detect a gap in the data.

Check these five answers against your Splunk version and HEC configuration before you commit to this method.

Building the Splunk side and connecting Wazuh, step by step

This sequence sets up a dedicated Splunk HTTP Event Collector path, proves the connection with a test event, and only then sends production Wazuh data into Splunk so each stage can be checked before the next begins.

  1. Agree target indexes and sourcetypes with Splunk owners

    Before anything is configured, the Wazuh team and the Splunk administrator agree on which index receives Wazuh alerts, which receives archived or lower-value events if any, and which sourcetype names will be used. Splunk owners usually control index retention, access roles and licensing impact, so they should approve the names and sizes in writing. Confirm the sourcetype naming in the Wazuh documentation for your chosen forwarding method. Done when both teams have a signed-off list of indexes and sourcetypes and a named owner for each.

  2. Create the HTTP Event Collector input and token

    The Splunk administrator creates an HTTP Event Collector input and token, restricts the token to the approved indexes only, and sets a default index and sourcetype that match the plan from the previous step. Keep the token in a secrets store rather than in shared notes, and record which Splunk instance and management port it belongs to. Check the Splunk documentation for the current settings screen, since the menu path can change between Splunk versions. Done when the token shows as enabled and its allowed index list matches the approved plan.

  3. Confirm TLS trust from the Wazuh server to HEC

    From the Wazuh server, confirm that the HEC endpoint uses a certificate chain the server trusts, and that the connection is made over HTTPS on the port Splunk exposes. Test with a basic TLS connection tool before any Wazuh configuration is changed, and note the CA bundle path you will reference later. Do not disable certificate verification to get past an error; fix the trust chain instead. Done when the TLS handshake succeeds from the Wazuh server and the certificate subject and issuer match what the Splunk owner expects.

  4. Configure the chosen forwarding method on Wazuh

    On the Wazuh server, the team adds the forwarding configuration for the method chosen at design time, using the endpoint, token and index values from the earlier steps. Wazuh documents specific file locations and configuration keys for each forwarding method, so confirm the exact file names and key names in the Wazuh documentation for your installed version before editing. Restart the relevant service only after the configuration validates. Done when the Wazuh server logs show the forwarder loaded without configuration errors.

  5. Send a test event and confirm the index

    Send a single controlled test event from Wazuh, such as a test alert produced by a known rule, and search for it in Splunk using the intended index and sourcetype. The check passes when the search returns the test event in the approved index, with the expected fields present and no unexpected index or sourcetype created. The Wazuh server log should also show a successful send for that event. If the event lands elsewhere, stop and correct the index restriction on the token before continuing.

  6. Enable the production data scope

    Once the test event lands in the right place, the team widens the forwarded scope to the production alert set agreed earlier, and the Splunk owner watches ingest volume and index growth for the first working period. Keep the scope narrow at first so unexpected volume is easy to trace back to a single rule group or agent set. Confirm with the Splunk owner that license usage and search performance are within what they expected. Done when the production search returns expected alert volumes and the Splunk owner signs off on the ingest figures.

Which Wazuh data lands in which Splunk index

This table maps each category of Wazuh output to a planned Splunk index, sourcetype, retention owner and reason. Use it as a starting plan, then confirm each field name against the Wazuh field documentation before any Splunk search depends on it. The main takeaway is that dashboards and saved searches built on Wazuh fields need to be checked against the data as it actually arrives in Splunk.

Wazuh dataPlanned Splunk index and sourcetypeRetention ownerReason
Alerts by level (high severity, for example level 10 and above)Dedicated security alerts index, sourcetype planned per Wazuh alert format (confirm in Wazuh documentation)SOC or detection engineering leadKeeps high-severity detections searchable for investigations and short-cycle SOC work
Alerts below high severityLower-cost index with shorter retention, confirm sourcetype against the alert outputSecurity operations managerPreserves noisy, lower-level alerts for hunting without paying for premium search tiers
Archived events (full decoded event archive)Archive index or object storage path, not searched by default (confirm the archive file format)Compliance or records ownerSupports evidence requests and replay without loading all raw events into Splunk search
Agent logs and manager logsPlatform operations index, sourcetype planned for Wazuh daemon logsWazuh platform administratorSeparates health and troubleshooting data from security content so it can be restricted differently
Fields used by PCI DSS, GDPR, HIPAA and NIST 800-53 viewsSame index as the source alerts, with field names matched to Splunk searchesCompliance lead with the SIEM teamThe Wazuh dashboard keeps its prebuilt compliance views, so Splunk searches that mirror them need matching fields. Confirm each field name against the Wazuh field documentation.
Vulnerability detection and inventory findingsConfirm the index and sourcetype against the Wazuh output used for vulnerability detectionVulnerability management ownerInventory volume can be large, so separate retention may be needed
Custom rule and decoder output tagged by your teamIndex chosen to match the detection content owner, confirm field names before saved searchesDetection engineering leadLets teams see which custom content produced an alert and retire it when tuning changes

Deciding which dashboards live in Wazuh and which move to Splunk

The first decision is whether analysts will work in the Wazuh dashboard, in Splunk, or in both. Keeping Wazuh's prebuilt views as the analyst surface means the team uses the interface that ships with Wazuh, including the prebuilt views for regulatory frameworks such as PCI DSS, GDPR, HIPAA and NIST 800-53. Rebuilding those views in Splunk gives teams that already work there a single search and dashboard environment, but it means someone owns each rebuilt view, keeps it aligned with Wazuh rule changes and repeats that work after every Wazuh upgrade. Most teams are better served by choosing one primary analyst view per use case and deciding explicitly where the other one is used, rather than running both without an owner.

The researched material confirms the prebuilt compliance views in the Wazuh dashboard, but it does not describe a Splunk dashboard package. Do not assume one exists. Ask the Wazuh team and your Splunk administrators whether any Splunk dashboards or apps are provided for Wazuh alerts, which Wazuh version they were built for, and how they are imported, including whether they depend on specific field names or index layouts. If nothing is provided, the Splunk views are custom work and should be estimated as such in the scope.

Before deciding, inventory the views your analysts and auditors use today. For each one, record the data it needs (alerts, agent inventory, vulnerability findings or compliance mappings), the audience (SOC analysts, incident responders, auditors or management), the refresh expectation, and whether a Wazuh view already answers the question. Then mark which views must exist in Splunk because other Splunk content depends on them. The result is a short list that drives the build, the ownership model and the test plan for the migration.

Protecting the HEC token, transport and forwarded data

The Splunk link carries a credential that can write events into your Splunk environment, and it carries security telemetry that describes your endpoints and users. The controls below cover where the token lives, what it can reach, how traffic is protected, who can read the configuration, how the token is rotated, and which fields leave the Wazuh environment at all.

Keep the HEC token out of shared config

The HTTP Event Collector token is a credential that lets any holder send events into Splunk. Store it in a secrets manager or in a restricted file readable only by the service account that forwards events, not in general-purpose configuration repositories or shared runbooks. Before go-live, ask the Splunk admin where the token is issued and confirm who can view it in the Splunk settings. Then check the Wazuh hardening guidance on file permissions for the forwarding configuration.

Wazuh deployment options

Scope the token to required indexes

Each HEC token can be restricted to specific allowed indexes and sourcetypes in Splunk. Create a dedicated token for Wazuh events and allow only the index that receives them, so a leaked token cannot write into unrelated indexes. Confirm the exact index names and allowed sourcetypes with the Splunk admin before configuring the forwarder, because the index layout affects search access and retention.

Verify TLS between Wazuh and Splunk

Forwarded events and the HEC token travel over the network, so the connection should use TLS with certificate verification enabled. Confirm with the Splunk admin which certificate authority signs the HEC endpoint, and make sure the forwarder trusts that authority rather than disabling verification to get a connection working. Test the connection after any certificate renewal, since a silent verification failure can stop event delivery.

Limit read access to Wazuh configuration

The forwarding configuration on the Wazuh server holds the Splunk endpoint and, unless you move it elsewhere, the token itself. Restrict read access on that file to root and the service account, and limit who holds administrative access to the Wazuh server. Review the Wazuh hardening guidance for user access and confirm that dashboard and API accounts with the ability to change integration settings are limited to named operators.

Wazuh SSO guide

Rotate the token on a schedule

Set a rotation interval for the HEC token and rotate it immediately after staff with access to the Wazuh server or the Splunk token settings change roles or leave. Rotation requires updating the forwarder configuration and restarting or reloading the service, so plan a short maintenance window and agree the interval with the Splunk admin. Confirm that old tokens are disabled in Splunk, not only removed from the Wazuh configuration.

Review sensitive fields before forwarding

Wazuh alerts can include user names, file paths, hostnames, IP addresses and command lines, and these fields can reach Splunk and anyone with search access there. List the fields your rules produce, decide which ones Splunk needs for detection and which should be masked, removed or restricted by role, and agree that list with your privacy and legal contacts. Check the effect on your retention obligations before you change what is forwarded.

Where Wazuh to Splunk forwarding breaks and how to fix it

This table lists the failures teams most often hit when forwarding Wazuh alerts into Splunk, with the likely cause and a general fix for each. Read it as a triage guide: start with the Wazuh server logs and the Splunk HTTP Event Collector logs before changing any configuration, because most symptoms show their cause there first.

SymptomLikely causeFix
No events arriving in SplunkForwarder stopped, network path blocked to the HEC port, or the integration is not enabled on the Wazuh serverCheck the Wazuh server logs and Splunk HEC logs first. Confirm the service is running, then test connectivity from the Wazuh server to the HEC endpoint.
Events arriving in the wrong indexHEC token default index is not the one you intended, or the sourcetype and index were not set in the forwarding configurationSet the target index explicitly on the token and in the forwarding configuration. Confirm the index exists and that the token is allowed to write to it.
TLS handshake errorsCertificate chain not trusted by the Wazuh server, wrong protocol or port, or HEC configured for HTTPS while the sender uses HTTPConfirm the scheme and port match the HEC settings. Add the Splunk CA to the trust store used by the sender, and verify the certificate name matches the host you configured.
Token rejectedHEC token disabled, copied with extra whitespace, expired or assigned to an app that is not enabledRegenerate or re-enable the token in Splunk, paste it again without spaces, and check the HEC logs for the rejection reason.
Duplicate events after a method changeOld and new forwarding methods both active, so the same alerts are sent twiceDisable the previous method before enabling the new one. Compare event counts for a short window and deduplicate in searches using the Wazuh alert identifier if overlap already happened.
Backlog or loss during a Splunk outageSplunk unavailable or slow, and the sender has no durable queue or retry window covering the outageConfirm in documentation how the chosen method retries and buffers. Plan a fallback copy of alerts on disk or in the Wazuh indexer, and check counts after recovery.
Volume spike after enabling more sourcesNew log sources or decoders produce far more events than the license and index sizing assumedReview new sources before enabling them in production. Filter low-value events at the Wazuh side, set index limits, and confirm ingest volume in Splunk before widening the scope.

Questions teams ask before connecting Wazuh to Splunk

Does Wazuh need a license fee to forward data to Splunk?

No license fee applies to the self-hosted Wazuh software, which is distributed under the GNU General Public License version 2 with an OpenSSL linking exception. Your Splunk costs come from your own Splunk agreement, including the license terms that govern how much data you index. Forwarding alerts or events from Wazuh reduces or shapes what reaches Splunk, but the Wazuh side does not add a license line. Before you start, confirm your Splunk ingest entitlement, the data types you plan to send, and whether your Splunk contract charges by daily volume or by workload. Also review the Wazuh license file with your legal team if you plan to modify or redistribute the code.

How long does a Wazuh and Splunk integration take?

Duration depends on the number of log sources, how many indexes and sourcetypes you design, and how long your change approval process takes. A small pilot with one forwarding method and a few agents moves much faster than a multi-site rollout that needs new indexes, role changes and parsing checks. Change windows often set the pace more than the technical work. Ask any partner for a written timeline that lists each source, the index owner who signs off, and the test window in which Splunk searches are validated against live data.

Can our own team connect Wazuh to Splunk without a partner?

Yes, if you have administrators for both platforms and a window to test before production. Wazuh administrators need to manage the forwarding method and the source configuration, while Splunk administrators own the HTTP Event Collector token, index creation and search permissions. The work is mostly configuration and verification, but mistakes in index names or sourcetypes can quietly split data across places your analysts do not search. A team that has never handled both tools usually benefits from a dry run in a non-production Splunk environment before touching live data.

What does a partner need from our team to start?

A partner needs access to both platforms in a form that allows review and testing, including Wazuh administrator access, a Splunk account with rights to inspect indexes and tokens, and a test environment if one exists. They also need sample events from the sources you plan to forward, the names of the people who own each Splunk index, and the approval path for changes. Sample data matters because field names and sourcetypes decide whether dashboards and searches work. Agree in writing who will approve index and token changes before the first session.

Can Wazuh replace Splunk entirely?

Wazuh can serve as the collection, detection and alerting layer, and it can forward results into Splunk, but whether it replaces Splunk depends on your own use cases. Consider which searches, reports, retention rules, apps and analyst workflows currently depend on Splunk, and which of them Wazuh covers with its own dashboards and indexer. Many teams keep Splunk for specific reporting or compliance workflows while moving high-volume endpoint and log collection to Wazuh. Map each use case to a platform owner before deciding on a full migration.

Which Wazuh forwarding method should our engineers expect to configure?

The three documented forwarding methods differ in what they send, how they authenticate and how much Splunk-side setup they need, so the choice should follow your data types and volume. Engineers should confirm the method against the Wazuh documentation for the version they run, because the current release line is 4.14 and patch releases change behavior. Test each method with a limited set of agents and check the event format in Splunk before expanding. Document the chosen method, the token scope and the index mapping in the same change record.

What should we ask for in a written quote for this integration?

Ask for a scope that lists each log source, each forwarding method, the Splunk indexes and tokens to be created, and the dashboards or searches to be validated. The quote should separate one-time work, such as design, configuration and testing, from any recurring work, such as upgrades or ongoing support. Ask what the partner needs from your staff, how many review cycles are included, what changes after go-live are excluded, and who signs off on acceptance. Confirm how sensitive data, credentials and test samples will be handled during the engagement.

How DeployOpen scopes and delivers a Wazuh and Splunk integration

DeployOpen plans, implements, documents and supports self-hosted open-source platforms inside your own infrastructure, so a Wazuh and Splunk integration is scoped and built in the environments you control. Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.

How we scope

  • Inventory which Wazuh alert and log sources feed Splunk today and which ones you intend to keep there.
  • Agree which forwarding method fits your Wazuh version, network path and Splunk ingest plan.
  • Confirm HTTP Event Collector, index names, retention and access roles before any build begins.

How we build

  • Configure the Wazuh side of the chosen forwarding method and test it against a non-production Splunk instance.
  • Set up HTTP Event Collector tokens and indexes with the permissions your Splunk administrators approve.
  • Deploy the prebuilt Wazuh dashboards and check that fields and alerts display correctly for your analysts.

How we hand over

  • Deliver written configuration records covering forwarding settings, token handling, index mapping and filters.
  • Document the tests performed, the expected event counts and the steps to confirm ingest after changes.
  • Walk your security and Splunk teams through operations, including how to roll back a forwarding change.

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer after the initial handover.
  • Plan retesting when Wazuh or Splunk versions change, since forwarding behavior can shift between releases.
  • Ask any partner you engage to confirm support boundaries for both Wazuh and Splunk in the written scope.

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.