Accessing the Source Code to Wazuh

33 views
Skip to first unread message

Varun Nagar

unread,
Aug 31, 2026, 9:31:22 AM (4 days ago) Aug 31
to Wazuh | Mailing List
Hello,
So i am trying to build my own installer script for wazuh all-in-one installation for development purposes.
Can someone please guide me as to where do i find the source code to the All-in-one Installation and also the source codes for a distributed installation for production environment.

Thanks and Regards,
Varun

Olamilekan Abdullateef Ajani

unread,
Aug 31, 2026, 9:55:00 AM (4 days ago) Aug 31
to Wazuh | Mailing List
Hello Varun,

The source for the Wazuh installation assistant is available here: https://github.com/wazuh/wazuh-installation-assistant

The https://packages.wazuh.com/4.14/wazuh-install.sh script is for seeing the installer that Wazuh distributes, but if you want to modify or build your own installer, You should look at the GitHub repository instead. The source is split into directories such as common_functions, install_functions, cert_tool, and passwords_tool, and you can rebuild the installer with:

bash builder.sh -i

The all-in-one and distributed installations share the same installation assistant:

For All-in-one
bash wazuh-install.sh -a

And Distributed
bash wazuh-install.sh --wazuh-indexer <node-name>
bash wazuh-install.sh --start-cluster
bash wazuh-install.sh --wazuh-manager <node-name>
bash wazuh-install.sh --wazuh-dashboard <node-name>

For a distributed deployment, -g is also used with config.yml to generate the certificates/passwords bundle that is copied to the different nodes.

Also, make sure you check out the tag if your deployment is around 4.xx, example:

git clone https://github.com/wazuh/wazuh-installation-assistant.git
cd wazuh-installation-assistant
git checkout v4.14.7
bash builder.sh -i


Ref:
github.com/wazuh/wazuh-installation-assistant
https://github.com/wazuh/wazuh-ansible/releases

Olamilekan Abdullateef Ajani

unread,
Sep 1, 2026, 9:14:40 AM (3 days ago) Sep 1
to Wazuh | Mailing List
Hello Varun,

There isn't a separate "All-in-One source code" containing the manager, indexer and dashboard together.

The wazuh-install.sh -a option is mainly an installation/orchestration script. It downloads/installs the required Wazuh packages for:

Wazuh manager
Wazuh indexer
Wazuh dashboard

and then handles the configuration, certificates, credentials and service setup required to make them work together on the same host.
You can check the reference below:
https://github.com/wazuh/wazuh-installation-assistant

The actual components have their own source repositories and build systems:

Wazuh manager/server, built from the main Wazuh repository. This is the component that uses make, for example:

make -C src TARGET=server deps
make -C src TARGET=server

Ref: https://github.com/wazuh/wazuh/blob/main/docs/dev/build-sources.md

Wazuh indexer – separate source, based on OpenSearch, and built using Gradle such as ./gradlew assemble.
Ref: https://github.com/wazuh/wazuh-indexer/blob/main/DEVELOPER_GUIDE.md

Wazuh dashboard – separate source and uses the Node/Yarn build process rather than Make.
https://github.com/wazuh/wazuh-dashboard/blob/main/DEVELOPER_GUIDE.md

So there isn't one Makefile you can use to compile a complete Wazuh AIO installation.

If your goal is to create your own AIO installer, then use the installation-assistant source as the base and modifying the orchestration around the packages:

Your installer
   - install Wazuh indexer package
   - configure indexer
   - generate certificates/passwords
   - install Wazuh manager package
   - configure manager/indexer connection
   - install Wazuh dashboard package
   - configure dashboard
   - start/verify services

You could create your own Makefile as a wrapper for this, for example, with targets such as:

all: indexer manager dashboard configure

manager:
- build/install manager

indexer:
- build/install indexer

dashboard:
- build/install dashboard

configure:
- certificates, passwords and component configuration

But that Makefile would be your orchestration layer. It would not replace the individual build systems used by each Wazuh component.

I would suggest starting from the installation assistant repository and its install_functions/ rather than compiling every component from source. Its own builder.sh -i creates the final wazuh-install.sh.
https://github.com/wazuh/wazuh-installation-assistant

P.S Please, when replying on the Google Group, please ensure to reply all so other community users can benefit from it.

Best regards,

Varun Nagar

unread,
Sep 2, 2026, 6:12:19 AM (2 days ago) Sep 2
to Olamilekan Abdullateef Ajani, Wazuh | Mailing List
Hello so i have created a wazuh-installer from the builder.sh -i but while using the script then, i get this error which does not allow to install wazuh
02/09/2026 02:08:17 INFO: Starting Wazuh installation assistant. Wazuh version: 5.1.0
02/09/2026 02:08:17 INFO: Verbose logging redirected to /var/log/wazuh-install.log
02/09/2026 02:08:17 INFO: Verifying that your system meets the recommended minimum hardware requirements.
02/09/2026 02:08:17 WARNING: The system has Firewalld enabled. Please ensure that traffic is allowed on these ports: 1515, 1514, 443.
02/09/2026 02:08:19 ERROR: Failed to download artifact URLs from https://packages.wazuh.com/production/5.x/artifact-urls/artifact_urls_5.1.0.yaml. Exit code: 22


Please help me with this issue

--
You received this message because you are subscribed to a topic in the Google Groups "Wazuh | Mailing List" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/wazuh/WbvSLS2BvHY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to wazuh+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/wazuh/422bd858-7b8d-43da-b71e-6791811b3570n%40googlegroups.com.

Olamilekan Abdullateef Ajani

unread,
Sep 2, 2026, 9:39:32 AM (2 days ago) Sep 2
to Wazuh | Mailing List
Hello Varun,

It looks like you built the installer from the main branch. From what I see, main is tracking Wazuh 5.1.0 development, so the generated installer identifies itself as 5.1.0.

builder.sh -i only builds the installation assistant, it does not build the Wazuh manager, indexer and dashboard packages themselves. When you run the installer, it downloads an artifact manifest which contains the URLs for those packages. Your script is currently looking for the production 5.1.0 artifact manifest, which is why the download fails.

If your requirement is to build an installer for the current 4.14 release, check out the matching tag first:

git fetch --tags

git checkout v4.14.7
bash builder.sh -i

Then check the generated version before installing:

bash wazuh-install.sh -V

and run the AIO installation with:

sudo bash wazuh-install.sh -a

That said, the problem is not with your script, it is the branch/version you built it from.

Regards,

Reply all
Reply to author
Forward
0 new messages