Hello,
The filebeat configuration file is located at /etc/filebeat/filebeat.yml
Filebeat logs don't seem to provide information regarding the issue. Please share with me the output of the commands:
- journalctl -u filebeat | grep -iE "error|warn|crit"
- journalctl -u wazuh-dashboard | grep -iE "error|warn|crit"
On the other hand, I can see you have this warning in wazuh-cluster logs: high disk watermark [90%] stating you have only 4.6GB free on your system. The more recommended option is to delete old indices that are no longer used so you can free some space.
You can use the Wazuh-indexer API to delete old indices, you can use the Dev Tool option that can be reached by clicking on the "Hamburguer menu" Icon on the top left corner of the UI and then scrolling down to said option:
DELETE <index_name>
You can use wildcards on the index name but be careful not to delete unwanted indices. For example if you no longer need the alerts information from 2022, you can execute something like this:
DELETE wazuh-alerts-4.x-2022.*
To list the indices before deciding what to delete you can use:
GET /_cat/indices
To automate this, a retention policy can be implemented, this can help you delete old indices that are no longer needed, thus freeing up space and making the shards used by them available for new information. You can find more information about this in the following documentation:
https://wazuh.com/blog/wazuh-index-management/I hope you find this helpful.