fluent-plugin-nais 0.10.2 → 0.10.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d0f6ed8a96d94f54bfa642bf3f4b3a5100f598e
|
4
|
+
data.tar.gz: 50868f743c00c330aa57cd9764797aa218791688
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8804dd6f1b746f27fab57f2c1c1054853cd26b4be9e4081b6b6da13b8f194fce68583c598dcef681e632293f5d6f13361faee99615ee79ddeaf4b06f03b8f390
|
7
|
+
data.tar.gz: 311180c5c48fd7f2e513d363d2d90e38d4722cb0f55972cbb391477f46c4ff9c5b95ca3fe93db42d64a3dbf9bf33359d23cd04b0ddc2fe079007fb58c9004a13
|
@@ -14,7 +14,7 @@ module Fluent::Plugin
|
|
14
14
|
if record['kubernetes'].is_a?(Hash) && record['kubernetes']['annotations'].is_a?(Hash)
|
15
15
|
transformers = record['kubernetes']['annotations']['nais_io/logtransform']
|
16
16
|
unless transformers.nil?
|
17
|
-
|
17
|
+
transformers.split(/ *, */).each { |t|
|
18
18
|
if t == 'dns_loglevel'
|
19
19
|
level = ::Nais::Log::Parser.loglevel_from_dns_response(record['response_code'])
|
20
20
|
record['level'] = level unless level.nil?
|