Hi Emre Erdem
Currently, it's not possible to send these reports via email. However, this feature has been requested for the OpenSearch project and is planned for a future release. You can follow its progress in the following issues:
-
Issue 345-
Issue 72As a workaround, you can create a script that queries the Wazuh indexer API to generate the CSV report and send it via email. You can schedule this script to run periodically using a
command wodle Here's an example script for sending custom emails:
https://github.com/jctello/JCT-Wazuh/blob/main/integrations/custom-email-alertsAdditionally, you can configure your own customized report by using the report option in the `ossec.conf`. Reports can be customized based on level, source, username, rule ID, etc. See the Wazuh
report documentation to learn more.
To send reports as email attachments, you need to configure an SMTP server and email alerts. Refer to the following documentation for more details:
-
Configuring email alerts -
SMTP server with authenticationPlease let me know if this documentation helps or if you have any further questions. I'm here to assist you!
I hope this helps!