I’ve reviewed your case. It seems the decoder and rule are working correctly. First, check the log files for any errors:
Wazuh indexer:
cat /var/log/wazuh-indexer/wazuh-cluster.log | grep -i -E "error|warn"
Wazuh manager:
cat /var/log/filebeat/filebeat | grep -i -E "error|warn"
cat /var/ossec/logs/ossec.log | grep -i -E "error|warn"
Wazuh dashboard:
journalctl -u wazuh-dashboard | grep -i -E "error|warn"
You may find an error in these logs that is causing your problem. Do alerts appear in /var/ossec/logs/alerts/alerts.json? To appear in the dashboard, they must also appear there. This error is usually caused by filebeat. If you don’t see any errors, make sure you enable logging.metrics.enabled in /etc/filebeat/filebeat.yml. You can also use filebeat test output to see if filebeat is working correctly.
cat /var/log/wazuh-indexer/wazuh-cluster.log | grep -i -E "error|warn"