typecast output plugin for fluentd
Ruby
Latest commit 091da15 May 15, 2015 @tarom fixed for Code Climate

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.