Giter VIP home page Giter VIP logo

aws-alb-firehose's Introduction

Build Status codecov

Application load balancer (ALB) to Kinesis Firehose lambda

Serverless function to stream access logs of Application ELB from S3 to Amazon Kinesis Firehose.

This SAM template creates the Lambda function & associated policy + IAM role, and new S3 bucket with enabled events notifications to this Lambda function.

Send your ALB access logs to this newly created S3 Bucket. To enable access logging for ALB: http://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-access-logs.html#enable-access-logging

Built using AWS Serverless Application Model

Configuration:

  • S3ALBLogsBucketName - the name of the S3 bucket
  • DeliveryStreamName - the name of the Firehose delivery stream

Useful commands:

  • Generate a test event: sam local generate-event s3 put --bucket foo --key bar > event.json
  • Test locally: make samtest
  • SAM validate: make samvalidate
  • SAM package: make sampackage bucket=sambucket-alb
  • SAM deploy: make samdeploy stack_name=alb-firehose-lambda delivery_stream_name=test1 bucket=sambucket-alb

aws-alb-firehose's People

Contributors

s12v avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

aws-alb-firehose's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.