Implementing Wazuh SIEM for Small and Medium Enterprises
Author: Dennis Mutahi Kairu, Cybersecurity Expert | IT Business Systems Manager | Cloud & Infrastructure Specialist

There is a moment in most SME security conversations when someone says: "We are too small to be targeted."
I have learned to treat that sentence as a symptom. Not of arrogance, exactly, but of a specific miscalculation about how modern attacks work. Automated scanners do not read your company's size before deciding whether to probe your exposed RDP port. Phishing campaigns do not check your headcount before sending a credential-harvesting email. And ransomware operators, once inside your network, do not leave because your revenue is below a certain threshold.
The problem for most small and medium enterprises is not that they do not take security seriously. It is that they do not have visibility. They have no organised way of knowing what is happening on their systems in real time, which means the first sign of a breach is often the ransom demand, not an alert from a monitoring platform.
What Wazuh Actually Is — and What It Is Not
Wazuh is an open-source security platform that combines a SIEM (Security Information and Event Management) capability with HIDS (Host-based Intrusion Detection System) functionality. It is built on a fork of OSSEC and has grown considerably beyond its roots, now incorporating threat intelligence feeds, compliance dashboards, vulnerability detection, file integrity monitoring, and a modern web interface built on OpenSearch.
The architecture is straightforward: a central Wazuh Manager receives, analyses, and stores security events. Lightweight agents run on the endpoints you want to monitor — Windows servers, Linux systems, macOS machines — and forward logs, file changes, process activity, and network events back to the manager. The Wazuh Dashboard provides the visual layer for investigation, alerting, and compliance reporting.
What Wazuh is not: a silver bullet, a replacement for a firewall, or a tool that requires no ongoing attention. The organisations that benefit most from Wazuh are those that treat it as a programme, not an installation. You need someone who reviews alerts, tunes the rules over time, and acts on what the platform surfaces. A SIEM that nobody looks at is a log aggregator with better branding.
Sizing Your Deployment Before You Touch a Server.
Before you install anything, answer three questions:
How many agents will you be running? Each monitored endpoint sends a continuous stream of log data. Wazuh's indexer (OpenSearch) needs to store and index that data efficiently. The resource requirements scale with agent count. For a single-node all-in-one deployment:
Up to 50 agents: 8GB RAM, 4 vCPUs, 100GB storage is a workable baseline
50 to 100 agents: 16GB RAM, 8 vCPUs, 250GB storage minimum
Above 100 agents: consider a distributed architecture or dedicated indexer
What is your log retention requirement? Security logs eat storage. Daily log volume depends on agent count and how verbose your endpoints are, but planning for 2–5GB per day per 50 agents is a reasonable working estimate. If you need 90 days of retention for compliance purposes, the maths must be done before you provision storage.
What is your availability requirement? A single-node all-in-one deployment has a single point of failure. For most SMEs, this is acceptable — the cost of deploying a clustered Wazuh environment may not be justified by the organisation's size. But go in with eyes open. If the Wazuh server goes down, you lose monitoring visibility until it is restored. Build your DR plan accordingly.
For the majority of SME deployments I work with — typically 20 to 80 endpoints — a single-node all-in-one installation on a dedicated Ubuntu Server 24.04 LTS machine is the right starting point. Keep it separate from your production infrastructure. This is not optional.
Installation: The Right Way to Do It
Wazuh provides an official installation assistant script that automates the full single-node deployment. It installs the Wazuh indexer (OpenSearch), the Wazuh server (manager + API), and the Wazuh dashboard in sequence, generates the necessary certificates, and handles the inter-component configuration. For most SME deployments, this is the correct approach.
Firewall Configuration That Actually Reflects Your Architecture
A Wazuh server with open ports to the entire internet is an attack surface you have created in the name of security monitoring. The firewall configuration needs to reflect your actual agent locations and administrative access requirements.
The ports Wazuh uses:
Port | Protocol | Purpose |
|---|---|---|
1514 | TCP/UDP | Agent event forwarding |
1515 | TCP | Agent registration |
1516 | TCP | Wazuh cluster communication |
9200 | TCP | Indexer REST API |
55000 | TCP | Wazuh Manager REST API |
443 | TCP | Dashboard web access |
Restricting port 9200 to localhost and specific management hosts is important. The OpenSearch API, if exposed to the network without authentication at the transport layer, is a well-documented attack target. Do not leave it open.
Deploying Agents: Strategy Before Speed
Installing Wazuh agents is simple. The strategy for doing it well takes more thought.
Do not try to enroll all your endpoints simultaneously. Start with your highest-value, highest-risk systems: domain controllers, file servers, systems handling sensitive data, internet-facing servers. These are the systems whose compromise matters most, and they are also the systems that will generate the most useful alerts while you are still learning what normal looks like in your environment.
Once agents start reporting, you will see events flowing into the dashboard within minutes. Resist the temptation to immediately investigate every alert. The first week is for observation — understanding your baseline before you begin tuning.
The Tuning Problem: Why Most SIEM Deployments Fail
If there is one reason SME SIEM deployments get abandoned, it is alert fatigue. The default Wazuh ruleset is comprehensive, which means it generates a high volume of alerts in most environments. An untuned Wazuh deployment on a Windows domain with 50 machines can produce thousands of alerts daily, most of which represent completely normal activity.
This is not a Wazuh problem. It is a SIEM problem in general, and it is why "we installed a SIEM" is meaningfully different from "we have effective security monitoring."
Tuning Wazuh is a process, not a one-time task. The general approach:
Step 1: Identify your highest-volume alert rules. In the Wazuh dashboard, go to Security Events and sort by rule count over the past 24 hours. The top 10 rules by volume are almost always where you will find the most tuning opportunity.
Step 2: Determine which high-volume alerts represent normal behaviour. A Windows server generating hundreds of "audit logon" events per hour is almost certainly a domain controller doing exactly what domain controllers do. The question is whether those specific events represent a genuine detection value in your environment.
Step 3: Create custom rules to suppress known false positives. In Wazuh, custom rules live in /var/ossec/etc/rules/local_rules.xml. You can override or suppress default rules without modifying the original rule files, which means your customisations survive Wazuh updates.
An example: if you want to suppress a specific rule (for example, rule ID 5710, which triggers on SSH authentication failures from specific known IP addresses like your monitoring system),
You can add:
<rule id="100001" level="0">
<if_sid>5710</if_sid>
<srcip>192.168.1.50</srcip>
<description>Suppress SSH auth failure from monitoring host</description>
</rule>
Level 0 rules do not generate alerts. The if_sid condition means this rule only fires when rule 5710 fires, and the srcip condition means it only suppresses events from your known monitoring host.
Step 4: Raise the minimum alert level for dashboard display. By default, Wazuh shows alerts from level 3 upward. For most SME environments, setting the minimum display level to 6 or 7 during the tuning phase reduces noise significantly while preserving visibility into genuinely concerning events (levels 10-15 in Wazuh's scheme represent critical alerts like rootkit detection, successful brute force, and privilege escalation).
Step 5: Build custom rules for your specific environment. Once you have suppressed the noise, you can add rules that are specific to your business context — alerting on access to sensitive directories, detecting processes that should not run on certain systems, or triggering on after-hours authentication to critical servers.
Expect to spend the first month tuning actively. After that, tuning becomes reactive — you adjust when you encounter a new false positive category or add a new type of system to your environment.
The Five Capabilities That Deliver the Most Value for SMEs
Wazuh has a lot of features. Not all of them will matter equally in an SME context. Based on practical deployment experience, here are the five capabilities that consistently deliver the highest security value for the investment of time required to configure them.
1. File Integrity Monitoring (FIM)
FIM detects changes to files and directories you care about — configuration files, executable directories, sensitive data locations. When an attacker modifies a system binary, adds a persistence mechanism, or tampers with a configuration to create a backdoor, FIM sees it.
Configure FIM in the agent's ossec.conf by adding directories to the <syscheck> block:
<syscheck>
<frequency>21600</frequency>
<directories check_all="yes" realtime="yes">/etc,/usr/bin,/usr/sbin</directories>
<directories check_all="yes" realtime="yes">/bin,/sbin</directories>
<directories check_all="yes">/var/www/html</directories>
<ignore>/etc/mtab</ignore>
<ignore>/etc/hosts.deny</ignore>
</syscheck>
The realtime="yes" attribute triggers alerts as changes happen rather than waiting for the next scan cycle. Use it for your most critical directories. For fewer critical paths, scheduled scanning is sufficient and reduces system load.
2. Active Response
Wazuh can automatically execute responses when specific alert conditions are met. The most immediately valuable for SMEs is automatic IP blocking in response to brute force detection. When an alert fires indicating that a source IP has exceeded a threshold of failed authentication attempts, Wazuh can automatically add a firewall rule blocking that IP.
This requires careful threshold configuration to avoid blocking legitimate users. Check the frequency and timeframe set by the rule in your ruleset, and test it before enabling active response. Configure in ossec.conf on the manager:
<active-response>
<command>firewall-drop</command>
<location>local</location>
<rules_id>5763</rules_id>
<timeout>600</timeout>
</active-response>
Rule 5763 is Wazuh's default rule for brute force detection. The timeout of 600 seconds (10 minutes) means the block is temporary, which reduces the risk of accidentally blocking a legitimate user who mistyped their password multiple times.
3. Log Analysis Across Your Stack
Wazuh's log analysis capability extends beyond what agents collect natively. You can forward syslog from network devices, routers, switches, and firewalls to Wazuh for centralised analysis. This gives you visibility into network-level events alongside host-level events — critical for detecting lateral movement, where an attacker may not generate noise on a single system but will leave traces across multiple devices.
Configure remote syslog input in the Wazuh manager's ossec.conf:
<remote>
<connection>syslog</connection>
<port>514</port>
<protocol>udp</protocol>
<allowed-ips>192.168.1.0/24</allowed-ips>
</remote>
Then configure your network devices to forward syslog to the Wazuh server's IP on port 514. Most managed switches and routers support this natively.
4. Vulnerability Detection
Wazuh's vulnerability detector scans agent systems against CVE databases and reports which software versions have known vulnerabilities. This is not a replacement for a dedicated vulnerability scanner, but it provides continuous passive visibility into your patch posture without requiring scheduled scan windows.
Enable it in the Wazuh manager configuration (version 4.8 or later), and confirm the indexer settings in the same file:
<vulnerability-detection>
<enabled>yes</enabled>
<feed-update-interval>60m</feed-update-interval>
</vulnerability-detection>
The vulnerability dashboard gives you a prioritised view of critical and high-severity CVEs across your estate, with the affected system and software version identified. This is operationally very useful for patch prioritisation conversations with leadership.
5. Compliance Dashboards
For organisations subject to PCI-DSS, GDPR, HIPAA, or similar frameworks, Wazuh's built-in compliance dashboards provide continuous visibility into control status. The dashboards map Wazuh alert data to specific control requirements, giving you a living view of compliance posture rather than a point-in-time audit snapshot.
These dashboards are available out of the box in the Wazuh interface under the Security section. They require no configuration to activate — they use the alert data your agents are already generating. The practical value is that they make compliance conversations with auditors and leadership considerably more straightforward.
Integration With Your Existing Security Stack
Wazuh does not need to be an island. For SMEs that already have security tooling, Wazuh integrates with several commonly used platforms.
VirusTotal integration allows Wazuh to automatically submit file hashes from FIM alerts to VirusTotal for reputation checking. When a new file appears on a monitored system, Wazuh can query VirusTotal and alert if the file is known malware. This requires a VirusTotal API key (the free tier has rate limits that are usually sufficient for SME use):
<integration>
<name>virustotal</name>
<api_key>YOUR_VIRUSTOTAL_API_KEY</api_key>
<rule_id>550,554</rule_id>
<alert_format>json</alert_format>
</integration>
Slack or email alerting for high-severity events ensures that critical alerts reach the right people immediately, rather than waiting for someone to check the dashboard. Configure in ossec.conf:
<integration>
<name>slack</name>
<hook_url>https://hooks.slack.com/services/YOUR/WEBHOOK/URL</hook_url>
<level>10</level>
<alert_format>json</alert_format>
</integration>
Level 10 and above in Wazuh indicates critical events — rootkit detection, successful brute force, critical system file modification. These are alerts where you want immediate notification rather than waiting for a daily dashboard review.
Fail2ban coordination — if you are already running fail2ban on your Linux systems, you can have Wazuh analyse the fail2ban logs to provide visibility into what fail2ban is blocking. This is not a technical integration so much as a log forwarding configuration, but it gives you a unified view of authentication-related blocking activity across your environment.
What Good Operations Look Like After Deployment
A Wazuh deployment that nobody operates regularly provides a fraction of its potential value. Here is a practical operating rhythm for an SME environment:
Daily: Spend 10–15 minutes reviewing the Wazuh dashboard security events for the past 24 hours. Focus on level 10+ alerts first, then review level 7-9 alerts for anything that warrants investigation. Most days, this review will surface nothing requiring action. The value is in the days when it does.
Weekly: Review the top 20 rules by alert volume for the week. Identify any that have increased significantly — a sudden spike in a specific alert type often indicates either a new activity in your environment or a system that has changed behaviour. Check the vulnerability detection dashboard for any new critical CVEs affecting your estate.
Monthly: Conduct a file restore test from your Wazuh server backup (you are backing up your Wazuh server, including the configuration and rule files). Review and update your custom rules file. Check that all agents are reporting — an agent that stopped communicating three weeks ago without anyone noticing is a blind spot.
Quarterly: Review the compliance dashboards and prepare a summary for leadership or relevant stakeholders. Conduct a tuning review of rules that have been generating persistent false positives. Test your alert escalation procedures — verify that Slack/email alerts are flowing to the right recipients.
Common Deployment Mistakes and How to Avoid Them
Having deployed and inherited Wazuh environments of various quality, here are the failure modes I encounter most often:
Deploying on shared infrastructure. Wazuh's indexer is memory and CPU intensive. Running it on the same host as production applications causes resource contention and often leads to either Wazuh being killed by OOM or production applications degrading. Dedicate hardware or a dedicated VM.
Not backing up the Wazuh configuration. The value of a tuned Wazuh deployment is in its configuration — the custom rules, agent configurations, and integration settings. These live on the Wazuh server. If that server is lost without a configuration backup, you rebuild from scratch. Back up /var/ossec/etc/ and your custom rule files regularly.
Treating all alerts as equal. Alert triage is a skill. A level 7 alert that fires 500 times per day is almost certainly a false positive pattern. A level 12 alert that fires once is almost certainly worth immediate investigation. Build this intuition deliberately.
Not testing the active response before enabling it. Automatic IP blocking is useful, but if the threshold is wrong, it will block legitimate users. Test in a non-production environment first, start with longer timeouts (which means blocks expire faster), and verify that critical management IPs are on the active response whitelist before enabling.
Deploying without a retention and archival strategy. OpenSearch indices grow continuously. Without an index management policy, your storage will eventually fill, and Wazuh will stop indexing new events. Configure Index State Management (ISM) in OpenSearch to automatically roll over and delete old indices according to your retention requirements.
The Honest Assessment
Wazuh is the most capable open-source security monitoring platform available for SMEs today. It provides visibility that, until a few years ago, would have required enterprise licensing and a dedicated security operations team.
But it is not plug-and-play. The organisations that get genuine value from Wazuh are the ones that commit to it as an operational programme — tuning it regularly, reviewing alerts daily, and treating the alerts it generates as inputs to decisions rather than noise to dismiss.
The investment required is primarily time and knowledge, not money. For an SME IT team that is already stretched, that is a real constraint. My recommendation is always to start small: deploy on your five most critical servers, tune aggressively, and build operational familiarity before expanding coverage. A well-operated Wazuh deployment covering 20 systems is worth more than a neglected deployment covering 200.
The alternative — having no visibility into what is happening on your systems — is not a neutral position. It is a choice to remain unaware of threats that are already present. Most SMEs that experience significant security incidents did not lack defences. They lacked visibility. That is the gap Wazuh is built to close.