Skip to content
This repository has been archived by the owner on Aug 30, 2018. It is now read-only.

st-tech/fluent-plugin-s3-duration

Repository files navigation

Amazon S3 output plugin for (Fluentd)[http://github.com/fluent/fluentd]

Overview

fluent-plugin-s3 with time_slice_duration

Configuration

<match pattern>
  type s3

  aws_key_id YOUR_AWS_KEY_ID
  aws_sec_key YOUR_AWS_SECRET/KEY
  s3_bucket YOUR_S3_BUCKET_NAME
  s3_endpoint s3-ap-northeast-1.amazonaws.com
  s3_object_key_format %{path}%{time_slice}_%{index}.%{file_extension}
  path logs/
  buffer_path /var/log/fluent/s3

  time_slice_format %Y%m%d-%H:%M
  time_slice_duration 3600 # <- slice by 30min.
  time_slice_wait 10m
  utc
</match>

License

Apache License, Version 2.0

About

fluent-plugin-s3-duration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages