You could move the log storage using a bind mount. Here’s an example of how to do it:
Alternatively, you can also move logs that have already been rotated to another storage location, thereby reducing the overall size of the logs significantly:
According to ‘/var/ossec/queue/db’, it is normal for these files to take up a fair amount of space if you have many agents connected, as they store the indexes that are processed by the wazuh-indexer.
However, if you feel that you do not have too many agents connected and the files are taking up too much space, we could look into this in more detail.