fluent-plugin-nais 0.5.0 → 0.6.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: 778c0bacd694bbc95a584affa1b49dc940dec42c
4
- data.tar.gz: c17c9688fc5e4ad6a1b6af270434722d27cb0bf3
3
+ metadata.gz: 9184b29be4d881feb794571592ed6d08bf6dbd3c
4
+ data.tar.gz: 1022a8909b6db539c76605c68880eb9dec44e421
5
5
  SHA512:
6
- metadata.gz: f1a774cb7bffca94109aee23b1b93bedc0fd385136742615541dcf98121d17ea48f68169201f9978e00ac50fa1797cdb3e721b486acd5d3fe1c6007049fa64ec
7
- data.tar.gz: 9d17e6a57c7d324af35de4e558a1108a4941758767343507f1eda19729fd62f97f4d677d3a82f6c65e71093783bbef1572a68af9ef14abeb585ded2b6cca24a4
6
+ metadata.gz: e946168faae6579b76bce2bb8fd56b0e7821c7461e1f643ae84ca2c542f506f1ebf7f569e44dca83caa1d1fcdf83660c934da62bd9feb570c6cb4c84cbc79990
7
+ data.tar.gz: 4dc3e1a6fe75c2b140789fb620166d0a55f2651e4e490e0bd12a68293caae7250911b4960941c73b0474a394376c26725cd7aa73998baae75e73d33ff79af6b6
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
  spec.require_paths = ["lib"]
22
22
 
23
23
  spec.add_dependency 'fluentd', '~> 0.14'
24
- spec.add_dependency 'nais-log-parser', '~> 0.7'
24
+ spec.add_dependency 'nais-log-parser', '~> 0.9'
25
25
 
26
26
  spec.add_development_dependency "bundler", "~> 1.15"
27
27
  spec.add_development_dependency "rake", "~> 10.0"
@@ -26,7 +26,8 @@ module Fluent::Plugin
26
26
  elsif fmt == 'glog'
27
27
  r = ::Nais::Log::Parser.parse_glog(record['log'])
28
28
  unless r.nil?
29
- r['component'] = r.delete('file')+':'+r.delete('line')
29
+ r['source'] = r['file']+':'+r.delete('line')
30
+ r['component'] = r.delete('file')
30
31
  r['log'] = r.delete('message')
31
32
  end
32
33
  end
@@ -1,7 +1,7 @@
1
1
  module Fluent
2
2
  module Plugin
3
3
  module Nais
4
- VERSION = "0.5.0"
4
+ VERSION = "0.6.0"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-nais
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Terje Sannum
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0.7'
33
+ version: '0.9'
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.7'
40
+ version: '0.9'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement