fluent-plugin-grok-parser 2.1.3 → 2.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/fluent-plugin-grok-parser.gemspec +1 -1
- data/lib/fluent/plugin/grok.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c9d0d19c4e14ddb6d20cc30fce51ad12e8fc7b35
|
4
|
+
data.tar.gz: 9d74e54424dde5bc2db237c9c3472ddb74119005
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ef02c0f2168481e7cb4dca8285f26ce350ea602b315fcec73a51cf74e96aa187a628f0693f99b7d6639474b06d81742c79b1a43780afd4e5e78eb83a748f88b
|
7
|
+
data.tar.gz: 23e27a34ef129cdbd290a95d6f5f37313e4f1da86295e5304f3fb94459e13e71b52e2c493940df55ebf520ce57499e4a0755e8ce70802b983d28f68e241f22ae
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "fluent-plugin-grok-parser"
|
7
|
-
spec.version = "2.1.
|
7
|
+
spec.version = "2.1.4"
|
8
8
|
spec.authors = ["kiyoto", "Kenji Okimoto"]
|
9
9
|
spec.email = ["kiyoto@treasure-data.com", "okimoto@clear-code.com"]
|
10
10
|
spec.summary = %q{Fluentd plugin to support Logstash-inspired Grok format for parsing logs}
|
data/lib/fluent/plugin/grok.rb
CHANGED
@@ -35,7 +35,7 @@ module Fluent
|
|
35
35
|
end
|
36
36
|
|
37
37
|
def add_patterns_from_file(path)
|
38
|
-
File.open(path, "r").each_line do |line|
|
38
|
+
File.open(path, "r:utf-8:utf-8").each_line do |line|
|
39
39
|
next if line[0] == "#" || /^$/ =~ line
|
40
40
|
name, pat = line.chomp.split(/\s+/, 2)
|
41
41
|
@pattern_map[name] = pat
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-grok-parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- kiyoto
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-03
|
12
|
+
date: 2017-07-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -131,7 +131,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
131
131
|
version: '0'
|
132
132
|
requirements: []
|
133
133
|
rubyforge_project:
|
134
|
-
rubygems_version: 2.6.
|
134
|
+
rubygems_version: 2.6.4
|
135
135
|
signing_key:
|
136
136
|
specification_version: 4
|
137
137
|
summary: Fluentd plugin to support Logstash-inspired Grok format for parsing logs
|