Modern security environments generate thousands, or even millions, of log events every day. Without an effective alerting system, security teams can easily miss indicators of compromise, policy violations, or operational failures buried within that data. This is where Wazuh alerts become essential.
Rather than requiring administrators to manually review every log entry, Wazuh automatically analyzes incoming events, applies detection rules, and generates actionable alerts whenever suspicious or noteworthy activity is detected.
Whether you’re monitoring authentication failures, malware activity, file integrity changes, privilege escalation attempts, cloud infrastructure, or endpoint security events, properly configured Wazuh alerts enable security teams to respond faster and reduce the time attackers remain undetected.
Wazuh’s rule engine is highly customizable, allowing organizations to tune alert severity, eliminate false positives, and integrate alerts with external notification and incident response platforms.
In this guide, you’ll learn how Wazuh alerts work, how they’re generated, how to configure them effectively, and the best practices for optimizing alert quality while minimizing alert fatigue.
You’ll also learn how alerts flow through the entire Wazuh architecture, from log collection to dashboard visualization and external integrations.
Expert insight: The SANS Institute consistently emphasizes that effective security monitoring depends not on collecting more data, but on generating high-fidelity alerts that analysts can investigate quickly. Excessive low-value alerts contribute directly to alert fatigue and missed incidents.
What Are Wazuh Alerts?
Wazuh alerts are structured security events produced after the Wazuh Manager analyzes incoming logs against its decoders and detection rules.
Rather than simply storing raw logs, Wazuh transforms them into meaningful security findings that describe what occurred, where it happened, how severe it is, and why administrators should care.
Alerts form the foundation of Wazuh’s detection capabilities.
Every dashboard visualization, security report, active response action, and external notification begins with a generated alert.
Definition of Wazuh Alerts
A Wazuh alert is a processed event that matches one or more detection rules within the Wazuh Manager.
Each alert contains rich metadata that helps analysts understand the event, including:
- Rule ID
- Severity level
- Rule description
- Timestamp
- Agent information
- Source IP address
- Username
- File paths
- Process names
- MITRE ATT&CK mappings (when available)
- Compliance mappings (PCI DSS, HIPAA, NIST, GDPR, etc.)
Unlike raw log entries, alerts are normalized into a consistent format that makes searching, filtering, correlation, and automated response much easier.
How Alerts Are Generated Within the Wazuh Architecture
Every alert follows a processing pipeline before appearing in the dashboard.
- A monitored endpoint generates a log.
- The Wazuh Agent (or another log source) forwards the event to the Wazuh Manager.
- The manager selects the appropriate decoder.
- The decoder extracts useful fields from the raw log.
- Detection rules evaluate the parsed data.
- Matching rules generate an alert.
- The alert is indexed into the Wazuh Indexer.
- The Wazuh Dashboard displays the alert for analysts.
Because this pipeline separates log parsing from rule evaluation, administrators can support virtually any log format while building highly customized detections.
Relationship Between Agents, Manager, Rules, Decoders, and Alerts
Several Wazuh components work together before an alert is generated.
- Wazuh Agent collects logs, system information, file integrity events, vulnerability data, and security telemetry.
- Wazuh Manager receives and processes incoming events.
- Decoders identify log formats and extract structured fields.
- Rules analyze decoded fields to determine whether security conditions are met.
- Alerts are produced whenever a rule matches the event.
Understanding this relationship is essential because alert quality depends heavily on properly written decoders and well-designed detection rules.
For deeper coverage of rule creation, see How to Create Custom Detection Rules in Wazuh.
For decoder customization, see Wazuh Decoder Guide.
Types of Security Events That Generate Alerts
Almost any security-related event can generate a Wazuh alert, including:
- Failed SSH logins
- Windows authentication failures
- Privilege escalation attempts
- Malware detections
- File Integrity Monitoring (FIM) changes
- Unauthorized configuration modifications
- Brute force attacks
- Suspicious PowerShell execution
- Cloud infrastructure events
- Docker and Kubernetes activity
- Vulnerability detections
- Compliance violations
- Firewall events
- IDS/IPS detections from Suricata
- Threat intelligence matches from VirusTotal
Because Wazuh supports hundreds of built-in rulesets and custom rule development, organizations can tailor alerting to their own security requirements.
Relevant guides include:
Benefits of Properly Configured Alerts
Well-designed alerts provide significantly more value than simply generating large volumes of notifications.
Benefits include:
- Faster incident detection
- Reduced attacker dwell time
- Improved SOC efficiency
- Lower false positive rates
- Better compliance reporting
- Automated incident response
- Improved visibility across endpoints and cloud environments
- Easier forensic investigations
According to IBM’s Cost of a Data Breach Report, organizations that identify and contain incidents more quickly experience substantially lower breach costs, highlighting the importance of effective alerting and rapid detection.
How Wazuh Alerting Works
Understanding the alert lifecycle makes troubleshooting and customization much easier.
Every alert passes through several processing stages before reaching analysts.
Event Collection from Monitored Endpoints
Everything begins with data collection.
The Wazuh Agent continuously monitors configured data sources such as:
- Operating system logs
- Windows Event Logs
- Linux syslog
- File Integrity Monitoring
- Auditd
- Sysmon
- Containers
- Kubernetes
- Cloud platforms
- Network devices
- Third-party applications
External systems can also forward logs through Syslog, Filebeat, Fluent Bit, Logstash, and other supported collectors.
If you’re configuring centralized log collection, see How to Configure Wazuh as a Centralized Syslog Server.
Log Decoding Process
Raw logs arrive in many different formats.
Before rules can analyze them, Wazuh decoders convert unstructured log messages into structured fields.
A decoder extracts information such as:
- Username
- IP address
- Hostname
- Process
- Event ID
- File path
- Command executed
- HTTP status code
- Application name
This normalization allows a single ruleset to analyze events consistently across multiple platforms.
Custom decoders can also be written for proprietary applications and internal software.
For more information, see Wazuh Decoder Guide.
Rule Evaluation and Matching
After decoding, the event passes through Wazuh’s hierarchical rule engine.
Rules examine extracted fields and evaluate conditions such as:
- Regular expressions
- Frequency thresholds
- Time windows
- Field values
- Parent-child relationships
- Previous event correlation
- Geographic conditions
- Threat intelligence matches
Multiple rules may evaluate a single event before the final alert is generated.
Organizations commonly customize rules to:
- suppress noisy events
- increase alert severity
- create organization-specific detections
- reduce false positives
For advanced rule creation, see The Complete Custom Wazuh Rules and Decoders Guide.
Alert Creation and Indexing
Once a rule matches, Wazuh creates a structured JSON alert.
The alert contains:
- Rule metadata
- Agent details
- Severity level
- Event data
- Decoder information
- Compliance mappings
- MITRE ATT&CK techniques
- Timestamp
- Source information
The alert is then forwarded to the Wazuh Indexer, where it becomes searchable and available for dashboards, reporting, and analytics.
Alert Visualization in the Wazuh Dashboard
After indexing, alerts appear almost immediately in the Wazuh Dashboard.
Analysts can:
- Search alerts
- Filter by severity
- Investigate affected agents
- Review timelines
- Pivot into related events
- Build dashboards
- Create saved searches
- Monitor attack trends
Dashboard visualizations make it significantly easier to identify ongoing attacks than reviewing raw log files manually.
Alert Forwarding to External Systems
Many organizations extend Wazuh by forwarding alerts to external platforms.
Common destinations include:
- Email notifications
- Slack
- PagerDuty
- SIEM platforms
- SOAR platforms
- Webhooks
- Ticketing systems
- Security orchestration workflows
Forwarding enables automated incident response and ensures critical alerts reach the appropriate teams immediately.
Relevant integration guides include:
Expert insight: The MITRE ATT&CK framework encourages organizations to enrich detections with adversary techniques and tactics, allowing analysts to prioritize alerts based on attacker behavior rather than isolated events. Wazuh supports MITRE ATT&CK mappings in many built-in rules.
Prerequisites
Before configuring Wazuh alerts, verify that the core components of your deployment are functioning correctly.
Alerting depends on several services working together, and problems with any of them can prevent alerts from being generated or displayed.
Working Wazuh Deployment
Ensure your Wazuh environment is fully operational before making alert configuration changes.
Agents should already be enrolled, logs should be arriving at the manager, and events should appear in the dashboard.
If you’re deploying a new environment, consult The Complete Wazuh Cluster Architecture Guide or The Ultimate Wazuh Agent Deployment Guide.
Wazuh Manager Installed
The Wazuh Manager performs all decoding, rule evaluation, and alert generation.
Confirm that the manager service is running and processing incoming events without errors.
Verify:
- Manager service is active
- Rules are loading successfully
- Decoders initialize correctly
- No configuration errors appear in the manager logs
Wazuh Dashboard Access
You’ll need administrative access to the Wazuh Dashboard to:
- View generated alerts
- Search indexed events
- Validate rule matches
- Investigate alert details
- Test configuration changes
If the dashboard isn’t accessible, see Wazuh Dashboard Not Loading? Complete Troubleshooting Guide.
Wazuh Indexer Operational
The Wazuh Indexer stores generated alerts.
Even if the manager successfully creates alerts, they won’t appear in the dashboard if indexing fails.
Check that:
- Indexer cluster health is green or acceptable
- Alert indices exist
- Disk usage is sufficient
- Index templates are healthy
- No shard allocation issues are present
Related resources:
Administrative Privileges
Most alert configuration tasks require administrative or root-level access to edit configuration files, restart Wazuh services, manage rules, and verify system logs.
Ensure you have the necessary permissions before making changes to production systems.
Sample Log Source for Testing
Finally, prepare a reliable log source to validate your alert configuration.
This could be:
- A Linux system generating authentication events
- A Windows endpoint producing Event Logs
- A firewall forwarding Syslog messages
- A web server such as Apache or NGINX
- A test application with custom log entries
Using predictable test events allows you to confirm that logs are collected, decoded, matched against rules, indexed, and displayed correctly throughout the entire alerting pipeline.
Understanding the Wazuh Alert Pipeline
Before customizing alerts, it’s important to understand how Wazuh processes security events.
Every alert follows a structured pipeline that transforms raw logs into actionable security intelligence.
Knowing how each stage works makes it much easier to troubleshoot missing alerts, tune detection accuracy, and create custom rules.
Log Collection
Everything begins with log collection.
Wazuh gathers security events from a wide variety of data sources, including:
- Windows Event Logs
- Linux Syslog
- Auditd
- Sysmon
- Apache and NGINX logs
- Firewall logs
- Kubernetes
- Docker
- Cloud platforms such as AWS, Azure, and GCP
- Network devices
- Databases
- Third-party security tools
Depending on your deployment, logs may be collected directly by Wazuh Agents or forwarded from external systems using Syslog, Filebeat, Logstash, Fluent Bit, or other supported collectors.
Common examples include:
| Source | Example Event |
|---|
| Windows | Failed login |
| Linux | SSH authentication failure |
| Apache | HTTP 404 or 500 errors |
| Firewall | Blocked connection |
| Sysmon | PowerShell execution |
| Kubernetes | Pod creation |
| CloudTrail | IAM policy modification |
Proper log collection is the foundation of effective alerting. If logs never reach the manager, alerts cannot be generated.
Related Guide:
Decoders
Once logs arrive at the Wazuh Manager, they pass through decoders.
A decoder identifies the log format and extracts structured fields from otherwise unstructured text.
For example, this raw log:
May be decoded into:
- Username: root
- Source IP: 192.168.1.15
- Port: 52144
- Service: SSH
- Event type: Failed authentication
This structured information allows the rule engine to make intelligent decisions rather than searching raw text.
Wazuh includes hundreds of built-in decoders covering common operating systems, applications, cloud services, and security products.
Administrators can also create custom decoders for proprietary applications.
Related Guide: Wazuh Decoder Guide
Rules
After decoding, the extracted fields are evaluated by Wazuh’s rule engine.
Rules define the conditions that determine whether an event represents normal activity, a policy violation, or a potential security incident.
Rules can evaluate:
- Event IDs
- Regular expressions
- Source IP addresses
- Usernames
- File paths
- Process names
- Frequency thresholds
- Time windows
- Previous matching events
- Parent-child rule relationships
Thousands of predefined rules are included with Wazuh, covering everything from malware detection to cloud security monitoring.
Administrators frequently create custom rules to detect organization-specific activity or reduce unnecessary alerts.
Related Guide: How to Create Custom Detection Rules in Wazuh (With Examples)
Rule Matching
As each event passes through the ruleset, Wazuh evaluates every applicable rule until a match occurs.
Multiple rules may apply to the same event.
For example:
- A decoder identifies a failed SSH login.
- A generic authentication rule matches.
- A Linux-specific authentication rule matches.
- A brute force correlation rule detects repeated failures.
- A high-severity alert is generated.
This layered evaluation enables increasingly sophisticated detections while minimizing duplicate processing.
Rule matching also supports:
- Event correlation
- Frequency analysis
- Stateful detection
- Parent-child relationships
- Dynamic field evaluation
- Threat intelligence enrichment
Alert Generation
When a rule successfully matches, Wazuh generates a structured JSON alert.
A typical alert contains:
- Rule ID
- Rule description
- Alert level
- Agent name
- Timestamp
- Source IP
- Username
- Decoder used
- Rule groups
- Compliance mappings
- MITRE ATT&CK techniques
- Full event data
The alert represents the final result of Wazuh’s detection engine and becomes available for searching, reporting, dashboards, and automated responses.
Alert Storage
Generated alerts are forwarded to the Wazuh Indexer.
The Indexer stores alerts inside OpenSearch indices where they become searchable in near real time.
Indexed alerts can be:
- Queried
- Filtered
- Correlated
- Aggregated
- Visualized
- Archived
- Exported
Retention policies determine how long alerts remain searchable before being deleted or archived.
Related Guide:
Dashboard Visualization
The Wazuh Dashboard provides analysts with a centralized interface for investigating alerts.
Common dashboard capabilities include:
- Alert timelines
- Severity breakdowns
- MITRE ATT&CK visualizations
- Agent health
- Search and filtering
- Geographic maps
- Trend analysis
- Compliance dashboards
Analysts can drill down from a summary dashboard into the full JSON alert to investigate every field generated by the detection engine.
Notification Integrations
Many organizations require alerts to trigger notifications outside the Wazuh Dashboard.
Wazuh supports forwarding alerts to systems including:
- Email
- Slack
- PagerDuty
- Webhooks
- SOAR platforms
- SIEM solutions
- Ticketing systems
Notifications can be filtered based on:
- Alert level
- Rule ID
- Rule group
- Agent
- Event type
- Compliance category
This ensures only high-value alerts reach incident responders while lower-priority events remain searchable without creating unnecessary noise.
Expert insight: The National Institute of Standards and Technology (NIST) recommends implementing centralized security event monitoring with automated alerting and prioritization to improve incident detection and response effectiveness.
Understanding Wazuh Alert Levels
Every Wazuh alert is assigned a severity level ranging from 0 to 16.
These levels help security teams prioritize investigations by indicating how serious an event is.
Instead of treating every event equally, analysts can focus on high-risk detections while filtering out routine informational activity.
Alert levels can be customized for individual rules, allowing organizations to tailor severity ratings to their own risk tolerance and operational requirements.
Severity Levels (0–16)
Wazuh assigns an integer value between 0 and 16 to every generated alert.
Generally speaking:
| Alert Level | Meaning |
|---|
| 0 | Ignored or informational processing |
| 1–3 | Informational activity |
| 4–6 | Low-risk events |
| 7–9 | Medium-risk security events |
| 10–12 | High-priority threats |
| 13–16 | Critical incidents requiring immediate attention |
Higher numbers indicate greater urgency, although administrators may customize individual rule severities to better reflect their environment.
Informational Alerts
Informational alerts record routine system activity without indicating malicious behavior.
Examples include:
- Service startup
- Successful logins
- Configuration changes
- Scheduled tasks
- Normal system operations
These alerts provide valuable context during investigations but rarely require immediate action.
Low-Priority Events
Low-severity alerts often indicate events that deserve monitoring but are not necessarily security incidents.
Examples include:
- Single failed login attempts
- Minor configuration warnings
- Expected application errors
- User account changes
- Temporary connectivity issues
Security teams often retain these alerts for auditing and trend analysis while suppressing notifications to reduce alert fatigue.
Medium-Severity Alerts
Medium-priority alerts typically indicate suspicious behavior that warrants investigation.
Examples include:
- Repeated authentication failures
- Suspicious process execution
- Unexpected administrative activity
- Privilege changes
- Firewall policy modifications
Analysts should review these alerts promptly to determine whether additional escalation is necessary.
High-Severity Threats
High-severity alerts generally represent events with a strong likelihood of malicious activity.
Examples include:
- Malware detections
- Privilege escalation
- Persistence mechanisms
- Lateral movement
- Exploit attempts
- Multiple failed login correlations
- File Integrity Monitoring changes on sensitive files
Many organizations configure automated notifications or active response actions for alerts in this range.
Related Guide: How to Configure Wazuh Active Response
Critical Security Incidents
Critical alerts represent confirmed or highly probable attacks that require immediate attention.
Examples include:
- Ransomware indicators
- Remote code execution
- Known command-and-control communication
- Root compromise
- Credential theft
- Security policy bypasses
- Confirmed malware execution
Organizations often integrate these alerts with incident response workflows, ticketing systems, and on-call notification platforms.
Recommended Response Priorities
Although every environment has different requirements, a common prioritization strategy is:
| Alert Level | Recommended Response |
|---|
| 0–3 | Record for auditing |
| 4–6 | Monitor trends |
| 7–9 | Analyst review |
| 10–12 | Investigate immediately |
| 13–16 | Initiate incident response |
Rather than relying solely on severity, mature security operations centers also consider asset criticality, threat intelligence, user context, and historical activity before determining the overall priority of an alert.
Expert insight: Google’s Mandiant incident response teams emphasize prioritizing alerts based on both severity and business impact to reduce analyst overload and improve response times.
Understanding Default Wazuh Alert Rules
One of Wazuh’s biggest strengths is its extensive library of built-in detection rules.
These rules allow organizations to begin identifying common attacks immediately after deployment without writing custom detections from scratch.
The default rulesets cover operating systems, network devices, cloud services, applications, malware indicators, authentication events, compliance frameworks, and adversary techniques.
Built-in Rulesets
Wazuh includes thousands of predefined rules organized into logical categories.
These rules monitor events such as:
- Authentication
- File Integrity Monitoring
- Vulnerability detection
- Sysmon activity
- CloudTrail
- Windows Event Logs
- Linux audit logs
- Apache
- NGINX
- Docker
- Kubernetes
- Suricata
- VirusTotal
- Firewall events
Because these rules are maintained by the Wazuh project, administrators receive updated detections when upgrading to newer releases.
Rule IDs
Every Wazuh rule has a unique numeric identifier.
For example, an alert includes a field similar to:
Rule IDs allow administrators to:
- Identify specific detections
- Create exceptions
- Override default behavior
- Adjust severity
- Build custom correlation rules
- Search historical alerts
Rule Groups
Rules are organized into groups that classify similar detections.
Common rule groups include:
- authentication
- ssh
- windows
- malware
- sysmon
- firewall
- web
- cloud
- compliance
- audit
- policy
Groups make it easier to search alerts, create dashboards, and apply notification filters.
Rule Inheritance
Wazuh supports hierarchical rule inheritance.
A child rule can inherit behavior from a parent rule while adding additional detection logic.
For example:
- Parent rule identifies SSH authentication.
- Child rule detects repeated failures.
- Another child rule identifies brute force attacks.
- A further child rule increases severity when root accounts are targeted.
This layered approach reduces duplication and keeps rules easier to maintain.
Compliance Mappings
Many default rules include mappings to widely adopted regulatory and security frameworks.
These mappings simplify compliance reporting by automatically associating alerts with relevant controls.
Supported mappings include:
- PCI DSS
- HIPAA
- GDPR
- NIST 800-53
- CIS Controls
Compliance dashboards can then filter alerts based on the applicable framework, helping auditors and compliance teams demonstrate control effectiveness.
MITRE ATT&CK Mappings
Many Wazuh rules also map directly to the MITRE ATT&CK framework.
For example, an alert may identify techniques related to:
- Initial Access
- Persistence
- Privilege Escalation
- Defense Evasion
- Credential Access
- Discovery
- Lateral Movement
- Command and Control
- Exfiltration
These mappings help analysts understand attacker behavior rather than viewing events in isolation.
Organizations can also build dashboards that visualize ATT&CK techniques observed across their environments.
PCI DSS, HIPAA, GDPR Mappings
In addition to MITRE ATT&CK, many default rules include references to regulatory frameworks such as PCI DSS, HIPAA, and GDPR.
This allows organizations to:
- Generate compliance reports
- Demonstrate monitoring controls
- Track security events affecting regulated systems
- Simplify audit preparation
- Correlate alerts with specific compliance requirements
Combined with customizable dashboards and alert searches, these mappings make Wazuh a valuable tool for both security operations and regulatory compliance.
For organizations with unique compliance requirements, custom rules can extend these mappings while preserving compatibility with the built-in ruleset.
Related Guide: The Complete Custom Wazuh Rules and Decoders Guide
Configuring Alert Generation
Wazuh provides extensive control over how alerts are generated, stored, and displayed.
Most alert-related settings are configured in the ossec.conf file on the Wazuh Manager.
By adjusting these options, you can control which events generate alerts, how alerts are stored, and which formats are available for dashboards and integrations.
Before making any changes, it’s recommended to back up your existing configuration and validate syntax after every modification.
Editing ossec.conf
The primary Wazuh configuration file is located at:
Open the file using your preferred text editor:
Alert generation settings are primarily located within the <alerts>, <logging>, and related configuration sections.
When editing the file:
- Preserve XML formatting.
- Ensure every opening tag has a matching closing tag.
- Avoid duplicate configuration blocks.
- Validate changes before restarting services.
Configuration syntax errors can prevent the Wazuh Manager from starting.
Related Guide: How to Fix ossec.conf Syntax Errors in Wazuh Agents
Configuring Global Alert Settings
Global alert settings determine the minimum severity required before an event becomes an alert.
A typical configuration looks like:
Key options include:
| Setting | Purpose |
|---|
log_alert_level | Minimum severity written to alert logs |
email_alert_level | Minimum severity for email notifications |
| Global rules | Controls baseline alert generation behavior |
For example:
- Setting
log_alert_level to 1 records nearly every event. - Setting it to 7 records only medium and high-severity alerts.
- Higher thresholds reduce storage usage and alert volume but may hide useful forensic information.
Choose thresholds that balance visibility with operational efficiency.
Enabling JSON Alerts
Modern Wazuh deployments typically use JSON-formatted alerts because they integrate seamlessly with the Wazuh Indexer, OpenSearch, APIs, and external automation platforms.
JSON alerts include structured fields such as:
- Rule ID
- Alert level
- Agent name
- Timestamp
- Source IP
- User
- Decoder
- Compliance mappings
- MITRE ATT&CK techniques
Structured JSON is significantly easier to parse than plain text and is recommended for production environments.
If you’re integrating Wazuh with external SIEMs, SOAR platforms, or custom scripts, JSON alerts should almost always be enabled.
Configuring Log Alerts
Alert logging determines which generated alerts are written to disk.
Depending on the configured alert level, Wazuh stores alert information under:
Common alert files include:
Administrators often configure logging based on:
- Storage capacity
- Compliance requirements
- Incident response needs
- Retention policies
- External log forwarding
Lower thresholds capture more events but increase storage consumption.
Configuring Archive Logs
Archive logs differ from alerts.
While alerts contain only events that matched detection rules, archive logs preserve the original processed events regardless of whether they generated alerts.
Archive logging is valuable for:
- Forensic investigations
- Rule development
- Decoder testing
- Historical analysis
- Compliance audits
However, archive logs can consume significant disk space in busy environments.
Organizations commonly retain archives for shorter periods while keeping alerts available for longer-term investigations.
Related Guide:
Restarting Wazuh Services
After modifying ossec.conf, restart the Wazuh Manager so the new configuration takes effect.
Example:
Verify the service starts successfully:
If the service fails to restart:
- Review manager logs.
- Check XML syntax.
- Verify recently modified configuration sections.
- Validate custom rules if they were edited simultaneously.
Avoid making multiple configuration changes at once, as this makes troubleshooting more difficult.
Verifying Configuration
Once the manager is running again, confirm that alerts are being generated correctly.
Recommended verification steps include:
- Generate a known security event (such as a failed SSH login).
- Confirm the event appears in
alerts.json. - Verify the alert is indexed in the Wazuh Indexer.
- Search for the alert in the Wazuh Dashboard.
- Confirm any configured notifications (email, Slack, PagerDuty, etc.) are delivered.
- Review the assigned rule ID and alert level to ensure they match expectations.
Testing after every configuration change helps identify issues early before deploying updates to production environments.
Creating Custom Alert Rules
Although Wazuh ships with thousands of built-in detection rules, every organization has unique security requirements.
Custom rules allow you to detect organization-specific activity, tune alert severity, reduce false positives, and monitor proprietary applications without modifying the default ruleset.
Best practice is to place all custom rules in local_rules.xml, ensuring they remain intact during Wazuh upgrades.
Creating local_rules.xml
Custom rules are typically stored in:
If the file doesn’t already exist, create it and define your custom rules within the root <group> element.
Keeping custom rules separate from the built-in rulesets simplifies maintenance and prevents your changes from being overwritten when updating Wazuh.
Related Guide: The Complete Custom Wazuh Rules and Decoders Guide
Assigning Rule IDs
Each custom rule requires a unique rule ID.
General recommendations include:
- Use IDs outside the ranges reserved for built-in Wazuh rules.
- Keep IDs organized by application or detection category.
- Document assigned IDs for future maintenance.
- Avoid reusing existing IDs to prevent unexpected behavior.
A consistent numbering strategy makes large rule libraries easier to manage over time.
Setting Alert Levels
Every rule should include an appropriate severity level between 0 and 16.
Consider factors such as:
- Likelihood of malicious activity
- Potential business impact
- Confidence in the detection
- Frequency of occurrence
For example:
- Informational events may use levels 1–3.
- Suspicious activity may use levels 7–9.
- Confirmed attacks may use levels 12–16.
Accurate severity assignments help analysts prioritize investigations and reduce alert fatigue.
Matching Specific Events
Rules can target highly specific activity by matching fields extracted during the decoding process.
Common matching criteria include:
- Event IDs
- Usernames
- Source or destination IP addresses
- Process names
- File paths
- Registry keys
- HTTP methods
- URLs
- Cloud service actions
- Authentication events
The more precise your matching logic, the fewer false positives your rules are likely to generate.
Using Regular Expressions
Regular expressions (regex) allow rules to detect patterns rather than exact values.
Examples include matching:
- Multiple usernames
- IP address ranges
- Command-line arguments
- File extensions
- URL paths
- Suspicious PowerShell commands
- Malware naming conventions
While regex provides flexibility, overly broad expressions can increase processing overhead and generate unintended matches.
Test expressions carefully before deploying them in production.
Correlating Multiple Events
One of Wazuh’s most powerful capabilities is event correlation.
Rather than generating alerts for isolated events, rules can detect suspicious behavior occurring over time.
Examples include:
- Multiple failed logins within five minutes.
- Repeated privilege escalation attempts.
- Numerous file modifications in sensitive directories.
- Brute-force attacks against administrative accounts.
- Sequential execution of known attack techniques.
Correlation significantly improves detection fidelity by identifying patterns that individual events cannot reveal.
Related Guide:
Testing New Rules
Always validate custom rules before deploying them into production.
A recommended testing process includes:
- Generate sample log events.
- Use
wazuh-logtest to verify decoding and rule matching. - Confirm the expected rule ID is triggered.
- Check the assigned alert level.
- Verify the alert appears in the Wazuh Dashboard.
- Confirm integrations and notifications work as expected.
Thorough testing helps identify syntax errors, incorrect matching logic, and unexpected rule interactions before they affect production monitoring.
Related Guide:
Reducing Alert Noise
One of the biggest challenges in any Security Operations Center (SOC) is alert fatigue.
Excessive low-value alerts can overwhelm analysts, delay investigations, and increase the likelihood of overlooking genuine threats.
An effective Wazuh deployment focuses on producing high-fidelity alerts by suppressing unnecessary events while preserving valuable security data.
Expert insight: The Center for Internet Security (CIS) recommends continuously tuning detection rules and reducing false positives as part of an effective continuous monitoring program, helping analysts focus on actionable events.
Rule Suppression
Rule suppression prevents specific alerts from being generated under defined conditions.
Common suppression scenarios include:
- Known maintenance activities
- Approved administrative actions
- Routine system scans
- Expected software updates
- Internal monitoring tools
Suppress only well-understood events to avoid hiding legitimate attacks.
Ignore Rules
In some cases, entire categories of low-value events can be ignored.
Examples include:
- Repetitive health checks
- Successful routine authentications
- Expected application warnings
- Scheduled automation jobs
- Benign service restarts
Ignoring unnecessary events reduces storage requirements and improves dashboard usability without affecting critical detections.
Frequency Thresholds
Some security events become meaningful only when they occur repeatedly.
Frequency-based rules trigger alerts only after predefined thresholds are reached.
Examples include:
- Five failed logins within two minutes.
- Ten blocked firewall connections from the same IP.
- Multiple malware detections on one endpoint.
- Repeated execution of suspicious commands.
Thresholds significantly reduce noise from isolated events while highlighting coordinated attacks.
Time-Based Suppression
Time-based suppression limits how often identical alerts are generated within a specified period.
For example, instead of generating hundreds of identical alerts during a brute-force attack, Wazuh can consolidate repeated events into a smaller number of meaningful alerts.
Benefits include:
- Reduced alert storms
- Lower storage usage
- Easier analyst review
- Improved notification quality
This approach is particularly useful for noisy infrastructure components and internet-facing services.
Duplicate Event Handling
Duplicate events frequently occur when multiple systems report the same activity.
Examples include:
- Endpoint agents
- Firewalls
- IDS/IPS platforms
- Cloud logging services
- Syslog relays
Proper rule tuning and event correlation help eliminate redundant alerts while preserving the underlying security context.
Whitelisting Trusted Activity
Trusted systems, service accounts, and known administrative actions often generate predictable events.
Common whitelist candidates include:
- Vulnerability scanners
- Backup servers
- Domain controllers
- Configuration management tools
- Approved automation platforms
- Internal monitoring services
Whitelisting reduces unnecessary alerts while allowing security teams to concentrate on unexpected or unauthorized activity.
Whitelists should be reviewed regularly to ensure they remain accurate and do not inadvertently exclude malicious activity originating from compromised trusted systems.
Filtering Unnecessary Events
The final step in reducing alert noise is filtering events that provide little security value.
Organizations commonly filter:
- Debug logs
- Informational application messages
- Temporary network failures
- Routine scheduled jobs
- Duplicate monitoring events
- Non-security operational logs
Rather than aggressively filtering everything, start conservatively and refine your configuration over time based on real-world alert volumes, analyst feedback, and incident response outcomes.
Related Guide:
Configuring Email Alerts
Email remains one of the simplest and most widely used methods for delivering Wazuh alerts.
Although many organizations integrate Wazuh with messaging platforms, SIEMs, or SOAR solutions, email notifications are still valuable for notifying administrators of critical events, system failures, and security incidents.
Rather than sending every alert, it’s considered a best practice to notify administrators only when alerts exceed a defined severity threshold.
This helps reduce alert fatigue while ensuring important incidents receive immediate attention.
Email Server Settings
Wazuh can send alert notifications through an SMTP server.
Typical configuration includes:
- SMTP server hostname
- SMTP port
- Sender email address
- Recipient email addresses
- Authentication settings
- TLS or SSL encryption
These settings are typically configured within the Wazuh Manager configuration file.
When selecting an email server, ensure it:
- Allows SMTP relay from the Wazuh Manager.
- Supports authenticated SMTP.
- Uses modern encryption protocols.
- Can reliably deliver high-priority notifications.
SMTP Configuration
SMTP (Simple Mail Transfer Protocol) handles the delivery of email alerts.
Common SMTP providers include:
- Microsoft 365
- Google Workspace
- Amazon SES
- SendGrid
- Postfix
- Exchange Server
Typical SMTP settings include:
| Setting | Example |
|---|
| SMTP server | smtp.example.com |
| Port | 587 |
| Encryption | STARTTLS |
| Sender | wazuh@example.com |
Use the configuration values provided by your organization’s email provider.
Authentication
Most modern SMTP servers require authentication before accepting email.
Authentication typically consists of:
- Username
- Password
- SMTP authentication method
Where possible:
- Use a dedicated service account.
- Limit permissions to email delivery only.
- Rotate credentials regularly.
- Store credentials securely.
Avoid using personal administrator accounts for automated alert delivery.
TLS Encryption
Always encrypt SMTP traffic whenever possible.
TLS protects:
- Authentication credentials
- Email contents
- Recipient information
- Alert metadata
Without encryption, sensitive security information may be exposed during transmission.
Current best practices recommend:
- TLS 1.2 or newer
- Valid server certificates
- Certificate verification
- Secure SMTP ports (587 or 465, depending on your provider)
Alert Thresholds
Email should generally be reserved for high-priority events.
Instead of emailing every alert, configure a minimum alert level that reflects your organization’s response priorities.
For example:
| Alert Level | Email Recommendation |
|---|
| 0–6 | No email |
| 7–9 | Optional |
| 10–12 | Recommended |
| 13–16 | Immediate notification |
This approach dramatically reduces unnecessary notifications while ensuring critical incidents receive prompt attention.
Recipient Configuration
Wazuh supports one or more email recipients.
Organizations commonly configure notifications for:
- SOC analysts
- Security administrators
- Incident response teams
- On-call engineers
- Compliance personnel
Many organizations also route alerts to distribution groups rather than individual users, simplifying administrative management.
Testing Email Delivery
After configuring email alerts:
- Restart the Wazuh Manager.
- Generate a known high-severity alert.
- Confirm the alert appears in the dashboard.
- Verify the email is delivered.
- Review spam or quarantine folders if necessary.
- Check SMTP server logs for delivery failures.
If email delivery fails, verify:
- SMTP hostname
- Firewall connectivity
- Authentication credentials
- TLS configuration
- Sender permissions
- DNS resolution
Related Guide: Wazuh Email Alerts Not Working? Complete Fix Guide
Expert insight: The Cybersecurity and Infrastructure Security Agency (CISA) recommends implementing reliable alert notification mechanisms and regularly testing them to ensure security teams receive timely notifications during incidents.
Integrating Alerts with External Platforms
Most enterprise environments rely on multiple security and IT operations tools.
Wazuh supports numerous integrations that allow alerts to trigger notifications, create incidents, automate response workflows, and share security data with other platforms.
These integrations help security teams respond more quickly while reducing manual effort.
Slack
Slack is commonly used for real-time security notifications.
Organizations often configure Wazuh to send:
- Critical alerts
- Malware detections
- Failed authentication bursts
- Infrastructure failures
- Active Response events
Best practices include:
- Creating dedicated security channels.
- Sending only medium- and high-severity alerts.
- Including rule IDs and affected hosts.
- Avoiding notification overload.
Related Guide: Fix Wazuh Slack Webhook Errors: Curl 52 Empty Reply
Microsoft Teams
Microsoft Teams provides similar functionality for organizations using Microsoft collaboration tools.
Common notification scenarios include:
- Incident response alerts
- Administrative failures
- Security policy violations
- Endpoint malware detections
- Cloud security events
Teams integrations typically use incoming webhooks or workflow automation.
PagerDuty
PagerDuty enables immediate notification of on-call personnel for critical security incidents.
Typical use cases include:
- Ransomware detection
- Manager outages
- Indexer failures
- High-severity authentication attacks
- Critical infrastructure alerts
PagerDuty escalation policies ensure incidents continue escalating until acknowledged.
Related Guide: Resolving PagerDuty Integration Failures and Routing Key Errors in Wazuh
ServiceNow
Many enterprise SOCs automatically create ServiceNow incidents from Wazuh alerts.
Common automation includes:
- Incident creation
- Asset enrichment
- Assignment groups
- Priority mapping
- Investigation workflows
- Ticket lifecycle management
Automated ticket creation reduces manual work and improves incident tracking.
Jira
Development and DevSecOps teams often integrate Wazuh with Jira.
Typical use cases include:
- Security bug tracking
- Vulnerability remediation
- Compliance tasks
- Infrastructure issues
- Configuration drift investigations
Automatically creating Jira issues ensures security findings are incorporated into existing development workflows.
Syslog Forwarding
Wazuh can forward alerts to external Syslog servers.
Common destinations include:
- Central log servers
- SIEM platforms
- Network monitoring systems
- Compliance archives
Syslog forwarding is frequently used when Wazuh operates alongside other security monitoring platforms.
Related Guide: How to Configure Wazuh as a Centralized Syslog Server
SIEM Integrations
Although Wazuh is itself a security monitoring platform, organizations sometimes forward alerts into enterprise SIEM solutions for centralized visibility.
Examples include:
- Splunk
- IBM QRadar
- Microsoft Sentinel
- Elastic Stack
- ArcSight
These integrations support:
- Cross-platform correlation
- Unified dashboards
- Long-term retention
- Enterprise reporting
- Threat hunting
When forwarding alerts, preserve important metadata such as rule IDs, alert levels, agent names, and MITRE ATT&CK mappings.
Webhooks
Webhooks provide one of the most flexible integration methods.
Instead of integrating with a specific product, Wazuh can send structured HTTP requests to custom applications and automation platforms.
Common webhook destinations include:
- SOAR platforms
- Custom incident response tools
- Internal APIs
- Chat applications
- Automation pipelines
- Serverless functions
Because alerts are delivered in structured JSON, webhook integrations can perform sophisticated automation without requiring manual intervention.
For webhook implementations and payload customization, refer to the official Wazuh Integrations documentation.
Configuring Alert Correlation
Individual security events often provide limited context.
Alert correlation allows Wazuh to combine related events over time, producing higher-confidence detections that better reflect real attack behavior.
Rather than alerting on every isolated event, correlation identifies meaningful patterns such as repeated authentication failures, privilege escalation attempts, or coordinated malware activity.
Properly configured correlation significantly reduces false positives while improving detection accuracy.
Multiple Event Detection
Many attacks consist of a sequence of related events rather than a single log entry.
Wazuh can correlate events based on:
- Time windows
- Source IP addresses
- Destination hosts
- User accounts
- Event frequency
- Rule relationships
- Agent identity
Examples include:
- Multiple failed logins followed by a successful login.
- Several suspicious PowerShell commands executed in sequence.
- Repeated policy violations from the same endpoint.
Correlating related activity provides analysts with a more complete picture of ongoing attacks.
Brute-Force Attack Detection
One of the most common correlation use cases is detecting brute-force attacks.
Instead of generating an alert for every failed login, Wazuh can detect patterns such as:
- Five failed logins within two minutes.
- Twenty failed SSH attempts from one IP.
- Failed logins targeting multiple accounts.
- Repeated authentication failures across multiple systems.
These correlated detections produce higher-confidence alerts while minimizing notification noise.
Related Guide:
Privilege Escalation Correlation
Privilege escalation rarely consists of a single event.
Correlation can identify sequences such as:
- Administrative login
- Privilege assignment
- Sensitive command execution
- Protected file modification
- Security configuration changes
Viewing these events together provides far more context than investigating each event individually.
Organizations often increase the alert severity when multiple privilege-related events occur within a short period.
Malware Activity Correlation
Malware infections frequently generate numerous related events.
Examples include:
- Suspicious process execution
- File creation
- Registry modifications
- Network communication
- Antivirus detections
- Threat intelligence matches
Correlating these events allows Wazuh to identify malware campaigns more accurately than relying on isolated detections.
Related Guides:
File Integrity Monitoring Alerts
File Integrity Monitoring (FIM) becomes significantly more valuable when combined with correlation.
Rather than alerting on every file modification, Wazuh can identify suspicious patterns such as:
- Multiple changes to protected directories.
- Executable replacements.
- Unauthorized configuration changes.
- Simultaneous modifications across multiple systems.
- Changes immediately following privilege escalation.
These patterns often indicate attacker activity rather than routine administration.
Related Guide: How to Configure File Integrity Monitoring (FIM) in Wazuh
Active Response Integration
Correlated alerts can automatically trigger Wazuh Active Response.
Examples include:
- Blocking an attacking IP after repeated authentication failures.
- Disabling compromised user accounts.
- Terminating malicious processes.
- Quarantining affected endpoints.
- Updating firewall rules.
- Executing custom remediation scripts.
Automating responses for high-confidence, correlated alerts helps contain attacks more quickly while reducing the workload on security analysts.
Carefully test Active Response actions in a non-production environment to ensure they do not interrupt legitimate business activity.
Related Guide: How to Configure Wazuh Active Response
Expert insight: MITRE emphasizes that correlating multiple techniques and behaviors across the attack lifecycle provides stronger detection fidelity than relying on single-event indicators, enabling defenders to identify sophisticated adversaries earlier.
Filtering and Searching Alerts in the Dashboard
The Wazuh Dashboard provides security teams with powerful search and filtering capabilities for investigating alerts.
As environments grow, manually reviewing every generated alert becomes impractical.
Effective filtering allows analysts to quickly isolate relevant events, identify attack patterns, and prioritize investigations.
The dashboard supports filtering based on alert metadata, including severity, affected agents, rule identifiers, compliance frameworks, and MITRE ATT&CK techniques.
Severity Filters
Severity filtering allows analysts to focus on alerts based on their assigned Wazuh alert level.
Common filtering scenarios include:
- Viewing only critical alerts (levels 12–16).
- Investigating medium-priority events (levels 7–9).
- Reviewing informational activity during audits.
- Monitoring trends in high-severity detections.
Severity filtering is especially useful for SOC workflows where analysts prioritize investigations based on risk.
For example:
- A Tier 1 analyst may review alerts above level 7.
- Incident responders may focus on level 12+ events.
- Compliance teams may review all alerts associated with regulated systems.
Consistent severity assignment is essential because inaccurate alert levels can cause analysts to overlook important incidents or waste time investigating low-value events.
Agent Filters
Agent filtering allows analysts to investigate alerts originating from specific endpoints.
Common use cases include:
- Investigating a compromised workstation.
- Reviewing activity on domain controllers.
- Monitoring production servers.
- Auditing sensitive systems.
- Tracking recurring issues from a specific endpoint.
Agent filters can identify:
- Hostname
- Agent ID
- Operating system
- IP address
- Agent group
This is particularly valuable in large deployments where thousands of endpoints send security events to a centralized Wazuh Manager.
Related Guide: The Ultimate Wazuh Agent Deployment Guide
Rule ID Filters
Every Wazuh alert contains a rule ID that identifies the detection logic responsible for generating the event.
Filtering by rule ID helps administrators:
- Investigate a specific detection.
- Validate custom rules.
- Analyze noisy rules.
- Measure rule effectiveness.
- Identify frequently triggered events.
Examples include:
- Reviewing all failed authentication alerts.
- Investigating malware-related detections.
- Tracking alerts generated by custom rules.
- Finding unexpected rule behavior after updates.
Rule ID searches are also useful when troubleshooting why a specific alert is not being generated.
Related Guide: How to Test Wazuh Rules
Time-Range Filters
Time-based filtering allows analysts to investigate activity during specific periods.
Common examples include:
- Last 15 minutes during an active incident.
- Previous 24 hours for daily monitoring.
- Previous seven days for threat hunting.
- Specific dates for compliance investigations.
Time-range filtering helps correlate security events with:
- User activity.
- Maintenance windows.
- Software deployments.
- External threat intelligence.
- Incident timelines.
During incident response, analysts often begin with a narrow time window and expand the search as additional evidence is discovered.
MITRE ATT&CK Filtering
Many Wazuh rules include MITRE ATT&CK mappings that classify alerts based on attacker behavior.
Filtering by ATT&CK techniques allows analysts to investigate:
- Credential access attempts.
- Persistence mechanisms.
- Defense evasion activity.
- Lateral movement.
- Command and control behavior.
- Data exfiltration indicators.
Examples:
- Searching for PowerShell execution mapped to command execution techniques.
- Reviewing privilege escalation attempts.
- Identifying persistence-related activity.
MITRE ATT&CK filtering shifts investigations from individual events toward understanding attacker tactics and objectives.
Compliance Filtering
Wazuh includes compliance mappings that connect alerts with security frameworks.
Analysts can filter events related to:
- PCI DSS
- HIPAA
- GDPR
- NIST 800-53
- CIS Controls
Compliance filtering helps organizations:
- Prepare audit reports.
- Identify control failures.
- Demonstrate monitoring coverage.
- Track security policy violations.
For regulated environments, these mappings provide a direct connection between security events and compliance requirements.
Saved Searches
Saved searches allow analysts to preserve frequently used queries for repeat investigations.
Examples include:
- Critical alerts from production servers.
- Failed authentication attempts.
- Malware detections.
- File integrity changes.
- Privileged account activity.
- Compliance violations.
Benefits of saved searches include:
- Faster investigations.
- Consistent analyst workflows.
- Easier knowledge sharing.
- Repeatable threat hunting processes.
Security teams can create standardized searches for daily SOC operations and incident response procedures.
Monitoring Alert Performance
Alert monitoring is essential for maintaining an effective Wazuh deployment.
Generating alerts is only useful when those alerts are timely, accurate, and actionable.
Poorly tuned alerting systems can create excessive noise, consume unnecessary resources, and overwhelm security analysts.
Regular performance monitoring helps identify configuration problems, inefficient rules, storage issues, and opportunities for optimization.
Alert Volume
Alert volume measures how many alerts Wazuh generates over a specific period.
Important metrics include:
- Alerts per hour.
- Alerts per day.
- Alerts by severity.
- Alerts by rule.
- Alerts by agent.
- Alerts by category.
Sudden increases in alert volume may indicate:
- Active attacks.
- Misconfigured rules.
- New software deployments.
- Logging changes.
- False positive spikes.
Tracking alert trends helps security teams distinguish genuine threats from operational noise.
Rule Efficiency
Rule efficiency measures how effectively detection rules identify meaningful security events.
A highly efficient rule:
- Detects real threats.
- Produces few false positives.
- Provides useful context.
- Requires minimal analyst investigation.
Poorly performing rules often:
- Trigger too frequently.
- Match irrelevant events.
- Lack important context.
- Create duplicate alerts.
Reviewing frequently triggered rules helps organizations identify candidates for tuning or suppression.
Related Guide: How to Reduce False Positives in Wazuh
False Positive Rates
False positives occur when Wazuh generates alerts for legitimate activity.
Examples include:
- Approved administrative changes.
- Vulnerability scans.
- Automated scripts.
- Backup operations.
- Software updates.
High false positive rates create alert fatigue and reduce analyst confidence.
Organizations should regularly analyze:
- Which rules generate the most false positives.
- Which systems create excessive alerts.
- Which events can safely be suppressed.
- Which rules require improved matching logic.
Processing Latency
Processing latency measures the time between an event occurring and the alert becoming available to analysts.
The alert pipeline includes:
- Event generation.
- Agent collection.
- Manager processing.
- Rule evaluation.
- Alert indexing.
- Dashboard display.
High latency may indicate:
- Manager resource limitations.
- Indexer performance issues.
- Network delays.
- Excessive event volume.
- Inefficient rules.
Fast alert processing is especially important during active security incidents.
Index Storage Growth
The Wazuh Indexer stores generated alerts and related security data.
Monitoring storage growth helps prevent:
- Disk exhaustion.
- Index failures.
- Performance degradation.
- Data retention problems.
Track:
- Daily index growth.
- Alert retention periods.
- Large-volume data sources.
- Archive storage usage.
Organizations should configure retention policies based on:
- Compliance requirements.
- Investigation needs.
- Available storage.
- Alert volume.
Related Guide:
Dashboard Responsiveness
The Wazuh Dashboard depends on the performance of the Wazuh Indexer and backend services.
Slow dashboards may result from:
- Large queries.
- Excessive retained data.
- Insufficient resources.
- Poor index configuration.
- Heavy visualization workloads.
Monitor:
- Search response times.
- Dashboard loading speed.
- Query complexity.
- Concurrent analyst usage.
Optimizing dashboards improves analyst productivity during investigations.
Resource Utilization
Wazuh environments should continuously monitor resource consumption across:
- Wazuh Manager CPU usage.
- Memory utilization.
- Indexer heap usage.
- Disk capacity.
- Network bandwidth.
High resource consumption may result from:
- Excessive logging.
- Too many active rules.
- Large archive volumes.
- Poor retention policies.
- Under-sized infrastructure.
For large deployments, scaling managers and indexers may be necessary.
Related Guide:
Best Practices for Wazuh Alerts
Effective alerting requires continuous tuning and operational discipline.
A successful Wazuh deployment is not measured by the number of alerts generated but by the quality and usefulness of those alerts.
The following practices help organizations maintain reliable detection while reducing unnecessary workload.
Customize Alerts to Your Environment
Every organization has unique systems, users, applications, and security requirements.
Default rules provide a strong foundation, but customized alerts improve detection accuracy by accounting for:
- Internal applications.
- Business-critical systems.
- Normal administrative behavior.
- Industry-specific threats.
- Organizational policies.
Examples include:
- Creating alerts for sensitive file changes.
- Detecting unauthorized administrative actions.
- Monitoring custom applications.
- Tracking unique attack scenarios.
Minimize False Positives
Reducing false positives should be an ongoing process.
Effective techniques include:
- Tuning rule conditions.
- Adding exceptions.
- Using frequency thresholds.
- Filtering trusted activity.
- Improving decoder accuracy.
- Correlating multiple events.
The goal is not to reduce alerts as much as possible but to improve the signal-to-noise ratio.
Use Severity Levels Consistently
Severity levels should accurately represent business risk.
Avoid assigning high severity to every event because it reduces the meaning of critical alerts.
Recommended approach:
- Informational events: awareness only.
- Medium alerts: analyst investigation.
- High alerts: priority review.
- Critical alerts: immediate response.
Consistent severity improves triage efficiency and reporting accuracy.
Group Related Alerts
Grouping related events provides better investigation context.
Examples include grouping:
- Authentication failures.
- Malware events.
- Network attacks.
- File changes.
- Privilege escalation attempts.
Correlation reduces duplicate alerts and allows analysts to understand complete attack sequences.
Test Rule Changes Before Production
Never deploy untested rules directly into production.
A proper testing workflow includes:
- Create the rule in a test environment.
- Generate sample events.
- Validate with
wazuh-logtest. - Confirm the expected alert.
- Measure false positives.
- Deploy after validation.
This prevents accidental alert storms or missed detections.
Regularly Review Alert Quality
Alert tuning should be continuous.
Regular reviews should analyze:
- Top triggered rules.
- Unused rules.
- False positives.
- Missed detections.
- Analyst feedback.
- Incident investigation results.
Security environments change constantly, so alert configurations must evolve with them.
Keep Rulesets Updated
Wazuh regularly updates its rulesets to improve:
- Threat detection.
- Vulnerability coverage.
- Malware identification.
- Compliance mappings.
- MITRE ATT&CK coverage.
Keeping rulesets updated ensures your deployment benefits from the latest detection improvements.
Before major updates:
- Review release notes.
- Test changes.
- Monitor alert volume after upgrades.
Document Custom Rules
Documentation is essential for maintaining custom detections.
For every custom rule, record:
- Rule purpose.
- Detection logic.
- Severity justification.
- Related systems.
- Owner.
- Testing process.
- Expected behavior.
- Exception handling.
Well-documented rules are easier to maintain, troubleshoot, and transfer between security team members.
A mature Wazuh deployment treats detection rules as maintained security assets rather than one-time configuration changes.
Common Wazuh Alert Issues
Even with a properly deployed Wazuh environment, organizations may encounter problems where alerts are missing, duplicated, delayed, or incorrectly prioritized.
Troubleshooting alert issues requires understanding the complete alert pipeline, from log collection and decoding to rule matching, indexing, and dashboard visualization.
The following are the most common Wazuh alert problems and their potential causes.
Alerts Not Appearing
One of the most common issues is when security events occur, but no alerts appear in the Wazuh Dashboard.
Possible causes include:
- The Wazuh Agent is not sending logs.
- The Wazuh Manager is not receiving events.
- The required decoder is missing.
- No rule matches the event.
- Alert severity is below the configured threshold.
- The event source is not enabled.
- The Wazuh Indexer is not receiving alerts.
Troubleshooting steps:
- Verify the agent connection status.
- Check whether raw logs are arriving at the manager.
- Test the event using
wazuh-logtest. - Confirm the matching rule ID.
- Review
alerts.json. - Verify the alert index exists.
Useful troubleshooting guides:
Rules Not Triggering
Sometimes logs are successfully collected, but Wazuh does not generate alerts because no detection rule matches the event.
Common causes include:
- Incorrect decoder selection.
- Incorrect rule conditions.
- Missing custom rules.
- Incorrect field names.
- Regex matching failures.
- Rule ordering issues.
- Disabled rules.
To troubleshoot:
- Run the event through
wazuh-logtest. - Identify the decoder output.
- Review extracted fields.
- Confirm the expected rule is loaded.
- Check rule syntax.
Custom rules should always be tested before production deployment.
Related Guide:
Duplicate Alerts
Duplicate alerts occur when the same security event generates multiple detections.
Common causes include:
- Multiple rules matching the same event.
- Duplicate log sources.
- Multiple agents forwarding identical data.
- Incorrect correlation logic.
- Overlapping integrations.
Solutions include:
- Reviewing triggered rule IDs.
- Consolidating similar rules.
- Filtering duplicate log sources.
- Adjusting rule hierarchy.
- Using correlation instead of individual alerts.
Duplicate alerts increase analyst workload and reduce confidence in monitoring systems.
Excessive False Positives
False positives occur when legitimate activity is incorrectly identified as suspicious.
Common examples include:
- Approved administrative tasks.
- Security scanners.
- Backup applications.
- Automated scripts.
- Software deployments.
- Monitoring systems.
Reducing false positives requires:
- Adjusting rule conditions.
- Creating exceptions.
- Adding trusted sources.
- Increasing event thresholds.
- Improving detection logic.
- Correlating multiple events.
The goal is not to eliminate all alerts but to ensure generated alerts provide meaningful security value.
Related Guide: How to Reduce False Positives in Wazuh
Missing Notifications
An alert may appear correctly in the dashboard but fail to reach external notification systems.
Common causes include:
- Incorrect SMTP settings.
- Invalid webhook URLs.
- Authentication failures.
- Firewall restrictions.
- Incorrect alert thresholds.
- Integration configuration errors.
Troubleshooting steps:
- Verify the alert reaches the dashboard.
- Confirm integration settings.
- Test the external service manually.
- Review Wazuh manager logs.
- Check authentication credentials.
Dashboard Synchronization Problems
Sometimes alerts are generated successfully but do not appear immediately in the Wazuh Dashboard.
Possible causes include:
- Wazuh Indexer delays.
- Dashboard cache issues.
- Index pattern problems.
- Authentication problems.
- OpenSearch cluster issues.
Troubleshooting steps:
- Confirm alerts exist in
alerts.json. - Verify index health.
- Check OpenSearch cluster status.
- Restart dashboard services if required.
- Verify index mappings.
Related troubleshooting guides:
Alert Indexing Failures
The Wazuh Indexer is responsible for storing alerts and making them searchable.
Indexing failures can occur because of:
- Disk space exhaustion.
- Incorrect mappings.
- Failed index templates.
- Shard allocation problems.
- Memory pressure.
- Cluster health issues.
Symptoms include:
- Missing dashboard alerts.
- Failed searches.
- Delayed visualizations.
- Index errors.
Solutions include:
- Checking indexer logs.
- Reviewing cluster health.
- Managing shard allocation.
- Increasing available resources.
- Repairing index templates.
Related guides:
Performance Bottlenecks
Large environments can experience alert processing delays when infrastructure resources become constrained.
Common causes include:
- Excessive event volume.
- Too many active rules.
- Large archive logs.
- Insufficient CPU or memory.
- Slow indexing.
- Poor retention configuration.
Optimization strategies include:
- Tuning rule efficiency.
- Reducing unnecessary logs.
- Increasing manager resources.
- Optimizing OpenSearch settings.
- Reviewing retention policies.
For large deployments:
Real-World Example: Building an Enterprise Wazuh Alerting Strategy
A large enterprise Security Operations Center (SOC) manages thousands of endpoints across multiple environments, including Windows servers, Linux infrastructure, cloud workloads, and network devices.
The organization deploys Wazuh as a centralized security monitoring platform to collect logs, detect threats, and automate incident response.
Before tuning their alerting strategy, analysts faced a common challenge: too many alerts with inconsistent severity levels.
Low-value events from routine administrative activity frequently appeared alongside genuine security incidents, making it difficult for analysts to prioritize investigations.
The SOC team redesigned their Wazuh alerting workflow around detection quality rather than alert quantity.
Customizing Alert Rules for High-Risk Threats
The security team begins by reviewing existing Wazuh rules and identifying detections that are most important for their environment.
They create custom rules to prioritize:
- Privileged account misuse.
- Unauthorized administrative activity.
- Malware execution.
- Suspicious PowerShell commands.
- Changes to sensitive files.
- Cloud privilege modifications.
- Unauthorized network access.
For example, a failed login on a standard workstation may generate a medium-priority alert, while repeated failed logins targeting a domain administrator account generate a critical alert.
Custom severity assignments allow analysts to focus immediately on the highest-risk activity.
Suppressing Repetitive Low-Value Alerts
The SOC team analyzes alert statistics and identifies frequently triggered events that do not represent meaningful threats.
Examples include:
- Routine vulnerability scans.
- Approved automation tools.
- Scheduled administrative tasks.
- Backup operations.
- Monitoring systems.
Instead of disabling logging, they tune rules by:
- Adding exceptions.
- Increasing thresholds.
- Using event correlation.
- Whitelisting trusted systems.
This significantly reduces alert fatigue while maintaining visibility.
Mapping Alerts to MITRE ATT&CK Techniques
The SOC enriches detections by mapping alerts to MITRE ATT&CK techniques.
This allows analysts to understand attacker behavior rather than simply viewing isolated events.
Examples:
- PowerShell execution → Command and Scripting Interpreter.
- Credential dumping → Credential Access.
- Suspicious persistence mechanisms → Persistence.
- Remote administration abuse → Lateral Movement.
MITRE ATT&CK mappings help analysts prioritize investigations and identify attack patterns across different environments.
Forwarding Critical Alerts to Slack and PagerDuty
Critical alerts are automatically forwarded to collaboration and incident response platforms.
The SOC configures:
Slack notifications for:
- Security team awareness.
- Investigation discussions.
- Real-time operational visibility.
PagerDuty notifications for:
- Critical malware detections.
- Production system compromise.
- High-confidence security incidents.
- After-hours response escalation.
Only high-priority alerts trigger immediate notifications, preventing communication channels from becoming overloaded.
Automated ServiceNow Ticket Creation
To ensure incidents are tracked properly, Wazuh integrates with ServiceNow.
When a critical alert is generated:
- Wazuh sends the alert data.
- ServiceNow creates an incident ticket.
- The appropriate security team receives assignment.
- Analysts investigate the event.
- Resolution details are recorded.
The ticket includes:
- Alert description.
- Rule ID.
- Severity.
- Affected endpoint.
- Timestamp.
- Investigation context.
This creates a consistent incident management workflow.
Continuous Alert Tuning Through False-Positive Analysis
The SOC continuously evaluates alert quality.
Each week, analysts review:
- Most frequently triggered rules.
- False-positive trends.
- Missed detections.
- Analyst feedback.
- Incident response outcomes.
Based on this analysis, the team adjusts:
- Alert thresholds.
- Rule conditions.
- Severity levels.
- Notification policies.
- Exception lists.
This continuous improvement process ensures Wazuh remains aligned with the organization’s evolving infrastructure and threat landscape.
Improving Incident Response Efficiency
After implementing the optimized alerting strategy, the SOC achieves several improvements:
- Faster identification of critical threats.
- Reduced analyst workload.
- Improved investigation accuracy.
- Fewer unnecessary notifications.
- Better compliance reporting.
- More consistent incident handling.
The organization moves from a reactive alert-monitoring approach to a proactive detection and response workflow.
A well-configured Wazuh alerting system does not attempt to alert on everything, it identifies the events that matter most and provides analysts with the context needed to respond quickly.
Frequently Asked Questions
Question: What are Wazuh alerts?
Wazuh alerts are security events generated when incoming logs match detection rules.
They contain information about the event, affected system, severity level, rule ID, and supporting metadata.
Alerts transform raw security data into actionable findings for investigation and response.
Question: Where are Wazuh alerts stored?
Wazuh alerts are stored in the Wazuh Indexer for searching and visualization.
The manager also stores alert files locally, including:
Common files include:
Question: How do I change alert severity levels?
Alert severity levels are controlled by Wazuh rules.
You can change severity by:
- Modifying custom rules.
- Creating rule overrides.
- Adjusting the
<level> value. - Creating new detection logic.
Custom rules should be stored in local_rules.xml.
Question: How can I create custom Wazuh alerts?
Custom alerts are created by writing custom rules.
The process involves:
- Creating a rule.
- Assigning a rule ID.
- Defining matching conditions.
- Setting the alert level.
- Testing with
wazuh-logtest. - Deploying after validation.
Question: How do I reduce false positives in Wazuh?
You can reduce false positives by:
- Tuning rules.
- Adding exceptions.
- Using thresholds.
- Correlating events.
- Filtering trusted activity.
- Removing unnecessary log sources.
Related Guide: How to Reduce False Positives in Wazuh
Question: Can Wazuh send email alerts?
Yes. Wazuh supports email notifications through SMTP configuration.
Administrators can configure:
- SMTP servers.
- Authentication.
- TLS encryption.
- Recipient addresses.
- Alert severity thresholds.
Question: Does Wazuh support Slack or Microsoft Teams notifications?
Yes. Wazuh supports integrations with collaboration platforms including Slack and Microsoft Teams through webhooks and integrations.
These integrations allow security teams to receive real-time notifications for important events.
Question: How do I test a Wazuh alert?
The recommended testing method is using:
This allows administrators to verify:
- Decoder selection.
- Extracted fields.
- Rule matching.
- Alert severity.
Question: Why are my Wazuh alerts not showing in the dashboard?
Common causes include:
- Indexer problems.
- Missing rules.
- Agent communication failures.
- Dashboard synchronization issues.
- Incorrect index patterns.
Troubleshooting should begin by verifying whether alerts exist in alerts.json.
Question: Can Wazuh correlate multiple security events into one alert?
Yes. Wazuh supports event correlation through rule dependencies, frequency conditions, and time-based matching.
Correlation helps detect:
- Brute-force attacks.
- Privilege escalation.
- Malware activity.
- Multi-stage attacks.
Question: How do I forward Wazuh alerts to another SIEM?
Wazuh alerts can be forwarded using:
- Syslog.
- APIs.
- Webhooks.
- Log forwarding tools.
- Custom integrations.
This allows organizations to combine Wazuh detections with existing enterprise SIEM platforms.
Question: What is the difference between Wazuh rules and alerts?
Rules define the detection logic.
Alerts are the results generated when those rules match incoming events.
The relationship is:
Logs → Decoders → Rules → Alerts → Dashboard/Notifications
Rules determine what should be detected, while alerts represent actual detected events.
Conclusion
Wazuh alerts transform large volumes of raw security events into actionable detections by combining log collection, decoders, rules, correlation, and severity classification.
Instead of manually reviewing thousands of individual events, security teams can use Wazuh to automatically identify suspicious activity, prioritize threats, and accelerate incident response.
A successful Wazuh alerting strategy requires more than enabling default rules.
Organizations should customize detections for their environment, assign severity levels consistently, reduce false positives, and integrate critical alerts with incident response platforms such as Slack, PagerDuty, ServiceNow, and other security tools.
Continuous monitoring and optimization are essential.
Regularly reviewing alert quality, analyzing false positives, updating rulesets, and testing new detections ensures that Wazuh continues providing accurate and valuable security intelligence as infrastructure and threats evolve.
By treating alert configuration as an ongoing security process rather than a one-time setup, organizations can build a scalable monitoring workflow that improves visibility, reduces analyst fatigue, and ensures critical security events receive immediate attention.
Be First to Comment