Friday, 9 June 2017

Node.js Lambda function to read the cloud watch logs in a time range

I am developing an application which logs to Amazon cloud watch with the timestamp and request URL using Amazon API gateway. My use case requires reading those logs for every 30 mins from a particular URL using a lambda function which is invoked every 30 mins.

I tried many approaches but there are issues of overcounting or undercounting some logs. Can anyone suggest me a good idea to go about?



via Aakash Chandrasekaran

No comments:

Post a Comment