fluent-plugin-rename-key 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/fluent-plugin-rename-key.gemspec +1 -1
- data/lib/fluent/plugin/out_rename_key.rb +4 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cef5786154c636f5a5fe01dfb2956af25b4b63e4
|
4
|
+
data.tar.gz: ab217ae39633f2981b384c04690173ad1b5cfb23
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f4402b2ec1309a3ad2db612ff9e68ec294c28a971fbfda37fe688131726674ee7a3e7c303d56c38f9ea725eb1e20c15a916331caf0ccdbde91522be6f979670
|
7
|
+
data.tar.gz: ce8711a67bef5342d840d8980c7ee51c8641722276147de8d177e4c2ed91522fa5f7d9b5bbc07cbfdeac731413f2bbfe8fc648790733db47865c6c71c2bdc010
|
@@ -3,7 +3,7 @@ $:.push File.expand_path('../lib', __FILE__)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = 'fluent-plugin-rename-key'
|
6
|
-
s.version = '0.4.
|
6
|
+
s.version = '0.4.1'
|
7
7
|
s.date = '2017-02-27'
|
8
8
|
s.license = 'Apache-2.0'
|
9
9
|
s.authors = ['Shunwen Hsiao', 'Julian Grinblat', 'Hiroshi Hatake']
|
@@ -28,6 +28,10 @@ class Fluent::Plugin::RenameKeyOutput < Fluent::Plugin::Output
|
|
28
28
|
@remove_tag_prefix = /^#{Regexp.escape @remove_tag_prefix}\.?/ if @remove_tag_prefix
|
29
29
|
end
|
30
30
|
|
31
|
+
def multi_workers_ready?
|
32
|
+
true
|
33
|
+
end
|
34
|
+
|
31
35
|
def process tag, es
|
32
36
|
es.each do |time, record|
|
33
37
|
new_tag = @remove_tag_prefix ? tag.sub(@remove_tag_prefix, '') : tag
|