No release in over 3 years
Low commit activity in last 3 years
OpenStack Storage Service (Swift) plugin for Fluentd
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.0
~> 2.3
~> 12.3
~> 3.3

Runtime

~> 1.7
~> 2.1
~> 0.3
 Project Readme

OpenStack Storage Service (Swift) plugin for Fluent

Overview

This gem is based on hard work of: https://github.com/yuuzi41/fluent-plugin-swift. It is simplified and refactored version of this gem.

Usage

Use OpenStack environment variables to configure parameters dynamically:

<system>
  @log_level debug
</system>

<source>
  @type forward
  @log_level debug
</source>

<filter app.rails>
  @type parser
  key_name messages
  <parse>
    @type json
  </parse>
</filter>

<match app.rails>
  @type copy
  <store>
    @type swift
    auth_url "#{ENV['OS_AUTH_URL']}"
    auth_user "#{ENV['OS_USERNAME']}"
    auth_api_key "#{ENV['OS_PASSWORD']}"
    auth_tenant "#{ENV['OS_TENANT_NAME']}"
    auth_region "#{ENV['OS_REGION']}"
    ssl_verify false
    swift_container app_rails_logs
    <buffer>
      flush_mode interval
      flush_interval 5m
      flush_thread_count 2
    </buffer>
  </store>
</match>

<match fluent.**>
  @type null
</match>

<match **>
  @type stdout
</match>