All Projects → cosmo0920 → fluent-bit-go-s3

cosmo0920 / fluent-bit-go-s3

Licence: Apache-2.0 license
[Deprecated] The predessor of fluent-bit output plugin for Amazon S3. https://aws.amazon.com/s3/

Programming Languages

go
31211 projects - #10 most used programming language
Smarty
1635 projects
Makefile
30231 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to fluent-bit-go-s3

Fluent Plugin S3
Amazon S3 input and output plugin for Fluentd
Stars: ✭ 276 (+711.76%)
Mutual labels:  s3, fluentd
Fluent Bit
Fast and Lightweight Logs and Metrics processor for Linux, BSD, OSX and Windows
Stars: ✭ 3,223 (+9379.41%)
Mutual labels:  fluentd, fluent-bit
fluency
High throughput data ingestion logger to Fluentd, AWS S3 and Treasure Data
Stars: ✭ 135 (+297.06%)
Mutual labels:  s3, fluentd
Minio
High Performance, Kubernetes Native Object Storage
Stars: ✭ 30,698 (+90188.24%)
Mutual labels:  s3, amazon-s3
backup-repository
Backup storage for E2E GPG-encrypted files, with multi-user, quotas, versioning, using a object storage (S3/Min.io/GCS etc.) and deployed on Kubernetes or standalone.
Stars: ✭ 21 (-38.24%)
Mutual labels:  s3, amazon-s3
data-transfer-hub
Seamless User Interface for replicating data into AWS.
Stars: ✭ 102 (+200%)
Mutual labels:  s3, amazon-s3
ansible-role-fluentbit
Ansible role that install FluentBit
Stars: ✭ 18 (-47.06%)
Mutual labels:  fluentd, fluent-bit
fluent-forward-go
A high-performance Go client for Fluentd and Fluent Bit
Stars: ✭ 26 (-23.53%)
Mutual labels:  fluentd, fluent-bit
aws-utils
This repository provides utilities which are used at MiQ.
Stars: ✭ 20 (-41.18%)
Mutual labels:  s3
bitnami-docker-fluentd
Bitnami Docker Image for Fluentd
Stars: ✭ 16 (-52.94%)
Mutual labels:  fluentd
gozeit
GoZeit
Stars: ✭ 19 (-44.12%)
Mutual labels:  s3
terraform-provider-minio
Terraform provider for managing minio S3 buckets and IAM Users
Stars: ✭ 123 (+261.76%)
Mutual labels:  s3
serverless-aws-static-websites
Deploy your static websites without all the hassle on AWS with CloudFront, S3, ACM and Route53 via Serverless
Stars: ✭ 121 (+255.88%)
Mutual labels:  s3
WebDAVServerSamplesJava
WebDAV server examples in Java based on IT Hit WebDAV Server Library for Java
Stars: ✭ 38 (+11.76%)
Mutual labels:  amazon-s3
Dive-Into-AWS
Links to the Repos and Sections in our Dive into AWS Course.
Stars: ✭ 27 (-20.59%)
Mutual labels:  s3
s3storage
Simple rails plugin that makes it easy to store uploaded files on Amazon S3
Stars: ✭ 15 (-55.88%)
Mutual labels:  s3
polynimbus
Multi-cloud infrastructure inventory and management tool, supporting AWS, Google Cloud, Azure, Oracle Cloud, Rackspace Cloud, Hetzner Cloud, Alibaba Cloud, e24cloud.com, Linode, Cloudflare, GoDaddy and Backblaze B2.
Stars: ✭ 70 (+105.88%)
Mutual labels:  amazon-s3
SwagMediaS3
No description or website provided.
Stars: ✭ 22 (-35.29%)
Mutual labels:  s3
s3x
s3x is a minio gateway providing an S3 API powered by TemporalX that uses IPFS as the data storage layer. It lets you turn any S3 application into an IPFS application with no change in application design
Stars: ✭ 85 (+150%)
Mutual labels:  s3
terraform-aws-cloudtrail
Terraform module to provision an AWS CloudTrail and an encrypted S3 bucket with versioning to store CloudTrail logs
Stars: ✭ 78 (+129.41%)
Mutual labels:  s3

fluent-bit s3 output plugin

Build Status Build status

Windows binaries are available in release pages.

This plugin works with fluent-bit's go plugin interface. You can use fluent-bit-go-s3 to ship logs into AWS S3.

The configuration typically looks like:

fluent-bit --> AWS S3

Usage

$ fluent-bit -e /path/to/built/out_s3.so -c fluent-bit.conf

Or,

$ make build-image

and then, specify configuration parameters as environment variables:

$ docker run -it -e="FLUENT_BIT_ACCESS_KEY_ID=yourawsaccesskey" \
                 -e="FLUENT_BIT_SECRET_ACCESS_KEY=yourawsaccesssecret" \
                 -e="FLUENT_BIT_BUCKET_NAME=yourbucketname" \
                 -e="FLUENT_BIT_S3_PREFIX=yours3prefix" \
                 -e="FLUENT_BIT_REGION=awsregion" \
                 -e="FLUENT_BIT_SUFFIX_ALGORITHM=algorithm" \
                 cosmo0920/fluent-bit-go-s3[:built-image-version]

Using docker image from docker hub.

$ docker pull cosmo0920/fluent-bit-go-s3[:latest or other tag]

Other released images are available in DockerHub's fluent-bit-go-s3 image tags.

Or, using helm:

helm install [YOURRELEASENAME] ./helm/fluent-bit

Prerequisites

  • Go 1.11+
  • gcc (for cgo)
  • make

Building

$ make

Configuration Options

Key Description Default value Note
Credential URI of AWS shared credential "" (See Credentials)
AccessKeyID Access key ID of AWS "" (See Credentials)
SecretAccessKey Secret access key ID of AWS "" (See Credentials)
Bucket Bucket name of S3 storage - Mandatory parameter
S3Prefix S3Prefix of S3 key - Mandatory parameter
SuffixAlgorithm Algorithm for naming S3 object suffix "" sha256 or no suffix("")
Region Region of S3 - Mandatory parameter
Compress Choose Compress method "" gzip or plainText("")
Endpoint Specify the endpoint URL "" URL with port or empty string
AutoCreateBucket Create bucket automatically false true/false
LogLevel Specify Log Level "info" trace/debug/info/warning/error/fatal/panic
TimeFormat Time format to add to the S3 path "20060102/15" Specify in Go's Time Format
TimeZone Specify TimeZone "" Specify TZInfo based region. e.g.) Asia/Tokyo

Example:

Add this section to fluent-bit.conf:

[Output]
    Name s3
    Match *
    # Credential    /path/to/sharedcredentialfile
    AccessKeyID     yourawsaccesskeyid
    SecretAccessKey yourawssecretaccesskey
    Bucket          yourbucketname
    S3Prefix        yours3prefixname
    SuffixAlgorithm sha256
    Region          us-east-1
    Compress        gzip
    # Endpoint parameter is mainly used for minio.
    # Endpoint      http://localhost:9000
    # TimeFormat    20060102/15
    # TimeZone      Asia/Tokyo

Credentials

By default AWS credentials are loaded from their usual providers. See AWS CLI Configuration and Credential File Settings.

If the default credentials are not desired, this plugin supports the following credential providers.

Shared Credentials

Create the following file which includes credentials:

[default]
aws_access_key_id = YOUR_AWS_ACCESS_KEY_ID
aws_secret_access_key = YOUR_AWS_SECRET_ACCESS_KEY

Then, specify the following parameter in fluent-bit configuration:

Credential    /path/to/sharedcredentialfile

Static Credentials

Specify the following parameters in fluent-bit configuration:

AccessKeyID     yourawsaccesskeyid
SecretAccessKey yourawssecretaccesskey

Useful links

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].