fluent-plugin-nais 0.28.0 → 0.29.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: 7d2a2abf522b3a760db8d8719830d98259a629f3
4
- data.tar.gz: e0f579aa8c402518105cbd9304636a44afdbf1ea
3
+ metadata.gz: 5be2efe447b3a6b753c05f611252fe370fe65298
4
+ data.tar.gz: f9e010893502e2d7d4355e1cd3a3d8b350b2e560
5
5
  SHA512:
6
- metadata.gz: 15bd22b281ef9da26fc1094549473645f9e30cc8f63603ce5923dd9e6af17e437539006cd195dd3b36120fa336ba223cb2c8ff2b9d52ea3ab9af6f9da9d34343
7
- data.tar.gz: 18ddf5a7c81d6bb30d07a2d642feccd359171bc916a54a983752082ad304669fbdf6af78f69baf23e503cc57f14e4e60d25c9737188bebca1cbdb277864e6e46
6
+ metadata.gz: 007f3742c2b31c10aacd9343e515aea15735ba9811564b12f870b6fdca0f62b3a3156add40ae15f7c36159350439cd7459aa6a0cedcd313fd93872ce19667555
7
+ data.tar.gz: a34db6100661ed56ed4d00ffe66e88e4d0e4f87d28fb401a6166e5b15f8c7544359b74a78ba0370990916c9555e894f08e3ea82ba109361c0a9d93f3ce6ed928
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
  spec.require_paths = ["lib"]
22
22
 
23
23
  spec.add_dependency 'fluentd', '~> 1.1'
24
- spec.add_dependency 'nais-log-parser', '>= 0.28.0'
24
+ spec.add_dependency 'nais-log-parser', '>= 0.29.0'
25
25
 
26
26
  spec.add_development_dependency "bundler", "~> 1.15"
27
27
  spec.add_development_dependency "rake", "~> 10.0"
@@ -51,6 +51,7 @@ module Fluent::Plugin
51
51
  elsif fmt == 'gokit'
52
52
  r = ::Nais::Log::Parser.parse_gokit(record['log'])
53
53
  unless r.nil?
54
+ r['msg'] = r['err'] if r.has_key?('err') && !r.has_key?('msg')
54
55
  r['log'] = r.delete('msg')
55
56
  end
56
57
  elsif fmt == 'simple'
@@ -1,7 +1,7 @@
1
1
  module Fluent
2
2
  module Plugin
3
3
  module Nais
4
- VERSION = "0.28.0"
4
+ VERSION = "0.29.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.28.0
4
+ version: 0.29.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-08-01 00:00:00.000000000 Z
11
+ date: 2018-08-09 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.28.0
33
+ version: 0.29.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.28.0
40
+ version: 0.29.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement