logstash-codec-google_appengine 1.12.0 → 1.13.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: bced434c6dd8fa72f09587399591caa6410bb32f
|
4
|
+
data.tar.gz: 3c69cffb8da8d1bf67f29000f6d55129e6f7d536
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff2faec1f708198fe8be4753684bb64192a1455631ab0dc6e6d0bae2b9fc659653b565ee307705d7c31111ded653d0521cdd685c67f1de5f0436f5fb7485e53a
|
7
|
+
data.tar.gz: 29e0937b45fda72006c8aa6485acb467326e0475a3205bbe44954d87d25d8ce88ddd5dca7dc3acebda692c7e1d844812d74a722fdace818d9d9f0d9242042e2a
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
require "logstash/codecs/base"
|
3
3
|
require "logstash/namespace"
|
4
|
-
require "logstash/
|
4
|
+
require "logstash/json"
|
5
5
|
require 'digest'
|
6
6
|
|
7
7
|
class LogStash::Codecs::GoogleAppengine < LogStash::Codecs::Base
|
@@ -10,21 +10,15 @@ class LogStash::Codecs::GoogleAppengine < LogStash::Codecs::Base
|
|
10
10
|
public
|
11
11
|
|
12
12
|
def register
|
13
|
-
@json = LogStash::Codecs::JSON.new
|
14
13
|
@md5 = Digest::MD5.new
|
15
14
|
end
|
16
15
|
|
17
16
|
def decode(data)
|
18
17
|
begin
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
flatten(json).each { |flattenedJson|
|
24
|
-
yield LogStash::Event.new flattenedJson
|
25
|
-
}
|
26
|
-
end
|
27
|
-
end
|
18
|
+
data = LogStash::Json.load(data)
|
19
|
+
flatten(data).each { |flattenedJson|
|
20
|
+
yield LogStash::Event.new flattenedJson
|
21
|
+
}
|
28
22
|
rescue => e
|
29
23
|
@logger.error "Failed to process data", :error => e, :data => data
|
30
24
|
end
|
@@ -18,7 +18,6 @@
|
|
18
18
|
<orderEntry type="library" scope="PROVIDED" name="insist (v1.0.0, jruby-9.0.1.0-p0) [gem]" level="application" />
|
19
19
|
<orderEntry type="library" scope="PROVIDED" name="jrjackson (v0.2.9, jruby-9.0.1.0-p0) [gem]" level="application" />
|
20
20
|
<orderEntry type="library" scope="PROVIDED" name="kramdown (v1.8.0, jruby-9.0.1.0-p0) [gem]" level="application" />
|
21
|
-
<orderEntry type="library" scope="PROVIDED" name="logstash-codec-json (v1.0.1, jruby-9.0.1.0-p0) [gem]" level="application" />
|
22
21
|
<orderEntry type="library" scope="PROVIDED" name="logstash-core (v1.5.4, jruby-9.0.1.0-p0) [gem]" level="application" />
|
23
22
|
<orderEntry type="library" scope="PROVIDED" name="logstash-devutils (v0.0.15, jruby-9.0.1.0-p0) [gem]" level="application" />
|
24
23
|
<orderEntry type="library" scope="PROVIDED" name="method_source (v0.8.2, jruby-9.0.1.0-p0) [gem]" level="application" />
|
@@ -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.13.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"
|
@@ -19,6 +19,5 @@ Gem::Specification.new do |s|
|
|
19
19
|
s.add_runtime_dependency "logstash-core", '>= 1.4.0', '< 2.0.0'
|
20
20
|
|
21
21
|
s.add_development_dependency 'logstash-devutils'
|
22
|
-
s.add_development_dependency 'logstash-codec-json'
|
23
22
|
end
|
24
23
|
|
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.
|
4
|
+
version: 1.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Small Improvements
|
@@ -44,20 +44,6 @@ dependencies:
|
|
44
44
|
version: '0'
|
45
45
|
prerelease: false
|
46
46
|
type: :development
|
47
|
-
- !ruby/object:Gem::Dependency
|
48
|
-
name: logstash-codec-json
|
49
|
-
version_requirements: !ruby/object:Gem::Requirement
|
50
|
-
requirements:
|
51
|
-
- - ">="
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: '0'
|
54
|
-
requirement: !ruby/object:Gem::Requirement
|
55
|
-
requirements:
|
56
|
-
- - ">="
|
57
|
-
- !ruby/object:Gem::Version
|
58
|
-
version: '0'
|
59
|
-
prerelease: false
|
60
|
-
type: :development
|
61
47
|
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
|
62
48
|
email: mruhwedel@small-improvements.com
|
63
49
|
executables: []
|