fluent-plugin-dio 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +15 -0
- data/README.md +21 -6
- data/fluent-plugin-dio.gemspec +8 -4
- metadata +8 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d3a90ebd4aaff7be7e4d1ae1ace489bc8a58ceaa
|
4
|
+
data.tar.gz: 36a6127ac5e30d57c420aeea488b5f232411126a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 90c9f06b5a6eef69ddfa8739853cf50622637b9e84e43a968e17af0120c3c4fd6fe8cf303e9f35da250094789592855f83045d285f004def29e329607bb17c53
|
7
|
+
data.tar.gz: ab04b1bb084d1e395a6bed950a25f9f577f11c0edbeba5b81ffada367f92877401c5055780a34e7f14aff410ea051906daf6300a197e5e7d3227030f87ab4f29
|
data/.travis.yml
ADDED
data/README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
# Fluent::Plugin::Dio
|
2
2
|
|
3
|
-
|
3
|
+
[![Build Status](https://travis-ci.org/hikouki/fluent-plugin-dio.svg?branch=master)](https://travis-ci.org/hikouki/fluent-plugin-dio)
|
4
4
|
|
5
|
-
|
5
|
+
Output filter plugin of fluentd. Convert to timestamp from date string.
|
6
6
|
|
7
7
|
## Installation
|
8
8
|
|
@@ -22,13 +22,28 @@ Or install it yourself as:
|
|
22
22
|
|
23
23
|
## Usage
|
24
24
|
|
25
|
-
|
25
|
+
### DioFilter
|
26
26
|
|
27
|
-
|
27
|
+
Add dio filter.
|
28
28
|
|
29
|
-
|
29
|
+
```xml
|
30
|
+
<filter test.**>
|
31
|
+
@type dio
|
32
|
+
keys created_at, updated_at
|
33
|
+
</filter>
|
34
|
+
```
|
35
|
+
|
36
|
+
Assuming following inputs are coming:
|
37
|
+
|
38
|
+
```javascript
|
39
|
+
{"a" => 1, "created_at" => "2011-01-02 13:14:15 UTC", "updated_at" => "2011-01-01 13:14:15 UTC"}
|
40
|
+
```
|
41
|
+
|
42
|
+
Then output becomes as belows:
|
30
43
|
|
31
|
-
|
44
|
+
```javascript
|
45
|
+
{"a" => 1, "created_at" => 1293974055, "updated_at" => 1293887655}
|
46
|
+
```
|
32
47
|
|
33
48
|
## Contributing
|
34
49
|
|
data/fluent-plugin-dio.gemspec
CHANGED
@@ -4,13 +4,17 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "fluent-plugin-dio"
|
7
|
-
spec.version = "1.0.
|
8
|
-
spec.authors = ["
|
7
|
+
spec.version = "1.0.1"
|
8
|
+
spec.authors = ["hikouki"]
|
9
9
|
spec.email = ["koki.higashikawa@crowdworks.co.jp"]
|
10
10
|
|
11
|
-
spec.summary = %q{Output filter plugin. to timestamp from
|
12
|
-
spec.description = %q{Output filter plugin. to timestamp from
|
11
|
+
spec.summary = %q{Output filter plugin of fluentd. Convert to timestamp from date string.}
|
12
|
+
spec.description = %q{Output filter plugin of fluentd. Convert to timestamp from date string.}
|
13
13
|
spec.homepage = "https://github.com/hikouki/fluent-plugin-dio"
|
14
|
+
spec.has_rdoc = false
|
15
|
+
spec.license = "MIT"
|
16
|
+
|
17
|
+
spec.required_ruby_version = '>= 2.1'
|
14
18
|
|
15
19
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
16
20
|
f.match(%r{^(test|spec|features)/})
|
metadata
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-dio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- hikouki
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
@@ -66,7 +66,7 @@ dependencies:
|
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
|
-
description: Output filter plugin. to timestamp from
|
69
|
+
description: Output filter plugin of fluentd. Convert to timestamp from date string.
|
70
70
|
email:
|
71
71
|
- koki.higashikawa@crowdworks.co.jp
|
72
72
|
executables: []
|
@@ -74,6 +74,7 @@ extensions: []
|
|
74
74
|
extra_rdoc_files: []
|
75
75
|
files:
|
76
76
|
- ".gitignore"
|
77
|
+
- ".travis.yml"
|
77
78
|
- Gemfile
|
78
79
|
- README.md
|
79
80
|
- Rakefile
|
@@ -82,7 +83,8 @@ files:
|
|
82
83
|
- fluent-plugin-dio.gemspec
|
83
84
|
- lib/fluent/plugin/filter_dio.rb
|
84
85
|
homepage: https://github.com/hikouki/fluent-plugin-dio
|
85
|
-
licenses:
|
86
|
+
licenses:
|
87
|
+
- MIT
|
86
88
|
metadata: {}
|
87
89
|
post_install_message:
|
88
90
|
rdoc_options: []
|
@@ -92,7 +94,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
92
94
|
requirements:
|
93
95
|
- - ">="
|
94
96
|
- !ruby/object:Gem::Version
|
95
|
-
version: '
|
97
|
+
version: '2.1'
|
96
98
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
97
99
|
requirements:
|
98
100
|
- - ">="
|
@@ -103,5 +105,5 @@ rubyforge_project:
|
|
103
105
|
rubygems_version: 2.5.1
|
104
106
|
signing_key:
|
105
107
|
specification_version: 4
|
106
|
-
summary: Output filter plugin. to timestamp from
|
108
|
+
summary: Output filter plugin of fluentd. Convert to timestamp from date string.
|
107
109
|
test_files: []
|