fluent-plugin-tail-ex-asis 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/fluent-plugin-tail-ex-asis.gemspec +1 -1
- data/lib/fluent/plugin/in_tail_ex_asis.rb +8 -10
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c57128e4035ae707975c2cd217cb98d1fdd04eb9
|
|
4
|
+
data.tar.gz: 6186e02438b32f27ffc98dff95ba61cec1e39acc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9661f52448fecd1a1731da0eab81f17f4730ec1449b1d6fd9c99ae78b6fedfbf63867b8f714377336681eb0e3087fc0f5af07f172e34bbb29ae5ccfd8c592e2f
|
|
7
|
+
data.tar.gz: d1461953b8e5b905fde78f22798e65afbca2e96c38274b03a2c7ce1350f9dd35a9f2bbde3aeab2e4d0eaaa971a785e052f2ee9c610174bd9a467cfcb4d462daa
|
|
@@ -14,7 +14,7 @@ Gem::Specification.new do |gem|
|
|
|
14
14
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
|
15
15
|
gem.name = "fluent-plugin-tail-ex-asis"
|
|
16
16
|
gem.require_paths = ["lib"]
|
|
17
|
-
gem.version = "0.1.
|
|
17
|
+
gem.version = "0.1.3"
|
|
18
18
|
|
|
19
19
|
#requires = ['fluentd', 'fluent-mixin-config-placeholders']
|
|
20
20
|
#requires.each {|name| gem.add_runtime_dependency name}
|
|
@@ -146,16 +146,14 @@ module Fluent
|
|
|
146
146
|
$log.info "stop following of #{@path}"
|
|
147
147
|
end
|
|
148
148
|
end
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
record[@asis_key] = text
|
|
158
|
-
return Engine.now, record
|
|
149
|
+
class AsisParser
|
|
150
|
+
include Configurable
|
|
151
|
+
config_param :asis_key, :string, :default => 'message'
|
|
152
|
+
def parse(text)
|
|
153
|
+
record = {}
|
|
154
|
+
record[@asis_key] = text
|
|
155
|
+
return Engine.now, record
|
|
156
|
+
end
|
|
159
157
|
end
|
|
160
158
|
end
|
|
161
159
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fluent-plugin-tail-ex-asis
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Yoshihisa Tanaka
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-03-
|
|
11
|
+
date: 2014-03-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: fluentd
|