Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

144
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda