How to create custom Reports and Send as a mail attachement

1,341 views
Skip to first unread message

Venkatesan A

unread,
Aug 17, 2023, 4:19:17 AM8/17/23
to Wazuh mailing list
Hello,

     How to generate custom reports and send as a mail attachment. please share documentation and sample coding with screen shots.

Md. Nazmur Sakib

unread,
Aug 17, 2023, 5:08:43 AM8/17/23
to Wazuh mailing list

Hi Venkatesan A,


I hope you are doing well. Thank you for using Wazuh.


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 report documentation to learn more.


To send reports as a mail attachment you need to configure a SMTP server and email alerts.

See the Configuring email alerts and SMTP server with authentication documentation to learn more.


Please let me know if this documentation helps and if you have any further questions do not hesitate to ask.


Regards 

Venkatesan A

unread,
Aug 17, 2023, 5:40:13 AM8/17/23
to Md. Nazmur Sakib, Wazuh mailing list
Hi,

      These points are already covered. But , I am unable to  find how to attach a pdf file in the mail - reports  alerts.

--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/54ead1ed-6507-4ad4-8643-0ce7b71c6334n%40googlegroups.com.

Md. Nazmur Sakib

unread,
Aug 17, 2023, 7:23:24 AM8/17/23
to Wazuh mailing list

Hi Venkatesan A,


From what I have gathered, there currently isn't direct functionality to automate sending a PDF report. This is because the PDF report is not generated by the Wazuh app itself.

Sorry for not having a positive answer on this.


However, you may create reports through Kibana's reporting feature which is based on custom dashboards, for the PDF report generation. You can find more about this feature here


If you have further doubts, please don't hesitate to ask.


Regards.

Reply all
Reply to author
Forward
0 new messages