I recommend doing a few checks to find out what is taking up so much disk space and then running the script.
First of all, please run du -sh /var/ossec and du -sh /var/lib/wazuh-indexer/ to see how much disk space Wazuh is taking up.
Then, if the problem of disk space is caused by Wazuh, you should check which file is taking up disk space. Usually, those files are logs files, which are located at /var/ossec/logs. You can run the same command as before, but with the specified directory you want to check, for example, du -sh /var/ossec/logs. Old files are rotated into folders sorted by date:
/var/ossec/logs/alerts/year/month/day /var/ossec/logs/archives/year/month/dayHere you can learn more about it: https://wazuh.com/blog/wazuh-index-management/
Best regards.
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/87b40c9a-0888-4bef-af6d-290003afb520n%40googlegroups.com.