Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

142
Views
Log AWS Lambda events from multiple functions into one tidy place

I have about a dozen aws lambda functions written in python. Each does its thing and logs what happens to CloudWatch Logs. that works fine, however it is tedious to parse through the logs for each of the lambdas as i make them very detailed for debugging.

What i would like to do is have a 'master log'. One log file for all of the lambdas (in addition to the cloudwatch one for each). this master log would aggregate all of the critical messages from all of the lambdas and leave out the mundane fluff.

Where and how are (is?) the best way to get this done?

I can use boto3 but it looks like S3 files are not really made to be appended to - they are meant to be replaced. that could be messy with 12 lambdas logging to it at once.

Perhaps could i use boto with cloudwatch logs?

about 4 years ago · Santiago Trujillo
1 answers
Answer question

0

AWS Lambda configures the logging for you automatically and it doesn't look like there is a way to customize which log group or log stream is used.

I haven't tried it but it seems like you could pass in your own log group and log stream to your handler, either as parameters to the handler or as environment variables. Then you could use something like watchtower to configure your own logging handler so all of your functions write to the same place.

about 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!