Uninstalling the Wazuh central components

Follow these steps to uninstall the Wazuh central components using the Wazuh installation assistant.

  1. Download the Wazuh installation assistant:

    # curl -sO https://packages-staging.xdrsiem.wazuh.info/pre-release/5.x/installation-assistant/wazuh-install-5.0.0-beta2.sh
    
  2. Run the Wazuh installation assistant with the option -u or --uninstall as follows:

    # bash wazuh-install-5.0.0-beta2.sh --uninstall
    

This will remove the Wazuh indexer, the Wazuh manager, and the Wazuh dashboard.

Uninstalling Wazuh components

Choose from the options below to uninstall a Wazuh component.

Uninstalling the Wazuh dashboard

Follow the step below to uninstall the Wazuh dashboard using your package manager.

  1. Remove the Wazuh dashboard installation.

    # apt-get remove --purge wazuh-dashboard -y
    

Uninstalling the Wazuh manager

Follow these steps to uninstall the Wazuh manager using your package manager.

  1. Remove the Wazuh manager installation.

    # apt-get remove --purge wazuh-manager -y
    

Uninstalling the Wazuh indexer

Follow the step below to uninstall the Wazuh indexer using your package manager.

  1. Remove the Wazuh indexer installation.

    # apt-get remove --purge wazuh-indexer -y