No commit activity in last 3 years
No release in over 3 years
Output filter plugin to add messages
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.3
>= 0
~> 3.1.0

Runtime

 Project Readme

fluent-plugin-add, a plugin for Fluentd

Build Status

Gem Version

Installation

gem install fluent-plugin-add

Configration

AddOutput

<match test.**>
  @type add
  add_tag_prefix debug
  uuid true # optional 
  <pair>
    hoge moge
    hogehoge mogemoge
  </pair>
</match>

Assuming following inputs are coming:

test.aa: {"json":"dayo"}

then output becomes as belows

debug.test.aa: {"json":"dayo", "hoge":"moge","hogehoge":"mogemoge","uuid":"427037E7-235B-4F6C-9975-15AAC75E56C5"}

AddFilter

<filter test.**>
  @type add
  uuid true # optional
  <pair>
    hoge moge
    hogehoge mogemoge
  </pair>
</filter>

Assuming following inputs are coming:

test.aa: {"json":"dayo"}

then output bocomes as belows

debug.test.aa: {"json":"dayo", "hoge":"moge","hogehoge":"mogemoge","uuid":"427037E7-235B-4F6C-9975-15AAC75E56C5"}

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Copyright

Copyright (c) 2013 yu-yamada