[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

🌕 Output filter plugin of fluentd. Convert to timestamp from date string.

Notifications You must be signed in to change notification settings

hikouki/fluent-plugin-dio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fluent::Plugin::Dio

Build Status

Output filter plugin of fluentd. Convert to timestamp from date string.

Installation

Add this line to your application's Gemfile:

gem 'fluent-plugin-dio'

And then execute:

$ bundle

Or install it yourself as:

$ gem install fluent-plugin-dio

Usage

DioFilter

Add dio filter.

<filter test.**>
  @type dio
  keys created_at, updated_at
</filter>

Assuming following inputs are coming:

{"a" => 1, "created_at" => "2011-01-02 13:14:15 UTC", "updated_at" => "2011-01-01 13:14:15 UTC"}

Then output becomes as belows:

{"a" => 1, "created_at" => 1293974055, "updated_at" => 1293887655}

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/hikouki/fluent-plugin-dio.

About

🌕 Output filter plugin of fluentd. Convert to timestamp from date string.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published