Step to configure Wazuh Alerting

2,328 views
Skip to first unread message

Lee Poh Boon

unread,
Jul 13, 2023, 10:38:00 PM7/13/23
to wa...@googlegroups.com

Hi All,

Anyone who have the step on how to configure Wazuh Alerting? My Wazuh
version is 4.4.0 and it is on Linux platform.

Thank you.

regards,
pblee
Message has been deleted

Stuti Gupta

unread,
Jul 14, 2023, 12:18:45 AM7/14/23
to Wazuh mailing list

Hi Lee Poh Bonn,
Hope you are doing well and thank you for using wazuh.May I know what exactly you are looking for in wazuh alerting?  We have the following information on how to get wazuh alerts. You can have a look at these steps and information:Create rules: To generate alerts Wazuh employs rules and decoders for particular events which are located at /var/ossec/ruleset/rules. You can create your own rules and decoders to meet your unique requirements. It is suggested to Create your rules in the wazuh configuration files, which are located in the /var/ossec/etc/rules/local_rules.xml. To more about rulesets, you can refer to this link https://documentation.wazuh.com/current/user-manual/ruleset/index.html
 You can also see alerts in the  alerts.json file which is located at /var/ossec/logs/alerts/alerts.json. To test the custom rules and decoders, you can run the log at /var/ossec/bin/wazuh-logtest and ensure the alerting rules are operating properly. For this, you can follow this wazuh documentation. https://documentation.wazuh.com/current/user-manual/ruleset/testing.htmlEmail alerts: Set up email notifications so that Wazuh may send you notifications. You must modify the Wazuh settings file to set up email notifications. Find the email section in /var/ossec/etc/ossec.conf and add the required email settings, including the SMTP server, sender, and recipient addresses,. Make sure the email alerts value is in the same ossec.conf file is set to "yes" to enable email alerts. In this part, you can also define the email format, frequency, and other options. For this, you can give a look at these following documents.
https://wazuh.com/blog/how-to-send-email-notifications-with-wazuh/https://documentation.wazuh.com/current/user-manual/manager/manual-email-report/index.htmlhttps://opensearch.org/docs/latest/observing-your-data/alerting/index/You should be able to configure Wazuh alerting using these instructions and also get email notifications if security events are discovered. Don't forget to adjust the email settings and rules to suit your unique needs. Make sure to restart wazuh-manager after making configuration changes in ossec.conf and/or creating or customizing rules and decoders by executing the following command:
sudo systemctl restart wazuh-manager
Hope this information will be useful to you. Looking forward to your response!

Stuti Gupta

unread,
Aug 4, 2023, 1:36:08 AM8/4/23
to Wazuh mailing list
Hi
Hope you are doing well today!

I just wanted to follow up on this thread. Did my answer help you to solve the issue?
If you have any further questions or require additional assistance related to this thread, please don't hesitate to contact us.

Regards
Reply all
Reply to author
Forward
0 new messages