No commit activity in last 3 years
No release in over 3 years
Aliyun oss output plugin for Fluentd event collector
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0.9.2
>= 3.0.8

Runtime

>= 0.6.0
>= 0.12.3
 Project Readme

OSS plugin for Fluentd

Install

gem install fluent-plugin-oss

Output: Configuration

<match **>
  @type oss
  oss_key_id xxx
  oss_key_secret xxx
  oss_bucket xxx
  oss_endpoint xxx
  oss_object_key_format "%{time_slice}/%{host}-%{uuid}.%{file_ext}"

  buffer_path /var/log/fluent/myapp
  buffer_chunk_limit 256m
  time_slice_format %Y%m%d
  time_slice_wait 10m
  num_threads 8
</match>

You can also use it with the forest plugin.

<match **>
  @type forest
  subtype oss
  <template>
    oss_key_id xxx
    oss_key_secret xxx
    oss_bucket xxx
    oss_endpoint xxx
    oss_object_key_format "${tag}/%{time_slice}/%{host}-%{uuid}.%{file_ext}"

    buffer_path /var/log/fluent/myapp
    buffer_chunk_limit 256m
    time_slice_format %Y%m%d
    time_slice_wait 10m
    num_threads 8
  </template>
</match>