3

I have multiple lambda's. Is there a way to direct the logs from all these lambda to a specific cloud watch log group instead of each going to their own.

user373201
  • 10,945
  • 34
  • 112
  • 168
  • Possible duplicate of [Specify log group for an AWS lambda?](https://stackoverflow.com/questions/39231592/specify-log-group-for-an-aws-lambda) – Dunedan Sep 08 '17 at 06:26

1 Answers1

3

Turns out the other question is similar and looks like there is no way to currently aggregate logs from different lambda services.

I ended up creating an SQS FIFO queue. Send log messages to the queue from lambda and created a Log Lambda that will basically print all messages from the sqs queue.

When I want to view the logs I go the cloudwatch logs for the Log Lambda which have everything ordered.

user373201
  • 10,945
  • 34
  • 112
  • 168