Hello Saiful,
Thank you for using Wazuh.
If the indices are showing correctly, check if wazuh-indexer is taking too long indexing the data, this might be due to a high volume of alerts and not having enough resources.
To confirm that the event is reaching the manager for correct decoding and correlation with the rule, activate <logall_json>yes</logall_json> in your manager. For this, go to the file /var/ossec/etc/ossec.conf and activate the option:
<ossec_config>
<global>
<jsonout_output>yes</jsonout_output>
<alerts_log>yes</alerts_log>
<logall>no</logall>
<logall_json>yes</logall_json>
. . .
</global>
Once enabled, restart the manager and check that you get this alert in your /var/ossec/logs/archives/archives.json file. This way we can confirm that this event has occurred in the agent and has reached the manager.
Then check if the alerts are generated correctly from the events. If the alerts are not generated you should review the rules, you can test if an alert will be generated using wazuh-logtest
Finally, if everything else seems correct check if wazuh-dashboard cannot retrieve the information from the indexer due to a connection or authentication issue. Remember to disable the logall options after you are done cause they can use a lot of disk space.
I hope this is helpful.
Regards,