News for hackers. Stuff that matters.
Re:Monitoring Tiny Lambdas by ribtoks on Sunday August 21, 2022 @05:54AM (#32538721)
Inspired by Julia Evan's write-up on web-services, I wanted to show how I automated log monitoring in AWS
Re:Monitoring Tiny Lambdas by harrisonjackson on Tuesday August 23, 2022 @05:23PM (#32571736)
This is great! Hopefully the lambda you're using to aggregate your error logs doesn't have any issues. Though lack of signal is a signal, too.

We use logz.io which is a managed elk stack. It has a free tier with 1 day of log retention. They have a lambda log shipper that sends new cloudwatch logs to your dashboard where you can filter, search, and setup alerts.

Re:Monitoring Tiny Lambdas by ribtoks on Wednesday August 24, 2022 @01:36AM (#32575305)
For me using my lambda is definitely better than having a dependency on yet another external service (like the logz.io advertisement in your comment).
Re:Monitoring Tiny Lambdas by harrisonjackson on Wednesday August 24, 2022 @10:23AM (#32579836)
Oh I get that for sure. My real recommendation was for the elk-stack in general. One can self-host it pretty easily depending skillsets. The service I recommended just makes it about as easy as your email aggregator.

The email aggregator is great but if you need an actual way to search through your logs, maybe after the email aggregator alerts you that "some requests failed" doing it in cloudwatch is not so fun.

Re:Monitoring Tiny Lambdas by moltar on Tuesday August 23, 2022 @06:35PM (#32572482)
AWS has built in ability to alert of log queries. Can even do fancy stuff like parsing JSON values and aggregating them.