fluent-plugin-logdna 0.1.3 → 0.1.4

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: 648846b6bd22ad3f59cfda299bb332afb04c34de
4
- data.tar.gz: 34a990c6f507fd99b882b9ac2f2505b6d1efc497
3
+ metadata.gz: e13fd47de574942588af1d3e0150ea8c1fe1ff00
4
+ data.tar.gz: 5c7daa2ed3d2c7b70164086af0a3c78d5e2fba97
5
5
  SHA512:
6
- metadata.gz: b8d31df536495d7f1557ae26cd722c7a6a7682858bc66d6cf97264336268a1f51b910720338139de5db7c80c146bf371d4c45b652ffb35bb848600f7fc76356c
7
- data.tar.gz: ab1c1eea79e4b20f65088aa662c3d9e64f94e16b6dc0780ec7268c6c626a4840e477e49deb250a1f0bc27e3d36f44208ee7adc176b8101054ff6ec2476a90884
6
+ metadata.gz: a96aa3472d39194d3b2d25a98aacb616cd326e91f3fe6421234548ea470ab5f378d8854ca433d077277240acb3d6a392cf5b68cd1531dd6fdcf602ed0e822050
7
+ data.tar.gz: 5713e81abfd486cf8899aa6a39a344bf934ef489e1bc6de6f6a66bd4ef6cf4cd2eb95e7927e9155f4983eb5fb486c5ddac6f6824e31232cf87929d644735c4b1
@@ -3,7 +3,7 @@ require 'date'
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = 'fluent-plugin-logdna'
6
- s.version = '0.1.3'
6
+ s.version = '0.1.4'
7
7
  s.date = Date.today.to_s
8
8
  s.summary = 'LogDNA plugin for Fluentd'
9
9
  s.description = 'Fluentd plugin for supplying output to LogDNA.'
@@ -55,7 +55,7 @@ module Fluent
55
55
 
56
56
  def gather_line_data(tag, time, record)
57
57
  line = {
58
- level: record['level'] || tag.split('.').last,
58
+ level: record['level'] || record['severity'] || tag.split('.').last,
59
59
  timestamp: time,
60
60
  line: record['message'] || record.to_json
61
61
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-logdna
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Edwin Lai
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-15 00:00:00.000000000 Z
11
+ date: 2017-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: http