Connecting Wazuh to BitSentry: Security event monitoring for ops teams

How BitSentry connects to the Wazuh indexer, queries your alert indices, and feeds security alerts into root cause analysis.

Wazuh is one of the most widely deployed open-source security platforms. It runs agents on your servers, collects security events, and stores them in the Wazuh indexer (OpenSearch). The problem is the same one every SIEM has: a wall of alerts that someone has to manually triage.

BitSentry’s Wazuh integration connects directly to the indexer, pulls security alerts, and feeds them into the same root cause analysis pipeline that handles application errors.


What the integration does

Wazuh stores security alerts in the indexer, typically in the wazuh-alerts-* indices. BitSentry queries these indices directly and pulls alert data including:

  • Agent information (which server triggered the alert)
  • Rule description (what Wazuh detected)
  • Timestamps
  • Full log payloads
  • Alert severity

This data becomes another signal in BitSentry’s investigation pipeline, alongside application errors from Sentry and server log analysis.

Two query modes

The integration supports two ways to pull data:

Search mode lets you run OpenSearch query_string queries against Wazuh indices. If you know what you’re looking for (a specific rule ID, agent name, or time window), this gives you direct access.

Collector mode runs date-based collection with agent filtering. It pulls one day of alerts and can include or exclude agents by name. Useful for scheduled ingestion where you want all of the day’s alerts from your production fleet, minus your development machines.

Search returns up to 100 alerts per page (20 by default). Collector mode pages through the day’s alerts, up to 1,000 per collection. Both return the full alert data.

How it connects

BitSentry talks only to the Wazuh indexer, usually on port 9200. It doesn’t call the Wazuh manager API. It signs in to the indexer with HTTP basic auth, using an indexer username and password, and runs read-only searches against the _search endpoint.

A read-only indexer user is enough. BitSentry only needs to read the alert indices.

If the indexer is unreachable, times out, or rejects the request, BitSentry reports the failure instead of returning an empty result, so a broken connection doesn’t look like a quiet night.

Why this matters

Most ops teams handle application errors and security alerts in separate workflows. Sentry errors go to the dev team, Wazuh alerts go to the security team, and nobody connects the two when a security event causes an application failure.

BitSentry puts both signals in the same investigation. When a server starts throwing 500 errors and Wazuh simultaneously detects a brute-force attempt on the same host, the AI and the responder see that context together instead of triaging two separate queues.

Setting it up

  1. Add your Wazuh indexer URL in BitSentry’s integration settings (for example https://wazuh.example.com:9200)
  2. Add the indexer username and password
  3. Set the index pattern (defaults to wazuh-alerts-*)
  4. Add agent include or exclude filters on the runbook step if you only want alerts from specific servers

BitSentry checks the indexer connection during setup. If it fails, you’ll know immediately.


When to use this

The Wazuh integration is most useful for teams that:

  • Run Wazuh in production and want security alerts correlated with application errors
  • Need to triage security events faster than manually reading the Wazuh dashboard
  • Want a single investigation pipeline for both ops and security incidents

If your Wazuh deployment generates hundreds of alerts per day and your team doesn’t have a dedicated security analyst triaging them full-time, this integration feeds that alert volume into root cause analysis you can act on.