Get Notified when Error Logs are Found

Our story

We initially developed this tool internally for our own main service, opali.xyz . Our infrastructure uses AWS Lambda functions with CloudWatch logging, and we wanted to be immediately notified if an error occured in our production environment, to be able to immediately fix it.

We bench marked different solutions, but they were either too expensive (monthly subscriptions..) or much more complex than needed for our setup.

The setup

We set up a lambda function which is triggered every 5 minutes, and checks all the logs for the error pattern. If it finds one, it simply makes a POST request, passing the function name, log id, and the log message, which allows for an extremely fast response on our side.

Results

The results were immediate and very promising. In the past few weeks, we were able to find and fix several issues extremely quickly. We found emails to be a perfect solution for urgent notifications given their universal use.

Made in Webflow