Question

We want to push legency system's log to BAM, and to send email to administrator if an exception occurs.
Data publisher helps a lot, but I don't know about CEP. How can I manage the email sent real time?

Was it helpful?

Solution

If you are analyzing the logs real-time, you can use WSO2 CEP with an email output event adaptor to generate notifications as emails. For a sample on generating email notifications, you can refer to sample no. 0106 here.

You will have to write a query to detect exceptions in the logs here. Writing a filter query with 'contains' clause may be enough if you are just detecting the occurrences of word 'exception'. You can find documentation on writing filters here.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top