Uninstalling Wazuh

Uninstalling Wazuh Central components :

apt-get remove --purge wazuh-dashboard -y
apt-get remove --purge wazuh-manager -y
apt-get remove --purge filebeat -y
apt-get remove --purge wazuh-indexer -y

Uninstalling using the Automatic Installation script

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

After getting the script we can remove the wazuh central components using :

sudo bash wazuh-install.sh --uninstall

Uninstalling Wazuh Agent

apt-get remove wazuh-agent
# TO REMOVE ALONG WITH CONFIG FILES
apt-get remove --purge wazuh-agent

Disabling the system services :

systemctl disable wazuh-agent
systemctl daemon-reload

Last updated