First, Wazuh OVA is for testing purposes, it is not recommended for your production environment. If you want to do a simple installation, you can follow this guide to have an "All-In-One" deployment:
https://documentation.wazuh.com/current/installation-guide/index.html . And I'd also recommend to re-enroll all agents once the deployment is done.
Second, if you verified that you're getting logs in /var/ossec/logs/alerts/alerts.log, then, in case no new alerts are appearing on the WUI, please check the manager's, Filebeat, Elastic or Kibana logs for any trace of errors.
- cat /var/ossec/logs/ossec.log | grep -i -E "err|warn"
Manager version < 4.3:
- systemctl status filebeat -l | grep -i -E "err|warn"
- systemctl status kibana -l | grep -i -E "err|warn"
- cat /var/log/elasticsearch or systemctl status elasticsearch -l | grep -i -E "err|warn"
Manager version >= 4.3:
- cat /var/log/wazuh-indexer/wazuh-cluster.log | grep -i -E "error|warn"
- cat /var/log/filebeat/filebeat | grep -i -E "error|warn"
- cat /var/ossec/logs/ossec.log | grep -i -E "error|warn"
- journalctl -u wazuh-dashboard
- cat /usr/share/wazuh-dashboard/data/wazuh/logs/wazuhapp.log | grep -i -E "error|warn"
Please also verify that all services are running correctly:
- /var/ossec/bin/ossec-control status
If any of the key services (like analisysd) are not active, try restarting the manager and paste a longer trace of the ossec.log here right after the restart is complete:
- tail -n200 /var/ossec/logs/ossec.log
Third, please verify that there are alerts in the Wazuh indexer:
- curl https://<WAZUH_INDEXER_IP>:9200/_cat/indices/wazuh-alerts-* -u <wazuh_indexer_user>:<wazuh_indexer_password> -k
Output should be like this:
- green open wazuh-alerts-4.x-2021.03.03 xwFPX7nFQxGy-O5aBA3LFQ 3 0 340 0 672.6kb 672.6kb
If you do not see any Wazuh related index, it means you have no alerts stored in Wazuh indexer.
To ensure that Filebeat is correctly configured, run the following command:
You can check more troubleshooting steps in these documents:
I'll be awaiting your feedback.