Integration with external APIs

The Integrator daemon allows Wazuh to connect to external APIs and alerting tools such as Slack, PagerDuty and VirusTotal.


The integrations are configured on the Wazuh manager's ossec.conf file which is located inside the Wazuh installation folder (/var/ossec/etc/). To configure an integration, add the following configuration inside the <ossec_config> section:

  <name> </name>
  <hook_url> </hook_url> <!-- Required for Slack -->
  <api_key> </api_key> <!-- Required for PagerDuty and VirusTotal -->

  <!-- Optional filters -->
  <rule_id> </rule_id>
  <level> </level>
  <group> </group>
  <event_location> </event_location>

After enabling the daemon and configure the integrations, restart the Wazuh manager to apply the changes:

  1. For Systemd:

# systemctl restart wazuh-manager
  1. For SysV Init:

# service wazuh-manager restart

The full configuration reference for the Integrator daemon can be found here.


This integration allows to receive alerts into a Slack channel thanks to the Incoming Webhooks, a simple way to post messages from 3rd-party apps (in this case, Wazuh).

This is an example configuration for the Slack integration:

  <hook_url></hook_url> <!-- Replace with your Slack hook URL -->


PagerDuty is a SaaS incident response platform suitable for IT departments. This integration allows to create a service using its official API in order to receive Wazuh alerts on the Incidents Dashboard.

This is an example configuration for the PagerDuty integration:

  <api_key>API_KEY</api_key> <!-- Replace with your PagerDuty API key -->

As seen on the screenshot below, alerts start coming into the dashboard:


New in version 3.0.0.

This integration allows the inspection of malicious files using the VirusTotal database. Find more information about this at the VirusTotal integration page.

This is an example configuration for the VirusTotal integration:

  <api_key>API_KEY</api_key> <!-- Replace with your VirusTotal API key -->

Custom integration

Integrator tool is able to connect wazuh with other external software. Read the How to integrate external software using Integrator document for more information.

This is an example configuration for a custom integration:

<!--Custom external Integration -->
  <api_key>APIKEY</api_key> <!-- Replace with your external service API key -->