Sha256: 9ae06759b3aba30c6894059217f3930befc98ebc63ef9c89ef99baeb7b420556

Contents?: true

Size: 875 Bytes

Versions: 1

Compression:

Stored size: 875 Bytes

Contents

# OSS plugin for [Fluentd](http://github.com/fluent/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>
```

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fluent-plugin-oss-0.0.2 README.md