Skip to content

PrimeRevenue/aws-for-fluent-bit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

aws-for-fluent-bit

How to use the primerevenue-docker.jfrog.io/aws-for-fluent-bit:cloudwatch-hardcode image in this branch

docker run -it --rm -v $(pwd):/tmp/logdir/ -e AWS_REGION=us-east-1 -e AWS_CLOUDWATCH_LOG_GROUP_NAME=cloudwatch_log_group -e AWS_CLOUDWATCH_LOG_STREAM_PREFIX=cloudwatch_stream_prefix -e LOG_SOURCE_APP_NAME=source_app -e AWS_ACCESS_KEY_ID=somekey -e AWS_SECRET_ACCESS_KEY=dontdosecretslikethis primerevenue-docker.jfrog.io/aws-for-fluent-bit:cloudwatch-hardcode

Path must mounted as: /tmp/logdir within the fluentbit container

Environmental Variables used for Output configuration AWS_REGION - specify CloudWatch region AWS_CLOUDWATCH_LOG_GROUP_NAME - specify Cloudwatch log group Name *note assumes it already exists AWS_CLOUDWATCH_LOG_STREAM_PREFIX - see below

  • see branch "cloudwatch-hardcode" for :cloudwatch-hardcode tag.

About

Modification to AWS for Fluent Bit Docker Image

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published