In most cases (around 90%), missing alerts on the dashboard occur due to one of the following reasons:
Indexer shard limit has been reached.
Filebeat is not forwarding alerts from alerts.json to the indexer.
First, we need to confirm that all components have been properly upgraded.
Could you please clarify the issue further? Are you saying that no events are appearing in the Wazuh dashboard at all, or are only certain logs missing?
You can check the current versions of your Wazuh Manager, Indexer, and Dashboard using the following command:
If some logs are missing, start by verifying whether new logs are being written to the alerts.json file using the following command:
If new alerts are appearing in alerts.json, it means the Manager is generating alerts, and the issue is likely between Filebeat and the Indexer.
Next, please share the output of this command to test the Filebeat connection:
Then, restart both the Wazuh Indexer and Filebeat services to check if the issue gets resolved:
Also, please provide the relevant logs for further analysis:
Filebeat logs:
cat /var/log/filebeat/filebeat | grep -i -E "error|warn"
Wazuh Indexer logs:
Check the log file name in /var/log/wazuh-indexer/, then run:
cat /var/log/wazuh-indexer/wazuh-cluster.log | grep -i -E "error|warn"
Finally, check the cluster health from either the Wazuh Web UI or CLI.
Web UI:
Navigate to Index Management → Dev Tools, then run:
GET _cluster/health
CLI:
curl -XGET -k -u <user>:<password> "https://<localhost or indexer_ip>:9200/_cluster/health"
(Use the same admin credentials you use to log in to the Wazuh Web UI.)
Please share the results of these commands so we can investigate the issue further.
If the latest alerts are being received by the manager, it means there’s no issue on the manager's side.
Then, we need to make sure Filebeat is reading the alert files and sending them to the indexer. To do so, you may use the lsof command to verify Filebeat is reading the file and check the Filebeat connection. Please, share the output of the following commands:Glad to hear the fresh setup got everything running smoothly.