Skip to content

EbryxLabs/aws-cloudtrail-to-firehose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Description

Code required to push CloudTrail logs from Cloudwatch logs to Firehose stream via lambda.

Required Parameters

  • max_batch_size: maximum size of the records in batch that are sent collectively to Firehose Stream
  • delivery_stream_name: name of the firehose delivery stream where the records shall be sent to
  • max_retry_attempts_per_batch: implemented but not tested maximum number of retries to attempt in case of failed to send data to Firehose Stream

Requirements

  • Python 3.X
  • Environment Variables: mentioned in required parametered
  • Role: lambda_basic_execution access policy as well as permission to put_record_batch for firehose stream

Flow

CloudTrail -> Cloudwatch Log Group -> Stream to AWS Lambda (Subscripion Filter) -> Firehose Stream -> AWS ES Cluster

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages