├── .gitignore ├── .travis.yml ├── Gemfile ├── LICENSE.txt ├── README.md ├── Rakefile ├── example ├── file.conf └── sample.conf ├── fluent-plugin-forest.gemspec ├── lib └── fluent │ └── plugin │ └── out_forest.rb └── test ├── helper.rb ├── output └── out_forest_test.rb └── plugin ├── test_out_forest.rb └── test_out_forest_test.rb /.gitignore: -------------------------------------------------------------------------------- 1 | *.gem 2 | *.rbc 3 | .bundle 4 | .config 5 | .yardoc 6 | Gemfile.lock 7 | InstalledFiles 8 | _yardoc 9 | coverage 10 | doc/ 11 | lib/bundler/man 12 | pkg 13 | rdoc 14 | spec/reports 15 | test/tmp 16 | test/version_tmp 17 | tmp 18 | # For TextMate, emacs, vim 19 | *.tmproj 20 | tmtags 21 | *~ 22 | \#* 23 | .\#* 24 | *.swp 25 | 26 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: ruby 2 | sudo: false 3 | rvm: 4 | - 2.1 5 | - 2.2 6 | - 2.3.0 7 | before_install: 8 | - gem update bundler 9 | -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | # Specify your gem's dependencies in fluent-plugin-forest.gemspec 4 | gemspec 5 | -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2012- TAGOMORI Satoshi 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # fluent-plugin-forest 2 | 3 | **NOTE: This plugin will not be updated: Use Fluentd v0.14 native API to handle tags.** 4 | 5 | This is a plugin for [Fluentd](http://fluentd.org). 6 | 7 | ## Component 8 | 9 | ### ForestOutput 10 | 11 | ForestOutput creates sub plugin instance of a output plugin dynamically per tag, from template configurations. 12 | In template configurations, you can write configuration lines for overall tags by `