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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f5fb3af88d07784e2036635333aab73f34b06777
|
4
|
+
data.tar.gz: 9327c06b5e466c1bd53f12fc160b239c71559a38
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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"
|