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 +4 -4
- data/lib/fluent/plugin/filter_nais_logformat.rb +5 -0
- data/lib/fluent/plugin/nais/version.rb +1 -1
- 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: 6cd6a06c66061e0b39b9f95948710d90d4836f48
|
4
|
+
data.tar.gz: b024f994f43b81dd637abf26169077d0c81c930d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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?
|
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.
|
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:
|
11
|
+
date: 2019-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fluentd
|