No commit activity in last 3 years
No release in over 3 years
Output filter plugin of fluentd. Convert to timestamp from date string.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 1.13
~> 10.0
~> 3.1.0

Runtime

 Project Readme

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.