项目作者: cosmo0920

项目描述 :
Fluentd plugin to store plugin state into redis.
高级语言: Ruby
项目地址: git://github.com/cosmo0920/fluent-plugin-storage-redis.git
创建时间: 2017-02-13T08:03:21Z
项目社区:https://github.com/cosmo0920/fluent-plugin-storage-redis

开源协议:MIT License

下载


Redis storage plugin for Fluent

Build Status

fluent-plugin-storage-redis is a fluent plugin to store plugin state into redis.

Installation

Add this line to your application’s Gemfile:

  1. gem 'fluent-plugin-storage-redis'

And then execute:

  1. $ bundle

Or install it yourself as:

  1. $ gem install fluent-plugin-storage-redis

Then fluent automatically loads the plugin installed.

Configuration

  1. <storage>
  2. @type redis
  3. path my_key # or conf.arg will be used as redis key
  4. host localhost # localhost is default
  5. port 6379 # 6379 is default
  6. db_number 0 # 0 is default
  7. # If requirepass is set, please specify this.
  8. # password hogefuga
  9. # ttl 300 # If 0 or negative value is set, ttl is not set in each key.
  10. </storage>

Development

After checking out the repo, run bin/setup to install dependencies. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in fluent-plugin-storage-redis.gemspec, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/cosmo0920/fluent-plugin-storage-redis.

Copyright (c) 2017- Hiroshi Hatake

License

The gem is available as open source under the terms of the MIT License.