fluent-plugin-nais 0.32.0 → 0.33.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0dc9e2362edd09cccb62c9c8c7b001bdd0284778
4
- data.tar.gz: a63075ef1f0652c47aeaab69a0159ebc1f2ca45e
3
+ metadata.gz: 624e8f45a1773ba7046244d323dcf2026632c15d
4
+ data.tar.gz: a4c1c3f207dadb265aba4aea01f62d81f30913f5
5
5
  SHA512:
6
- metadata.gz: 29e054b9727f027f50c78c95bf6ac6ccfcfdfa9f3e25e845fcb26e0ac1fe3b54364a14566c91a264170a06fce649aca7c79c79e5056ee8278bedc3c257f2af35
7
- data.tar.gz: 91dfed1c4ee5de6ebea7d9219188601f98fbc0437dd02e615e43e2ce5b67ea0008b47972a7042321a13009a6342b647c866f6a5f65a100a53964f41cef9d44df
6
+ metadata.gz: f6cbb3dea0ef8eca12153bdd543bdd4c5f8a81b9021cad09730be38a1bded1ca9403a9c933ae27908aba25415e740b54cfae0825a1e6b899e93b9f77903f69d8
7
+ data.tar.gz: 7e65289e07ac06576ba0d50b151d63a87fb6bb57bb2498781a596d39eb9e456c75f4d3d6befdf58323949106661c93e664f937f6c4baf1b9d8ee635bf395050a
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
  spec.require_paths = ["lib"]
22
22
 
23
23
  spec.add_dependency 'fluentd', '~> 1.2'
24
- spec.add_dependency 'nais-log-parser', '>= 0.31.0'
24
+ spec.add_dependency 'nais-log-parser', '>= 0.32.0'
25
25
 
26
26
  spec.add_development_dependency "bundler", "~> 1.15"
27
27
  spec.add_development_dependency "rake", "~> 10.0"
@@ -62,6 +62,11 @@ module Fluent::Plugin
62
62
  unless r.nil?
63
63
  r['log'] = r.delete('message')
64
64
  end
65
+ elsif fmt == 'coredns'
66
+ r = ::Nais::Log::Parser.parse_coredns(record['log'])
67
+ unless r.nil?
68
+ r['log'] = r.delete('message')
69
+ end
65
70
  elsif fmt == 'simple'
66
71
  r = ::Nais::Log::Parser.parse_simple(record['log'])
67
72
  unless r.nil?
@@ -1,7 +1,7 @@
1
1
  module Fluent
2
2
  module Plugin
3
3
  module Nais
4
- VERSION = "0.32.0"
4
+ VERSION = "0.33.0"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-nais
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.32.0
4
+ version: 0.33.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Terje Sannum
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-10-04 00:00:00.000000000 Z
11
+ date: 2018-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 0.31.0
33
+ version: 0.32.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: 0.31.0
40
+ version: 0.32.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement