logstash-codec-google_appengine 1.3.0 → 1.4.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: 65a25d37344d2d857ced131dfbca80891278dd78
4
- data.tar.gz: 7b0c1042da8f3905e01f7743cc1868b1c1e4bbcb
3
+ metadata.gz: f5fb3af88d07784e2036635333aab73f34b06777
4
+ data.tar.gz: 9327c06b5e466c1bd53f12fc160b239c71559a38
5
5
  SHA512:
6
- metadata.gz: 70f2f14571103eb44329f903f97b9e2e1483ecbca36954505b7b384f3f7ca04483ee7d1ca5b5208cb982390686b1ede49ff9f0f84010dc84894fbfbfcf3d73ac
7
- data.tar.gz: 19308f459a967b1d2f7630f8b8f3ad6c633626e519384a969894b08da7991bc6422074d361412a332edac98da981c1662881dab78059ebfb4412674be474f3db
6
+ metadata.gz: 652a4759ceb5d12bd694a7fdeadf38d1e9a6d2ad4d3f31504d259b166cc31e98758d592a64a09c2cba1dbb1b028964c5538918530b08742ebbb9c232328aea65
7
+ data.tar.gz: 902b7ed73f9f26cc8bff117cf8f1504f37e63b421a010c6bc1409d7218adc8948303c6269afd2113d9624ed3e00d68e2a995c409a941ecfd038a9c175d6e2efb
@@ -23,8 +23,7 @@ class LogStash::Codecs::GoogleAppengine < LogStash::Codecs::Base
23
23
  }
24
24
  end
25
25
  rescue => e
26
- @logger.info("Failed to process data", :error => e, :data => data)
27
- yield LogStash::Event.new("message" => data, "tags" => ["_googleappengineparsefailure"])
26
+ @logger.error("Failed to process data", :error => e, :data => data)
28
27
  end
29
28
  end
30
29
  end
@@ -42,6 +41,7 @@ def flatten(event)
42
41
  payload.delete('line')
43
42
  lines.map { |line| payload.merge(line) }
44
43
  else
44
+ payload['time'] = payload['endTime']
45
45
  [payload]
46
46
  end
47
47
  end
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-codec-google_appengine'
4
- s.version = '1.3.0'
4
+ s.version = '1.4.0'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "This codec may be used to decode via inputs appengine logs"
7
7
  s.description = "This gem is a logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not a stand-alone program"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-codec-google_appengine
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Small Improvements