fluent-plugin-typecast
<img src=“https://travis-ci.org/tarom/fluent-plugin-typecast.png?branch=master” alt=“Build Status” /> <img src=“https://badge.fury.io/rb/fluent-plugin-typecast.png” alt=“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.