Skip to content

a python script to use a AWS lambda function to forward CONFIG logs into ELK.

Notifications You must be signed in to change notification settings

sochub/config-forwarder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

A python script to run into a aws lambda and index config logs.

This is a python script to parser and send config records to the lambda.Thiss script uses a sns-topic to read new files related to config logs but you can edit the same to run it into your env. Also has a main function to running this into your computer for specifics objects like:

$ python3 config_fwd.py -b bucket_NAME -k config-log-data-.json -e https://myELKdomain.aws.com

To run this you need:

  • CONFIG running into your AWS
  • SAVE your config records into a S3 bucket
  • A SNS topic for each new s3 object related to the lambda
  • A LAMBDA FUNCTION with access to the s3 and elasticsearch domain.

This script need some envs to work:

Name Details
elk_node the aws elasticsearch domain url

About

a python script to use a AWS lambda function to forward CONFIG logs into ELK.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages