Hi Sam, Thanks for using Wazuh!
Can you please explain why you are required to delete the worker nodes' data, that will cause you the issue of not being able to recover the data if you lose some of the data in the future. I suggest you do not directly delete just move that data to some other server if you have or maintain the data for a certain period of time.
For the ILM policies and all, please check out the below documentation once:
https://wazuh.com/blog/index-backup-management/I hope this helps you. Don't hesitate to ask your questions/concerns.
Regards
Aditya Sharma