Hi Arjun,
This is not a problem,
You can start by getting familiar with how Wazuh alerts, Wazuh collects logs from monitored endpoints, which it analyzes and matches with present decoders and eventually rules that if a match is found, it will throw up an alert on the dashboard.
Now for email alerts, the email notification is by default disabled in the Wazuh server's ossec configuration file.
which can be found on the dashboard by navigating to Management > Administration > Configuration then click on edit configuration to make changes.
if you are comfortable with the CLI of the Wazuh server then use the root user it is present in the /var/ossec/etc/ossec.conf
then edit the configuration:
<ossec_config>
<global>
<email_notification>yes</email_notification>
<email_to>
m...@test.com</email_to>
<smtp_server>
mail.test.com</smtp_server>
<email_from>
wa...@test.com</email_from>
</global>
</ossec_config>
Also you can add email alerts for specific rule IDs like the failed login as an example which has an already existing rule with id 18106 found within /var/ossec/ruleset/rules/0220-msauth_rules.xml Note: please do not edit this configuration file.
<email_alerts>
<email_to>
y...@example.com</email_to>
<rule_id>18106</rule_id>
<do_not_delay />
</email_alerts>
you can gain a guideline and procedures for email notifications
here.
For other alerts that are not present by default, you can gain more insights and guides on creating custom decoders and rules for alerts
here.
Also our tool:
Wazuh-logtest can help you in testing out these rules before fully implementing.
Best Regards,