fluent-plugin-nais 0.33.0 → 0.34.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: 624e8f45a1773ba7046244d323dcf2026632c15d
4
- data.tar.gz: a4c1c3f207dadb265aba4aea01f62d81f30913f5
3
+ metadata.gz: 6cd6a06c66061e0b39b9f95948710d90d4836f48
4
+ data.tar.gz: b024f994f43b81dd637abf26169077d0c81c930d
5
5
  SHA512:
6
- metadata.gz: f6cbb3dea0ef8eca12153bdd543bdd4c5f8a81b9021cad09730be38a1bded1ca9403a9c933ae27908aba25415e740b54cfae0825a1e6b899e93b9f77903f69d8
7
- data.tar.gz: 7e65289e07ac06576ba0d50b151d63a87fb6bb57bb2498781a596d39eb9e456c75f4d3d6befdf58323949106661c93e664f937f6c4baf1b9d8ee635bf395050a
6
+ metadata.gz: c6c7e7a613e8ba1a41c27c227ba5194e18809b86a48ce0bca195b55f448f2eedace7621b7b82652e208f9ec89fff45a38960de95cb7cee653c1d43c4ecc5187f
7
+ data.tar.gz: 1e57171fb3773573ad89fe921f8d7444e5d9e9810d7233a3b9d4c2ad70d78788c9f27a2a71b774367cccb9a96d093800c014e7c9d9ca4e8d571be3a77e3bad8c
@@ -57,6 +57,11 @@ module Fluent::Plugin
57
57
  r['msg'] = r['err'] if r.has_key?('err') && !r.has_key?('msg')
58
58
  r['log'] = r.delete('msg')
59
59
  end
60
+ elsif fmt == 'rook'
61
+ r = ::Nais::Log::Parser.parse_rook(record['log'])
62
+ unless r.nil?
63
+ r['log'] = r.delete('message')
64
+ end
60
65
  elsif fmt == 'redis'
61
66
  r = ::Nais::Log::Parser.parse_redis(record['log'])
62
67
  unless r.nil?
@@ -1,7 +1,7 @@
1
1
  module Fluent
2
2
  module Plugin
3
3
  module Nais
4
- VERSION = "0.33.0"
4
+ VERSION = "0.34.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.33.0
4
+ version: 0.34.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-12-14 00:00:00.000000000 Z
11
+ date: 2019-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd