typecast output plugin for fluentd
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
gemfiles
lib/fluent/plugin
test
.document
.gitignore
.travis.yml
Gemfile
LICENSE.txt
README.rdoc
Rakefile
Rakefile.ci
VERSION
fluent-plugin-typecast.gemspec

README.rdoc

fluent-plugin-typecast

Build Status Gem Version

typecast output plugin for fluentd.

Configuration

item_types

KEY:TYPE pairs separated by comma(,). support types:

  • integer

  • float

  • string

  • time

  • bool

  • array

  • json

time_format

format for typecast to time

prefix

prefix string, add to the tag

Example

<match foo.bar>
  item_types test1:integer,test2:string,test3:time,test4:bool
  time_format %d/%b/%Y:%H:%M:%S %z
  prefix typed
</match>

<match typed.foo.bar>
  type mongo
  database fluent_typed
  collection test
</match>

Copyright

Copyright © 2013 Taro Moriya. See LICENSE.txt for further details.