Hi,
It would be helpful if you could answer the following questions in order to find the cause of the problem
- Which Wazuh version are you using? (agents and server)
- Did you perform any changes last week?
- Did the agents stop sending logs for some specific devices or do they not send any logs at all?
If the agents stop sending logs for some specific devices it would be useful to enable the debug mode in one of the agents to troubleshoot the issue. The settings should be changed in the internal_options.conf file (Do not forget to restart the agent afterwards to apply the changes)
If no log is showing in the WUI, the issue may be in the manager or the communication with Elasticsearch may be the one that is not working properly. If so:
- Could you check if the /var/ossec/logs/alerts/alerts.json file is being populated? (You can use the command tail -f /var/ossec/logs/alerts/alerts.json or check the last alerts using tail -n 5 /var/ossec/logs/alerts/alerts.json)
- If the /var/ossec/logs/alerts/alerts.json file is being populated, check if Filebeat is sending the logs to Elasticsearch and if there is communication between Filebeat and Elasticsearch by running: filebeat test output. Also check the filebeat status by running the command service filebeat status
Also, it may be helpful to check the following in your Elasticsearch server:
Please keep us updated!
Best regards,
Mayte Ariza