Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

146
Visualizações
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?

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

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.

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda