Wazuh SIEM Tutorial: Size, Firewall and Phase In a Free SIEM on One Server

Wazuh is a free and open source platform for threat prevention, detection and response, and its quickstart sizes a single host by agent count. Per the Wazuh quickstart as read on 12 November 2026, that means 4 vCPU, 8 GiB and 50 GB for 1-25 agents, 8 vCPU, 8 GiB and 100 GB for 26-50, and 8 vCPU, 8 GiB and 200 GB for 51-100. The current release is 4.14.10, dated 5 November 2026. This page covers sizing, the ports to open, the operating systems the quickstart recommends, the install routes Wazuh lists, the first password change, Linux and Windows agent enrollment, the order in which to switch on detection (with the syslog and email alert settings), what Wazuh’s compliance guides offer, and the choice between the 4.14 branch and the 5.0 line.

Google · Preferred Sources

Don't miss new tech stories on Google

Add Tech Insider once in the Google app and our stories appear in your news suggestions.

Add Now

Sizing the host: 8 GiB at every tier, and a step up at agent 26

The vendor sizes by agent count, and the quickstart’s three rows are what you decide from. Dividing each disk figure by the top agent count of its tier gives the same answer three times.

AgentsvCPURAMDiskGB per agent at the tier top
1-2548 GiB50 GB2
26-5088 GiB100 GB2
51-10088 GiB200 GB2

The quickstart says this sizing is usually enough for monitoring up to 100 endpoints and for 90 days of queryable, indexed alert data. Each tier therefore allows 2 GB per agent at its upper edge over those 90 days. That figure is our derivation from the vendor’s rows, not a Wazuh number and not a measurement.

The cost step comes at agent 26. The vCPU count doubles from 4 to 8 and disk doubles from 50 GB to 100 GB, while RAM stays at 8 GiB. Agent 51 doubles disk again to 200 GB with no change in vCPU or RAM. If you expect to pass 25 agents within your planning horizon, provision the 8 vCPU host from the start instead of resizing after agent 25.

A 50-agent estate sits at the top of the 26-50 row. For a retention window other than 90 days, scale the disk in proportion: agents x 2 GB x (days / 90). Fifty agents kept for 180 days come to 50 x 2 x (180 / 90) = 200 GB. Read that as a proportional estimate that assumes your agents generate about as much data as the vendor’s sizing assumes. The quickstart’s table stops at 100 agents, so for a larger estate start from the deployment options page rather than stretching one node.

Which ports face the endpoints and which stay on the admin side

Write the firewall rules before the install. Endpoints need only two ports towards the manager; everything else belongs to administrators or to the server itself. The port list below follows Wazuh’s architecture documentation (the 4.11 edition); the rule column is our synthesis.

PortComponentWho connectsFirewall rule
1514/tcpWazuh server, agent eventsAgents, outbound to the managerAllow from endpoint networks
1515/tcpWazuh server, agent enrollment serviceAgents, outbound to the managerAllow from endpoint networks
1516/tcpWazuh cluster daemonOther manager nodesUnused on a single node; open only between manager nodes
55000/tcpWazuh server RESTful APIAdministrators and automationAdmin hosts only, never the internet
9200/tcpWazuh indexerThe server and dashboardInternal only, never the internet
443/tcpWazuh dashboardAnalysts’ browsersAdmin or VPN networks
514/udp (default), 514/tcp (optional)Wazuh syslog collector, disabled by defaultNetwork devices without an agentOpen only if you enable it, and only from those devices

On a host that uses ufw, the rules that face endpoints and analysts look like this, with your own networks substituted for ENDPOINT_NETWORK and ADMIN_NETWORK. They apply the first, second and sixth rows of the table above.

sudo ufw allow from ENDPOINT_NETWORK to any port 1514 proto tcp
sudo ufw allow from ENDPOINT_NETWORK to any port 1515 proto tcp
sudo ufw allow from ADMIN_NETWORK to any port 443 proto tcp

If an agent cannot enroll or report, 1515 and 1514 are the first paths to check, since they are the enrollment and agent-event ports. The same table explains why the API and indexer ports should not be published: they are for the stack and its administrators, not for endpoints. Wazuh’s own advisory on CVE-2025-24016 says the server API must be accessible to the attacker, typically over the internet, and calls that “a setup we strongly discourage”. The syslog row matters only if you have devices that cannot run an agent, because the server can also receive syslog from network devices or applications when no agent is deployed.

Installing: check the OS and the host, then pick a route

Take the install commands for the release you are targeting from the vendor’s quickstart, and the installation guide for the alternatives. As checked on 13 November 2026, the quickstart says Wazuh recommends Amazon Linux 2 and 2023, CentOS Stream 10, Red Hat Enterprise Linux 7, 8, 9 and 10, and Ubuntu 16.04, 18.04, 20.04, 22.04 and 24.04, on 64-bit x86_64 or ARM64 Linux. Before you run anything, confirm that the host runs one of those and matches the tier you picked in the sizing table.

nproc             # vCPU count
free -h           # memory
df -h /           # free disk
timedatectl status    # clock and time zone

Then bring the Debian or Ubuntu host up to date and name it. The first command refreshes the package lists and installs every pending update, so the install does not start on stale packages. The second sets the system hostname, which is the name this server shows under in the dashboard and in its own alerts.

sudo apt update && sudo apt upgrade -y
sudo hostnamectl set-hostname wazuh-soc-01

Run the assisted install below on the clean host you sized above, then check that the indexer, manager and dashboard services are active. Where the vendor’s quickstart differs for your release, follow the quickstart.

curl -sO https://packages.wazuh.com/4.14/wazuh-install.sh
sudo bash ./wazuh-install.sh -a

sudo systemctl status wazuh-indexer --no-pager
sudo systemctl status wazuh-manager --no-pager
sudo systemctl status wazuh-dashboard --no-pager

The assisted installer writes the credentials it generated into wazuh-install-files.tar in the directory you ran it from. This command prints the password file to the terminal, without unpacking the archive, so you can read the admin password for your first login.

sudo tar -O -xvf wazuh-install-files.tar wazuh-install-files/wazuh-passwords.txt

If a service shows as failed in the status checks, fix that before you enroll any agent. For the first login, Wazuh’s passwords tool changes the passwords of both the Wazuh indexer users and the Wazuh manager API users; the password management documentation (the 4.13 edition) describes it. Change the default admin password there before analysts use the dashboard, and keep the dashboard on the admin or VPN networks from the ports table. The tool is the script below, and its options are listed on that page.

sudo /usr/share/wazuh-indexer/plugins/opensearch-security/tools/wazuh-passwords-tool.sh

One script is only one route. Wazuh’s deployment options list assisted and step-by-step installation, a virtual machine, Amazon Machine Images, Docker, Kubernetes, Ansible and Puppet.

RoutePick it when
Assisted installYou have one clean Linux host and want the shortest path to a working server
Step-by-step installYou want each component installed by hand, or on separate hosts
Virtual machineYour hypervisor standard is to import an image
Amazon Machine ImageThe server will live in AWS
Docker or KubernetesYou already run containers
Ansible or PuppetYou build hosts through configuration management

Enrolling Linux and Windows agents, and what the Windows agent reads by default

Wazuh’s agent enrollment documentation is organised into requirements, the agent life cycle, enrollment methods, additional security options, deployment variables and troubleshooting. Enrollment uses 1515 and events use 1514, so both must be reachable from the endpoint as laid out in the ports table.

On a Linux endpoint, add the Wazuh APT repository (or the YUM one on RPM-based hosts) by following the Linux agent package page, then install the agent with the manager address as a deployment variable so that it registers on first start. The same page notes that to install an agent without registering it, you omit the deployment variables. Replace MANAGER_IP with your server’s address.

The four lines below add that repository on a Debian or Ubuntu endpoint. The first imports Wazuh’s signing key into its own keyring file. The chmod line makes that keyring world-readable, which APT needs in order to verify the packages. The echo line writes the repository source into /etc/apt/sources.list.d/wazuh.list, bound to that keyring. The last line refreshes the package lists so the agent package becomes available.

curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | sudo gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/wazuh.gpg --import
sudo chmod 644 /usr/share/keyrings/wazuh.gpg
echo "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main" | sudo tee /etc/apt/sources.list.d/wazuh.list
sudo apt update
sudo WAZUH_MANAGER="MANAGER_IP" apt-get install wazuh-agent
sudo systemctl enable --now wazuh-agent

# on the Wazuh server: the new agent should list as Active
sudo /var/ossec/bin/agent_control -l

Adding a second deployment variable registers the endpoint under a name you choose rather than its own hostname, which is useful when hostnames are not meaningful to analysts.

sudo WAZUH_MANAGER="MANAGER_IP" WAZUH_AGENT_NAME="web-prod-01" apt-get install wazuh-agent

Active in that listing means events are flowing from the agent. If the agent does not appear, re-check 1514 and 1515 against the ports table, then the troubleshooting section of the enrollment documentation.

On Windows, run the MSI installer from an elevated PowerShell with the manager address and a name for the agent; the same deployment variables as on Linux apply. Wazuh’s Windows agent package page notes that you must have administrator privileges to perform the installation, and it is the place to get the current MSI file name and the steps to start the service.

msiexec.exe /i wazuh-agent.msi /q WAZUH_MANAGER="MANAGER_IP" WAZUH_AGENT_NAME="WIN-HOST-01"

Next, check what you will actually receive from Windows. As checked on 12 November 2026, Wazuh’s log data collection configuration page says: “By default, the monitored event channels are System, Security, and Application.” Sysmon and PowerShell operational channels are not in that default set and must be added explicitly if you want them.

For containers, the Wazuh agent has native integration with the Docker engine to monitor images, volumes, network settings and running containers.

Switching on detection in an order that avoids locking you out

The order below is our judgment: analysis first, then features that add events, then anything that acts on your hosts. Review what each step produces before adding the next.

OrderCapabilityWhat it works fromWhy it sits here
FirstVulnerability detectionAgents send software inventory to the server, where it is correlated with continuously updated CVE databasesIt works from inventory the agents already send, so it needs no new data source
SecondSecurity configuration assessmentListed as “configuration assessment” among the capabilities in Wazuh’s PCI DSS guideOur placement: it sits with the analysis capabilities, before any feature that adds event sources or acts on hosts
ThirdFile integrity monitoringFile system changes in content, permissions, ownership and attributesEach watched change can raise events, so start with a short directory list
FourthSyslog intakeNetwork devices with no agentThe collector is disabled by default, so enabling it is a deliberate step; restrict it to trusted sources
FifthCloud and container modulesIntegration modules that pull security data from Amazon AWS, Azure or Google Cloud, and the Docker engine integrationThey add outside data sources, so add them once the core is quiet
LastActive responseOut-of-the-box responses such as blocking access to a system from the threat sourceIt acts on hosts, so a rule aimed at the wrong source could block your own administrators

For file integrity monitoring, Wazuh’s syscheck reference is where the settings live: directories go in the syscheck block of ossec.conf, and the realtime option “will enable real-time/continuous monitoring on Linux (using the inotify system calls) and Windows systems”.

Prove the path end to end with one harmless change. The first command appends a line carrying the current timestamp to a file inside a watched directory, which is enough to raise a single file integrity event on the endpoint. The second follows the server’s alert log and stops at the first syscheck alert to arrive, so you can confirm the event made the trip.

echo "test-change-$(date +%s)" | sudo tee -a /etc/hosts
sudo tail -f /var/ossec/logs/alerts/alerts.json | grep -m1 syscheck

The inventory behind vulnerability detection has also grown. Wazuh’s release blog records the IT Hygiene dashboard arriving in 4.13.0 (September 2025) and 4.14.0 (October 2025) enhancing it “with an expanded inventory that now includes browser extensions, endpoint services, users, and groups”.

Once vulnerability detection is enabled and the manager has been restarted, this command prints the last five vulnerability lines from the manager’s own log, which tells you whether the module started without errors.

sudo grep -i vulnerability /var/ossec/logs/ossec.log | tail -5

For the syslog step, Wazuh’s syslog collection page describes the setup: add a remote block to the server’s ossec.conf that listens for syslog on UDP 514, restrict it with allowed-ips to your trusted source networks, and restart the manager. Events from those devices then pass through the same decoders and rules as agent data. The page notes that the allowed-ips label is mandatory and that the configuration will not take effect without it.

sudo systemctl restart wazuh-manager

Because those events run through the same decoders and rules, you can check a rule before it goes live. This command opens an interactive session where you paste a sample log line and see which decoder and rule match it, so you can test a custom rule on the manager and then restart it.

sudo /var/ossec/bin/wazuh-logtest

Email alerting follows the same pattern. Wazuh’s alert management documentation (the 4.13 edition) says the email options are configured within the global section of /var/ossec/etc/ossec.conf, and the manager must be restarted afterwards. Before you change alert settings there, read Wazuh’s alerts reference, whose default configuration, as checked on 13 November 2026, sets email_alert_level to 12 and log_alert_level to 3.

Active response goes last for a practical reason: try any rule on a lab agent, triggered from a disposable machine rather than your own workstation, before it reaches production hosts. Wazuh’s SSH brute-force use case shows the pattern: the built-in firewall-drop command blocks the offending IP address at the host firewall, is configured in the server’s ossec.conf and is tied to the brute-force rule. Its timeout option “specifies how long the active response action must last”, and in that use case the module blocks the attacking endpoint’s IP address for 180 seconds. Set your own timeout short while you test.

While you run that test, this command follows the active-response log so you can watch each block, and the address it was applied to, as it happens.

sudo tail -f /var/ossec/logs/active-responses.log

Related on this site: our Suricata and Wazuh network intrusion detection guide.

PCI DSS, GDPR, HIPAA, NIST 800-53 and TSC: what Wazuh’s own guides list

Wazuh’s compliance documentation carries one guide per framework, and its index says the default Wazuh ruleset supports the PCI DSS, HIPAA, NIST 800-53, TSC and GDPR frameworks and standards.

FrameworkWazuh guide
PCI DSSUsing Wazuh for PCI DSS compliance
GDPRUsing Wazuh for GDPR compliance
HIPAAUsing Wazuh for HIPAA compliance
NIST 800-53Using Wazuh for NIST 800-53 compliance
TSCUsing Wazuh for TSC compliance

The PCI DSS guide lists the capabilities it leans on: log data analysis, configuration assessment, malware detection, file integrity monitoring, vulnerability detection, active response, system inventory, and visualization and dashboard. The project’s page adds that Wazuh is widely used by payment processing companies and financial institutions to meet PCI DSS requirements. Most of those capabilities are the ones in the previous section, and in our judgment they can only show evidence for the period they were running, so switch them on well before an assessment. Match each requirement in your own assessment to the guide for your framework.

4.14.10 or the 5.0 line, and when another free SIEM fits better

This tutorial targets the 4.14 branch. Wazuh’s release notes for the 4.x series run up to 4.14.10, and the documentation also publishes a separate tree with its own 5.0-rc quickstart, whose installer offers a pre-release option that downloads the release candidate packages. For a SIEM you intend to run, we would install 4.14.10 and move to the 5.0 line through Wazuh’s upgrade guide once it is a final release.

“Free” means no licence fee: Wazuh’s professional support page calls its open-source platform “powerful, trusted, and free”. You still pay for the host sized in the first table and for the hours spent tuning rules, and Wazuh’s site lists Wazuh Cloud, professional support, consulting services and training courses as paid services around the open source core. The project is widely adopted, with the GitHub repository showing 17.7k stars and 2.6k forks. If you already run Elastic Stack, OpenSearch, Splunk or Amazon Security Lake, Wazuh’s integrations guide covers integrating with them instead of replacing that tool.

Related on this site: the Wazuh vs Elastic vs Graylog comparison and the Wazuh vs Security Onion vs CrowdSec comparison.

Sofia Lindström

Sofia Lindström

Security and privacy

Sofia Lindström writes about security and privacy for Tech Insider: software vulnerabilities and the updates that fix them, data breaches, privacy rules and how products handle personal data. She works from vendor advisories, official vulnerability catalogues and the documents behind each story.

View all articles