Skip to content

MFrancesco/fluentbit-s3-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

fluentbit-s3-sample

This repository contains the code explained in this article

Is used to deploy a Fluent Bit chart to collect logs from your Kubernetes cluster and send them to S3 using partitioned folder structure that consider the namespace and (for this case) the app name label extracted from the metadata but could be easily modified to consider other labels/needs.

How to use it

Feel free to use this repo as a template and edit it to fit your needs.

You probably wish to change the values in the custom_script.lua file to extract the labels you need from the kubernetes object, and then using them in the rewrite_rule

Before installing the app just consider that you need to create a secret called s3-auth in the namespace you wish to install the chart to access your S3 bucket with the following keys access_key and secret_key

We got 2 files the values.yaml and the argoproject.yaml

About

Fluent Bit to S3 using partitioned folder structure

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors