Uninstalling Auditbeat
Open a Terminal window.
Stop the Auditbeat service using the following command:
sudo systemctl stop auditbeatDisable the service to prevent it from starting on boot:
sudo systemctl disable auditbeatUninstall the Auditbeat package:
sudo apt-get purge auditbeatRemove any residual files and directories:
sudo rm -rf /etc/auditbeat && sudo rm -rf /var/lib/auditbeat && sudo rm -rf /var/log/auditbeat
Verifying the uninstall is complete
Run the following command and confirm no results are returned:
dpkg -l | grep auditbeatRun the following command and confirm the service can no longer be found:
sudo systemctl status auditbeat
And that's it! You've successfully uninstalled Auditbeat. 🎉
