Skip to content

k-hasan-19/export-logs-s3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Export logs to S3

Export cloudwatch log stream from log group to S3 bucket using this lambda function

Sample payload:

{
  "window_length": 2,
  "log_group_name": "<log group namespace>",
  "bucket_name": "<S3 bucket name>",
  "folder_name": "<S3 prefix/folder-name>"
}