Wazuh 5 for 4.x operators: which daemons, tools and API endpoints are gone and what replaces them
Map of the differences between Wazuh 4.14 and 5.0 for operators: daemons, CLI tools, paths, API endpoints, dashboard apps, indices and a checklist for scripts.
Wazuh 5 renames the daemons, directories, CLI tools and a large part of the API, so 4.x scripts and procedures stop working even when the migration itself went fine. This is a map of the changes for someone who knows 4.14 and runs the system day to day; the migration steps are described in migration from 4.x to Wazuh 5.
Wazuh 5.0 is a release candidate: this post covers tag v5.0.0-rc2. Tag v5.0.0-rc3 came out on 4 December 2026 and is not covered here, and there is no stable version. The facts come from the 5.0-rc documentation, that tag and the API specification from that tag, so they may change after GA. I checked the file listings, validation results and API responses on a lab with the Docker image 5.0.0-rc2, read-only. The values in the examples are synthetic: host example.com, agent agent-01.
Manager daemons
The manager binaries live in /var/wazuh-manager and have the prefix wazuh-manager-. The agent keeps the /var/ossec layout. The 4.14 daemons page lists seventeen entries, the 5.0 page seven manager daemons and five agent daemons. On the lab wazuh-manager-control status showed exactly seven: clusterd, modulesd, remoted, analysisd, db, authd and apid.
| 4.14 daemon | Wazuh 5.0 | What replaced it |
|---|---|---|
wazuh-analysisd | wazuh-manager-analysisd | The normalization engine (Wazuh Engine) replaces analysisd end to end: decoders, filters, IOC enrichment and GeoIP |
wazuh-remoted | wazuh-manager-remoted | HTTPS on port 1517 for 5.x agents, legacy channel on 1514 for 4.x agents |
wazuh-authd | wazuh-manager-authd | Enrollment through POST /enroll and tokens, port 1515 for 4.x agents |
wazuh-db, wazuh-clusterd | wazuh-manager-db, wazuh-manager-clusterd | Same role |
wazuh-modulesd | wazuh-manager-modulesd | Adds the Vulnerability Scanner, Inventory Sync, the keystore server and the Task Manager |
wazuh-monitord | none | Periodic tasks (agent disconnections, removal of old agents, log rotation) are run by the Task Manager in modulesd |
wazuh-maild | removed | Monitor Alerting with the email channel in Notifications |
wazuh-integratord | not on the daemon list | Monitor Alerting with the Notifications channel (Slack, PagerDuty, Jira, webhook) |
wazuh-reportd | not on the daemon list | Reporting module |
wazuh-csyslogd | not on the daemon list | An Alerting monitor with a webhook channel in Notifications |
wazuh-agentlessd | removed | A Wazuh agent on the monitored host, or a custom SSH script on a relay agent run through command in logcollector |
wazuh-dbd | removed | No replacement in the documentation (the 4.14 documentation labels dbd “Wazuh 4.14.6 and earlier”) |
wazuh-execd, wazuh-logcollector, wazuh-syscheckd | agent only | Active Response configuration moved to the Active Response page in the dashboard |
The wazuh-manager-apid daemon runs only on the master node. Every manager installation is a cluster node, even a single one, and the cluster.disabled option has been removed. The dashboard plugins changelog lists the change “Removed usage of agent 000”. I infer from this that the manager host no longer appears as agent 000. The absence of wazuh-integratord, wazuh-reportd and wazuh-csyslogd from the daemon list comes from the migration guide. It is confirmed by the src tree of tag v5.0.0-rc2, which has no os_integrator, reportd or os_csyslogd directories. The changelog explicitly lists the removal of only ossec-authd, wazuh-agentlessd, wazuh-maild, wazuh-dbd and wazuh-manager-monitord. The replacements for csyslogd and agentlessd in the table come from the migration guides in the docs/guide/migration directory of the rc2 tag, not from the documentation site. According to those guides the syslog listener in remote is gone too: a <connection> element under <remote> stops the manager from starting, and logs from network devices are received by rsyslog on a collection host, where a Wazuh agent reads the systemd journal or files through <localfile>.
Instead of Filebeat, events reach the indexer through indexer-connector, and the default indexer user for the manager is wazuh-server instead of admin.
The method of reading analysisd counters from the post on analysisd drop analysis applies to 4.x. In 5.0 the daemon statistics are returned by GET /cluster/{node_id}/daemons/stats with the daemons_list parameter, which accepts wazuh-manager-analysisd, wazuh-manager-remoted and wazuh-manager-db. On the lab the query with wazuh-manager-remoted returned 200 with metrics, and the old path /manager/daemons/stats returned 404.
CLI tools
The manager tools live in /var/wazuh-manager/bin, which is not in PATH: you run them as root with the full path.
| 4.14 tool | Wazuh 5.0 |
|---|---|
agent_control | Removed. The documentation points to the API (for example GET /agents) or the dashboard |
manage_agents on the manager, agent-auth | Removed from the manager. The agent keeps manage_agents -i KEY (key import) and wazuh-agent-auth |
wazuh-logtest, wazuh-regex, clear_stats, update_ruleset | The 5.0 Tools page does not list them, and they are not in the rc2 image |
wazuh-control on the manager | wazuh-manager-control (start, stop, restart, reload, status, check) |
| service restart or reload | wazuh-manager-service-control restart or reload; reload keeps agent connections |
wazuh-keystore | wazuh-manager-keystore |
agent_groups, agent_upgrade, cluster_control, verify-agent-conf, rbac_control | Name unchanged |
fim_migrate | The 5.0 Tools page does not list it, and it is not in the rc2 image |
New ones are: wazuh-manager-conf (commands validate, get OPTION, dump), wazuh-manager-resolve-credentials (--check is read-only), wazuh-manager-certs (the CA bundle served to agents, --from-master on a worker) and the enrollment token options in wazuh-manager-authd. The Tools page lists a separate enrollment-tokens entry, while the manager Reference page describes the same operations as wazuh-manager-authd options, so use the syntax from the second:
# Create, list and revoke enrollment tokens on the master node
/var/wazuh-manager/bin/wazuh-manager-authd --create-enrollment-token --address manager.example.com
/var/wazuh-manager/bin/wazuh-manager-authd --list-enrollment-tokens
/var/wazuh-manager/bin/wazuh-manager-authd --purge-enrollment-tokens
The documentation names no CLI tool for testing rules, and the /var/wazuh-manager/bin of the rc2 image has neither wazuh-logtest nor a rules directory. The image installs the official RPM package, and neither the file list in its spec nor the install functions the DEB package is built from include wazuh-logtest, wazuh-regex, clear_stats, update_ruleset or fim_migrate (that comes from reading the code, not from a test). Content is tested through the indexer API (logtest/normalization in the content management module). The API also lost PUT /logtest and DELETE /logtest/sessions/{token}, and the dashboard lost the Ruleset test app. Custom detection content in 5.0 is described in the post on decoders and KVDB.
Paths and configuration files
| 4.x file | 5.0 file |
|---|---|
/var/ossec/etc/ossec.conf | /etc/wazuh-manager/wazuh-manager.conf |
/var/ossec/etc/local_internal_options.conf | /etc/wazuh-manager/wazuh-manager-internal-options.conf |
/var/ossec/api/configuration/api.yaml | /var/wazuh-manager/api/configuration/api.yaml (master only) |
Filebeat certificates in /etc/filebeat/certs/ | /etc/wazuh-manager/certs/: indexer-ca.pem, indexer-connector.pem, indexer-connector-key.pem, next to the apid, remoted and root-ca.pem certificates |
/var/ossec/queue/db/, queue/tasks/, queue/cluster/ (sockets) | queue/sockets/, names end in .sock |
The /etc/wazuh-manager directory is fixed, with no symlink: a custom install directory moves only the installation. The systemd unit refuses to start a manager installed under /home, /root, /run/user, /tmp or /var/tmp. After a package upgrade the old socket files stay behind as dead entries until a clean install, so scripts that read them have to be rewritten.
The configuration file has a single root wazuh_config, and the manager accepts only the sections global, logging, remote, auth, wdb, vulnerability-detection, indexer, task-manager and cluster. Every other section and every unsupported option ends in a startup error. The full table of sections is in the migration post. Validation can run before a restart and its exit code is usable in a script:
# Exit status 0 and no output when valid; otherwise prints the invalid option and exits with 1
/var/wazuh-manager/bin/wazuh-manager-conf -f /etc/wazuh-manager/wazuh-manager.conf validate
/var/wazuh-manager/bin/wazuh-manager-control check
On the lab, validation of a correct file finished with code 0 and no output, and check printed “Configuration and credentials checks passed.” A copy with a 4.x option in the global section gave code 1 and this message:
(1244): Invalid configuration at '/global/agents_disconnection_alert_time': unknown option (does not satisfy 'additionalProperties') [schema /properties/global].
An <integration> block carried over from 4.x ends in the same error for the path /integration.
Internal options are more lenient than the configuration: the 5.x manager ignores removed options and options under old names without a warning. A carried-over local_internal_options.conf can therefore look correct and do nothing. Eight monitord.* options have new names (all of them appear as strings in the rc2 binaries; I did not set them on the lab):
| 4.x option | 5.0 option |
|---|---|
monitord.delete_old_agents | wazuh_modules.manager_task_delete_old_agents |
monitord.monitor_agents | wazuh_modules.manager_task_monitor_agents |
monitord.rotate_log | wazuh_modules.manager_task_log_rotate |
monitord.compress | wazuh_modules.manager_task_log_compress |
monitord.keep_log_days | wazuh_modules.manager_task_log_keep_days |
monitord.day_wait | wazuh_modules.manager_task_log_day_wait |
monitord.size_rotate | wazuh_modules.manager_task_log_size_rotate |
monitord.daily_rotations | wazuh_modules.manager_task_log_daily_rotations |
The Task Manager documentation in the rc2 repository describes the meaning, ranges and defaults of the new options. For example, manager_task_delete_old_agents is a window in minutes on top of agents_disconnection_time, 0 by default, which means deletion is off. The changelog says the task settings are reported by GET /manager/configuration/wmodules/wmodules, but the rc2 specification has no /manager paths. There the same pair is served by GET /cluster/{node_id}/configuration/wmodules/wmodules, described as the modulesd configuration with a task-manager section.
Modulesd reads the options file line by line and takes the first occurrence of a key, so repeating it further down changes nothing. Lines starting with # or a space are skipped. A comment on the same line as a numeric value makes the value fail validation, and modulesd does not start (that comes from reading the code, not from a test).
The agent keeps monitord.* for its own log rotation. The global section accepts only agents_disconnection_time, and agents_disconnection_alert_time causes a startup error.
The documentation is inconsistent here. The rc2 changelog says the engine produces alerts.json and archives.json output, while the migration guide treats alerts_log, logall and logall_json as unsupported and gives no replacement for the alerts section. In the default rc2 Docker installation the directories logs/alerts and logs/archives do not exist; logs/ holds only api.log, cluster.log, wazuh-manager.log and wazuh-manager.json. The engine code has a generic file output that writes JSON files under logs/ with the pattern YYYY/Mmm/wazuh-<name>-DD, and the only file output definition it ships (wazuh-events-v5) has enabled: false. The rc2 code I went through has no files named alerts.json or archives.json (that comes from reading the code, not from a test).
API endpoints
The spec.yaml specification has 182 operations in tag v4.14.11 and 100 in v5.0.0-rc2. I counted the difference by comparing the paths from both files; the specification installed in the rc2 image also has 100 operations on 76 paths. The tags Manager, Rootcheck, SCA, Syscheck, Syscollector and Tasks are still declared in the 5.0 specification and appear on the API reference page as endpoint groups, but they have no path in it.
| 4.14.11 group | Wazuh 5.0.0-rc2 |
|---|---|
/manager/* (status, info, logs, configuration, restart and others) | Gone. Equivalents are under /cluster/{node_id}/ (status, info, logs, configuration) and PUT /cluster/restart |
/syscollector, /experimental, /syscheck, /rootcheck, /sca, /ciscat | Gone. Changelog: inventory-related endpoints were removed |
/rules, /decoders, /lists, /logtest | Gone. Detection content is managed by the content management module |
GET /agents/{agent_id}/stats/{component}, GET /agents/{agent_id}/daemons/stats | Gone. You read agent statistics from the wazuh-agent-stats index |
GET /manager/stats*, GET /cluster/{node_id}/stats* | Gone. Daemon statistics: GET /cluster/{node_id}/daemons/stats |
GET /security/user/authenticate | Marked deprecated in 4.14, answers 405 Method Not Allowed in 5.0. POST /security/user/authenticate already works in 4.14 |
PUT /active-response, POST /events, GET /tasks/status, PUT /agents/reconnect | Gone |
| new in 5.0 | GET, POST, DELETE /agents/enrollment-tokens, DELETE /agents/enrollment-tokens/{token_id}, GET /cluster/{node_id}/daemons/remoted/tls, PUT /cluster/reload, PUT /agents/reload, PUT /agents/scan/vulnerability |
You can switch scripts to POST before the upgrade. An example of logging in with POST:
# GET is deprecated in 4.14 and removed in 5.0; POST works in both
curl -sk -u wazuh:EXAMPLE_PASSWORD -X POST "https://example.com:55000/security/user/authenticate?raw=true"
The -k option turns off API certificate verification. Outside a lab, pass --cacert with the CA file instead; on a 5.0 manager installed with the assistant it is /etc/wazuh-manager/certs/root-ca.pem, readable by root and the wazuh-manager group. The host in the URL has to match a SAN in the apid.pem certificate, which the assistant issues for the manager name and addresses, localhost, 127.0.0.1 and the names given in --api-san.
On rc2 the response is a JWT token valid for auth_token_exp_timeout seconds (900 by default). Agent restart through PUT /agents/restart and PUT /agents/{agent_id}/restart stays, and the description of parameters and partial errors is in restarting agents through the API, where agent_control should now be read as a 4.x tool.
Permission and account changes that break integrations:
- The user
wazuh-wuiis now calledwazuh-internal-client, and the userwazuhno longer hasallow_run_asenabled:POST /security/user/authenticate/run_asanswers it with code 403 and error 6004 (I checked this on the lab). - The default users have no password in the package. The API password must be 12 to 64 characters long, including a letter and a digit (the minimum was 8).
- New RBAC actions:
enrollment_token:create,enrollment_token:read,enrollment_token:delete,agent:read_secretsandcluster:read_secrets.GET /agents/{agent_id}/keynow requiresagent:read_secrets, so a custom policy withagent:readmust get this action explicitly, and by default only theadministratorrole has access to keys. - A
rbac.dbdatabase created before the change does not get the new policies: the administrator of such an installation gets 403 on/agents/enrollment-tokensuntil the database is created anew or the actions are added. - The API runs only on the master, so you point scripts and the dashboard at the master node address.
Dashboard and indices
The Rules, Decoders, CDB List and Ruleset test apps are gone from the dashboard; their functions were taken over by the Ruleset management plugin. The default index pattern wazuh-alerts-* is replaced: for saved objects the equivalent is wazuh-findings-v5*, and for wazuh-archives-* it is wazuh-events-v5*. Server statistics come from the wazuh-metrics-* indices, and agent monitoring from wazuh-metrics-agents* and wazuh-agent-stats*. Objects based on wazuh-monitoring-* or wazuh-statistics-* will show no data. The default request in Dev Tools is GET /cluster/<NODE_NAME>/info, not GET /manager/info. The indices in the rc2 lab include wazuh-findings-v5-*, wazuh-events-v5-*, wazuh-metrics-agents, wazuh-metrics-comms-v4, wazuh-agent-stats and wazuh-active-responses. Alerting in place of the integrator and email is described in the post on Alerting monitors, and the 4.x side in the post on the integrator.
What to check in your scripts
This is my recommendation; the vendor does not describe such a procedure. The patterns below look for references to things that, according to the documentation or the specification, are gone or renamed. A hit needs manual review, because the pattern authenticate? also covers a correct login with POST:
# Run from the directory that holds your operational scripts
rg -n \
-e '/var/ossec' -e 'ossec\.conf' -e 'local_internal_options' \
-e 'agent_control' -e 'manage_agents' -e 'agent-auth' -e 'wazuh-logtest' \
-e 'monitord\.' -e 'wazuh-alerts-' -e 'wazuh-archives-' -e 'wazuh-wui' \
-e 'authenticate\?' \
-e '/(manager|syscollector|syscheck|rootcheck|sca|ciscat|rules|decoders|lists|logtest)(/|\?|")' \
scripts/
For each hit, apply the table from the matching section: paths and internal options, tools, endpoints, index patterns. The patterns will not catch three things, which you should check separately: scripts reading sockets outside queue/sockets/, accounts whose agent key export relied on agent:read, and API passwords shorter than 12 characters.
Sources
- https://documentation.wazuh.com/5.0-rc/user-manual/reference/daemons/index.html
- https://documentation.wazuh.com/4.14/user-manual/reference/daemons/index.html
- https://documentation.wazuh.com/5.0-rc/user-manual/reference/tools/index.html
- https://documentation.wazuh.com/4.14/user-manual/reference/tools/index.html
- https://documentation.wazuh.com/5.0-rc/user-manual/manager/reference.html
- https://documentation.wazuh.com/5.0-rc/user-manual/manager/wazuh-manager-services.html
- https://documentation.wazuh.com/5.0-rc/migration-to-5x/wazuh-manager.html
- https://documentation.wazuh.com/5.0-rc/migration-to-5x/wazuh-dashboard.html
- https://documentation.wazuh.com/5.0-rc/user-manual/api/reference.html
- https://raw.githubusercontent.com/wazuh/wazuh/v5.0.0-rc2/CHANGELOG.md
- https://raw.githubusercontent.com/wazuh/wazuh/v4.14.11/api/api/spec/spec.yaml
- https://raw.githubusercontent.com/wazuh/wazuh/v5.0.0-rc2/api/api/spec/spec.yaml
- https://raw.githubusercontent.com/wazuh/wazuh-dashboard-plugins/v5.0.0-rc2/CHANGELOG.md
- https://raw.githubusercontent.com/wazuh/wazuh/v5.0.0-rc2/packages/rpms/SPECS/wazuh-manager.spec
- https://raw.githubusercontent.com/wazuh/wazuh/v5.0.0-rc2/packages/debs/SPECS/wazuh-manager/debian/rules
- https://raw.githubusercontent.com/wazuh/wazuh/v5.0.0-rc2/src/init/inst-functions.sh
- https://raw.githubusercontent.com/wazuh/wazuh/v5.0.0-rc2/docs/guide/migration/remote-syslog-output.md
- https://raw.githubusercontent.com/wazuh/wazuh/v5.0.0-rc2/docs/guide/migration/syslog-input-4x-to-5x.md
- https://raw.githubusercontent.com/wazuh/wazuh/v5.0.0-rc2/docs/guide/migration/agentless-4x-to-5x.md
- https://raw.githubusercontent.com/wazuh/wazuh/v5.0.0-rc2/docs/ref/modules/task_manager/configuration.md
- https://raw.githubusercontent.com/wazuh/wazuh/v5.0.0-rc2/src/shared/src/validate_op.c
- https://raw.githubusercontent.com/wazuh/wazuh/v5.0.0-rc2/src/config/src/wmodules-task-manager.c
- https://raw.githubusercontent.com/wazuh/wazuh/v5.0.0-rc2/src/engine/source/conf/src/conf.cpp
- https://raw.githubusercontent.com/wazuh/wazuh/v5.0.0-rc2/src/engine/ruleset/outputs/file-output-integrations.yml
- https://raw.githubusercontent.com/wazuh/wazuh-docker/v5.0.0-rc2/build-docker-images/wazuh-manager/Dockerfile
- https://raw.githubusercontent.com/wazuh/wazuh-installation-assistant/v5.0.0-rc2/install_functions/manager.sh