logstash-codec-protobuf 1.0.5 → 1.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +20 -1
- data/Gemfile +1 -1
- data/LICENSE +2 -3
- data/README.md +147 -40
- data/docs/index.asciidoc +173 -41
- data/lib/logstash/codecs/protobuf.rb +598 -238
- data/logstash-codec-protobuf.gemspec +3 -3
- data/spec/codecs/{protobuf_spec.rb → pb2_spec.rb} +81 -54
- data/spec/codecs/pb3_decode_spec.rb +445 -0
- data/spec/codecs/pb3_encode_spec.rb +243 -0
- data/spec/helpers/pb2/event.pb.rb +19 -0
- data/spec/helpers/pb2/event.proto +12 -0
- data/spec/helpers/pb2/header/header.pb.rb +16 -0
- data/spec/helpers/pb2/header/header.proto +8 -0
- data/spec/helpers/pb3/FantasyHorse_pb.rb +44 -0
- data/spec/helpers/pb3/ProbeResult_pb.rb +26 -0
- data/spec/helpers/pb3/dnsmessage_pb.rb +82 -0
- data/spec/helpers/pb3/events.proto3 +10 -0
- data/spec/helpers/pb3/events_pb.rb +17 -0
- data/spec/helpers/pb3/header/header.proto3 +7 -0
- data/spec/helpers/pb3/header/header_pb.rb +12 -0
- data/spec/helpers/pb3/integertest_pb.rb +20 -0
- data/spec/helpers/pb3/messageA.proto3 +12 -0
- data/spec/helpers/pb3/messageA_pb.rb +16 -0
- data/spec/helpers/pb3/messageB.proto3 +12 -0
- data/spec/helpers/pb3/messageB_pb.rb +16 -0
- data/spec/helpers/pb3/rum2_pb.rb +87 -0
- data/spec/helpers/pb3/rum3_pb.rb +87 -0
- data/spec/helpers/pb3/rum_pb.rb +87 -0
- metadata +62 -34
- data/lib/net/jpountz/lz4/lz4/1.3.0/lz4-1.3.0.jar +0 -0
- data/lib/org/apache/kafka/kafka-clients/0.11.0.0/kafka-clients-0.11.0.0.jar +0 -0
- data/lib/org/apache/logging/log4j/log4j-api/2.8.2/log4j-api-2.8.2.jar +0 -0
- data/lib/org/apache/logging/log4j/log4j-slf4j-impl/2.8.2/log4j-slf4j-impl-2.8.2.jar +0 -0
- data/lib/org/slf4j/slf4j-api/1.7.24/slf4j-api-1.7.24.jar +0 -0
- data/lib/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar +0 -0
- data/lib/org/xerial/snappy/snappy-java/1.1.2.6/snappy-java-1.1.2.6.jar +0 -0
- data/spec/codecs/protobuf3_spec.rb +0 -147
- data/vendor/jar-dependencies/runtime-jars/kafka-clients-0.11.0.0.jar +0 -0
- data/vendor/jar-dependencies/runtime-jars/log4j-api-2.8.2.jar +0 -0
- data/vendor/jar-dependencies/runtime-jars/log4j-slf4j-impl-2.8.2.jar +0 -0
- data/vendor/jar-dependencies/runtime-jars/lz4-1.3.0.jar +0 -0
- data/vendor/jar-dependencies/runtime-jars/slf4j-api-1.7.24.jar +0 -0
- data/vendor/jar-dependencies/runtime-jars/slf4j-api-1.7.25.jar +0 -0
- data/vendor/jar-dependencies/runtime-jars/snappy-java-1.1.2.6.jar +0 -0
@@ -0,0 +1,17 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: events.proto3
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_message "RepeatedEvent" do
|
8
|
+
optional :id, :string, 1
|
9
|
+
optional :msg, :string, 2
|
10
|
+
end
|
11
|
+
add_message "RepeatedEvents" do
|
12
|
+
repeated :repeated_events, :message, 1, "RepeatedEvent"
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
Event = Google::Protobuf::DescriptorPool.generated_pool.lookup("RepeatedEvent").msgclass
|
17
|
+
Events = Google::Protobuf::DescriptorPool.generated_pool.lookup("RepeatedEvents").msgclass
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: header/header.proto3
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_message "Header" do
|
8
|
+
map :name, :string, :string, 3
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
Header = Google::Protobuf::DescriptorPool.generated_pool.lookup("Header").msgclass
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: TestMessage.proto3
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_message "com.foo.bar.IntegerTestMessage" do
|
8
|
+
optional :response_time, :int64, 1
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
module Com
|
13
|
+
module Bla
|
14
|
+
module Bla
|
15
|
+
module Bla
|
16
|
+
TestMessage = Google::Protobuf::DescriptorPool.generated_pool.lookup("com.foo.bar.IntegerTestMessage").msgclass
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: messageA.proto3
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'header/header_pb'
|
7
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
|
+
add_message "A.MessageA" do
|
9
|
+
optional :name, :string, 1
|
10
|
+
optional :header, :message, 2, "Header"
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
module A
|
15
|
+
MessageA = Google::Protobuf::DescriptorPool.generated_pool.lookup("A.MessageA").msgclass
|
16
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: messageB.proto3
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'header/header_pb'
|
7
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
|
+
add_message "B.MessageB" do
|
9
|
+
optional :name, :string, 1
|
10
|
+
optional :header, :message, 2, "Header"
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
module B
|
15
|
+
MessageB = Google::Protobuf::DescriptorPool.generated_pool.lookup("B.MessageB").msgclass
|
16
|
+
end
|
@@ -0,0 +1,87 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: something/rum_akamai/AkamaiRum.proto
|
3
|
+
|
4
|
+
begin; require 'google/protobuf'; rescue LoadError; end
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_message "something.logging.ProtoHeader2" do
|
8
|
+
optional :unix_timestamp, :int64, 1
|
9
|
+
optional :sender_id, :string, 2
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
module Something
|
14
|
+
module Logging
|
15
|
+
ProtoHeader2 = Google::Protobuf::DescriptorPool.generated_pool.lookup("something.logging.ProtoHeader2").msgclass
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
22
|
+
add_message "something.rum_akamai.ProtoAkamai2Rum" do
|
23
|
+
optional :header, :message, 1, "something.logging.ProtoHeader2"
|
24
|
+
optional :version, :string, 2
|
25
|
+
optional :url, :string, 3
|
26
|
+
optional :http_referer, :string, 4
|
27
|
+
optional :session_id, :string, 5
|
28
|
+
optional :tracking_id, :string, 6
|
29
|
+
optional :locale, :string, 7
|
30
|
+
optional :user_agent, :message, 8, "something.rum_akamai.ProtoAkamai2Rum.ProtoUserAgent"
|
31
|
+
optional :geo, :message, 9, "something.rum_akamai.ProtoAkamai2Rum.ProtoGeoLocation"
|
32
|
+
optional :timers, :message, 10, "something.rum_akamai.ProtoAkamai2Rum.ProtoTimers"
|
33
|
+
optional :page_group, :string, 11
|
34
|
+
repeated :active_ctests, :string, 12
|
35
|
+
optional :dom, :message, 13, "something.rum_akamai.ProtoAkamai2Rum.ProtoDom"
|
36
|
+
optional :domain, :string, 14
|
37
|
+
optional :timestamp, :string, 15
|
38
|
+
end
|
39
|
+
add_message "something.rum_akamai.ProtoAkamai2Rum.ProtoUserAgent" do
|
40
|
+
optional :family, :string, 1
|
41
|
+
optional :major, :float, 2
|
42
|
+
optional :manufacturer, :string, 3
|
43
|
+
optional :minor, :float, 4
|
44
|
+
optional :mobile, :string, 5
|
45
|
+
optional :model, :string, 6
|
46
|
+
optional :os, :string, 7
|
47
|
+
optional :osversion, :string, 8
|
48
|
+
optional :raw, :string, 9
|
49
|
+
optional :type, :string, 10
|
50
|
+
end
|
51
|
+
add_message "something.rum_akamai.ProtoAkamai2Rum.ProtoGeoLocation" do
|
52
|
+
optional :cc, :string, 1
|
53
|
+
optional :city, :string, 2
|
54
|
+
optional :isp, :string, 3
|
55
|
+
optional :lat, :float, 4
|
56
|
+
optional :lon, :float, 5
|
57
|
+
optional :netspeed, :string, 6
|
58
|
+
optional :organisation, :string, 7
|
59
|
+
optional :ovr, :bool, 8
|
60
|
+
optional :postalcode, :string, 9
|
61
|
+
optional :rg, :string, 10
|
62
|
+
end
|
63
|
+
add_message "something.rum_akamai.ProtoAkamai2Rum.ProtoTimers" do
|
64
|
+
optional :t_resp, :int32, 1
|
65
|
+
optional :fid, :int32, 2
|
66
|
+
optional :fcp, :int32, 3
|
67
|
+
optional :tti, :int32, 4
|
68
|
+
optional :ttfi, :int32, 5
|
69
|
+
optional :ttvr, :int32, 6
|
70
|
+
optional :longtasks, :float, 7
|
71
|
+
end
|
72
|
+
add_message "something.rum_akamai.ProtoAkamai2Rum.ProtoDom" do
|
73
|
+
optional :script, :int32, 1
|
74
|
+
optional :ext, :int32, 2
|
75
|
+
optional :ln, :int32, 3
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
79
|
+
module Something
|
80
|
+
module RumAkamai
|
81
|
+
ProtoAkamai2Rum = Google::Protobuf::DescriptorPool.generated_pool.lookup("something.rum_akamai.ProtoAkamai2Rum").msgclass
|
82
|
+
ProtoAkamai2Rum::ProtoUserAgent = Google::Protobuf::DescriptorPool.generated_pool.lookup("something.rum_akamai.ProtoAkamai2Rum.ProtoUserAgent").msgclass
|
83
|
+
ProtoAkamai2Rum::ProtoGeoLocation = Google::Protobuf::DescriptorPool.generated_pool.lookup("something.rum_akamai.ProtoAkamai2Rum.ProtoGeoLocation").msgclass
|
84
|
+
ProtoAkamai2Rum::ProtoTimers = Google::Protobuf::DescriptorPool.generated_pool.lookup("something.rum_akamai.ProtoAkamai2Rum.ProtoTimers").msgclass
|
85
|
+
ProtoAkamai2Rum::ProtoDom = Google::Protobuf::DescriptorPool.generated_pool.lookup("something.rum_akamai.ProtoAkamai2Rum.ProtoDom").msgclass
|
86
|
+
end
|
87
|
+
end
|
@@ -0,0 +1,87 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: something/rum_akamai/AkamaiRum.proto
|
3
|
+
|
4
|
+
begin; require 'google/protobuf'; rescue LoadError; end
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_message "something.logging.ProtoHeader3" do
|
8
|
+
optional :unix_timestamp, :int64, 1
|
9
|
+
optional :sender_id, :string, 2
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
module Something
|
14
|
+
module Logging
|
15
|
+
ProtoHeader3 = Google::Protobuf::DescriptorPool.generated_pool.lookup("something.logging.ProtoHeader3").msgclass
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
22
|
+
add_message "something.rum_akamai.ProtoAkamai3Rum" do
|
23
|
+
optional :header, :message, 1, "something.logging.ProtoHeader3"
|
24
|
+
optional :version, :string, 2
|
25
|
+
optional :url, :string, 3
|
26
|
+
optional :http_referer, :string, 4
|
27
|
+
optional :session_id, :string, 5
|
28
|
+
optional :tracking_id, :string, 6
|
29
|
+
optional :locale, :string, 7
|
30
|
+
optional :user_agent, :message, 8, "something.rum_akamai.ProtoAkamai3Rum.ProtoUserAgent"
|
31
|
+
optional :geo, :message, 9, "something.rum_akamai.ProtoAkamai3Rum.ProtoGeoLocation"
|
32
|
+
optional :timers, :message, 10, "something.rum_akamai.ProtoAkamai3Rum.ProtoTimers"
|
33
|
+
optional :page_group, :string, 11
|
34
|
+
repeated :active_ctests, :string, 12
|
35
|
+
optional :dom, :message, 13, "something.rum_akamai.ProtoAkamai3Rum.ProtoDom"
|
36
|
+
optional :domain, :string, 14
|
37
|
+
optional :timestamp, :string, 15
|
38
|
+
end
|
39
|
+
add_message "something.rum_akamai.ProtoAkamai3Rum.ProtoUserAgent" do
|
40
|
+
optional :family, :string, 1
|
41
|
+
optional :major, :float, 2
|
42
|
+
optional :manufacturer, :string, 3
|
43
|
+
optional :minor, :float, 4
|
44
|
+
optional :mobile, :string, 5
|
45
|
+
optional :model, :string, 6
|
46
|
+
optional :os, :string, 7
|
47
|
+
optional :osversion, :string, 8
|
48
|
+
optional :raw, :string, 9
|
49
|
+
optional :type, :string, 10
|
50
|
+
end
|
51
|
+
add_message "something.rum_akamai.ProtoAkamai3Rum.ProtoGeoLocation" do
|
52
|
+
optional :cc, :string, 1
|
53
|
+
optional :city, :string, 2
|
54
|
+
optional :isp, :string, 3
|
55
|
+
optional :lat, :float, 4
|
56
|
+
optional :lon, :float, 5
|
57
|
+
optional :netspeed, :string, 6
|
58
|
+
optional :organisation, :string, 7
|
59
|
+
optional :ovr, :bool, 8
|
60
|
+
optional :postalcode, :string, 9
|
61
|
+
optional :rg, :string, 10
|
62
|
+
end
|
63
|
+
add_message "something.rum_akamai.ProtoAkamai3Rum.ProtoTimers" do
|
64
|
+
optional :t_resp, :int32, 1
|
65
|
+
optional :fid, :int32, 2
|
66
|
+
optional :fcp, :int32, 3
|
67
|
+
optional :tti, :int32, 4
|
68
|
+
optional :ttfi, :int32, 5
|
69
|
+
optional :ttvr, :int32, 6
|
70
|
+
optional :longtasks, :float, 7
|
71
|
+
end
|
72
|
+
add_message "something.rum_akamai.ProtoAkamai3Rum.ProtoDom" do
|
73
|
+
optional :script, :int32, 1
|
74
|
+
optional :ext, :int32, 2
|
75
|
+
optional :ln, :int32, 3
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
79
|
+
module Something
|
80
|
+
module RumAkamai
|
81
|
+
ProtoAkamai3Rum = Google::Protobuf::DescriptorPool.generated_pool.lookup("something.rum_akamai.ProtoAkamai3Rum").msgclass
|
82
|
+
ProtoAkamai3Rum::ProtoUserAgent = Google::Protobuf::DescriptorPool.generated_pool.lookup("something.rum_akamai.ProtoAkamai3Rum.ProtoUserAgent").msgclass
|
83
|
+
ProtoAkamai3Rum::ProtoGeoLocation = Google::Protobuf::DescriptorPool.generated_pool.lookup("something.rum_akamai.ProtoAkamai3Rum.ProtoGeoLocation").msgclass
|
84
|
+
ProtoAkamai3Rum::ProtoTimers = Google::Protobuf::DescriptorPool.generated_pool.lookup("something.rum_akamai.ProtoAkamai3Rum.ProtoTimers").msgclass
|
85
|
+
ProtoAkamai3Rum::ProtoDom = Google::Protobuf::DescriptorPool.generated_pool.lookup("something.rum_akamai.ProtoAkamai3Rum.ProtoDom").msgclass
|
86
|
+
end
|
87
|
+
end
|
@@ -0,0 +1,87 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: something/rum_akamai/AkamaiRum.proto
|
3
|
+
|
4
|
+
begin; require 'google/protobuf'; rescue LoadError; end
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_message "something.logging.ProtoHeader" do
|
8
|
+
optional :unix_timestamp, :int64, 1
|
9
|
+
optional :sender_id, :string, 2
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
module Something
|
14
|
+
module Logging
|
15
|
+
ProtoHeader = Google::Protobuf::DescriptorPool.generated_pool.lookup("something.logging.ProtoHeader").msgclass
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
22
|
+
add_message "something.rum_akamai.ProtoAkamaiRum" do
|
23
|
+
optional :header, :message, 1, "something.logging.ProtoHeader"
|
24
|
+
optional :version, :string, 2
|
25
|
+
optional :url, :string, 3
|
26
|
+
optional :http_referer, :string, 4
|
27
|
+
optional :session_id, :string, 5
|
28
|
+
optional :tracking_id, :string, 6
|
29
|
+
optional :locale, :string, 7
|
30
|
+
optional :user_agent, :message, 8, "something.rum_akamai.ProtoAkamaiRum.ProtoUserAgent"
|
31
|
+
optional :geo, :message, 9, "something.rum_akamai.ProtoAkamaiRum.ProtoGeoLocation"
|
32
|
+
optional :timers, :message, 10, "something.rum_akamai.ProtoAkamaiRum.ProtoTimers"
|
33
|
+
optional :page_group, :string, 11
|
34
|
+
repeated :active_ctests, :string, 12
|
35
|
+
optional :dom, :message, 13, "something.rum_akamai.ProtoAkamaiRum.ProtoDom"
|
36
|
+
optional :domain, :string, 14
|
37
|
+
optional :timestamp, :string, 15
|
38
|
+
end
|
39
|
+
add_message "something.rum_akamai.ProtoAkamaiRum.ProtoUserAgent" do
|
40
|
+
optional :family, :string, 1
|
41
|
+
optional :major, :float, 2
|
42
|
+
optional :manufacturer, :string, 3
|
43
|
+
optional :minor, :float, 4
|
44
|
+
optional :mobile, :string, 5
|
45
|
+
optional :model, :string, 6
|
46
|
+
optional :os, :string, 7
|
47
|
+
optional :osversion, :string, 8
|
48
|
+
optional :raw, :string, 9
|
49
|
+
optional :type, :string, 10
|
50
|
+
end
|
51
|
+
add_message "something.rum_akamai.ProtoAkamaiRum.ProtoGeoLocation" do
|
52
|
+
optional :cc, :string, 1
|
53
|
+
optional :city, :string, 2
|
54
|
+
optional :isp, :string, 3
|
55
|
+
optional :lat, :float, 4
|
56
|
+
optional :lon, :float, 5
|
57
|
+
optional :netspeed, :string, 6
|
58
|
+
optional :organisation, :string, 7
|
59
|
+
optional :ovr, :bool, 8
|
60
|
+
optional :postalcode, :string, 9
|
61
|
+
optional :rg, :string, 10
|
62
|
+
end
|
63
|
+
add_message "something.rum_akamai.ProtoAkamaiRum.ProtoTimers" do
|
64
|
+
optional :t_resp, :int32, 1
|
65
|
+
optional :fid, :int32, 2
|
66
|
+
optional :fcp, :int32, 3
|
67
|
+
optional :tti, :int32, 4
|
68
|
+
optional :ttfi, :int32, 5
|
69
|
+
optional :ttvr, :int32, 6
|
70
|
+
optional :longtasks, :float, 7
|
71
|
+
end
|
72
|
+
add_message "something.rum_akamai.ProtoAkamaiRum.ProtoDom" do
|
73
|
+
optional :script, :int32, 1
|
74
|
+
optional :ext, :int32, 2
|
75
|
+
optional :ln, :int32, 3
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
79
|
+
module Something
|
80
|
+
module RumAkamai
|
81
|
+
ProtoAkamaiRum = Google::Protobuf::DescriptorPool.generated_pool.lookup("something.rum_akamai.ProtoAkamaiRum").msgclass
|
82
|
+
ProtoAkamaiRum::ProtoUserAgent = Google::Protobuf::DescriptorPool.generated_pool.lookup("something.rum_akamai.ProtoAkamaiRum.ProtoUserAgent").msgclass
|
83
|
+
ProtoAkamaiRum::ProtoGeoLocation = Google::Protobuf::DescriptorPool.generated_pool.lookup("something.rum_akamai.ProtoAkamaiRum.ProtoGeoLocation").msgclass
|
84
|
+
ProtoAkamaiRum::ProtoTimers = Google::Protobuf::DescriptorPool.generated_pool.lookup("something.rum_akamai.ProtoAkamaiRum.ProtoTimers").msgclass
|
85
|
+
ProtoAkamaiRum::ProtoDom = Google::Protobuf::DescriptorPool.generated_pool.lookup("something.rum_akamai.ProtoAkamaiRum.ProtoDom").msgclass
|
86
|
+
end
|
87
|
+
end
|
metadata
CHANGED
@@ -1,22 +1,22 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-codec-protobuf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Inga Feick
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-02-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
15
15
|
requirements:
|
16
|
-
- -
|
16
|
+
- - ">="
|
17
17
|
- !ruby/object:Gem::Version
|
18
18
|
version: '1.60'
|
19
|
-
- - <=
|
19
|
+
- - "<="
|
20
20
|
- !ruby/object:Gem::Version
|
21
21
|
version: '2.99'
|
22
22
|
name: logstash-core-plugin-api
|
@@ -24,10 +24,10 @@ dependencies:
|
|
24
24
|
type: :runtime
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
|
-
- -
|
27
|
+
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
version: '1.60'
|
30
|
-
- - <=
|
30
|
+
- - "<="
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: '2.99'
|
33
33
|
- !ruby/object:Gem::Dependency
|
@@ -35,7 +35,7 @@ dependencies:
|
|
35
35
|
requirements:
|
36
36
|
- - '='
|
37
37
|
- !ruby/object:Gem::Version
|
38
|
-
version:
|
38
|
+
version: 3.5.0.pre
|
39
39
|
name: google-protobuf
|
40
40
|
prerelease: false
|
41
41
|
type: :runtime
|
@@ -43,11 +43,11 @@ dependencies:
|
|
43
43
|
requirements:
|
44
44
|
- - '='
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version:
|
46
|
+
version: 3.5.0.pre
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|
49
49
|
requirements:
|
50
|
-
- -
|
50
|
+
- - ">="
|
51
51
|
- !ruby/object:Gem::Version
|
52
52
|
version: '0'
|
53
53
|
name: ruby-protocol-buffers
|
@@ -55,13 +55,13 @@ dependencies:
|
|
55
55
|
type: :runtime
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
|
-
- -
|
58
|
+
- - ">="
|
59
59
|
- !ruby/object:Gem::Version
|
60
60
|
version: '0'
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
requirement: !ruby/object:Gem::Requirement
|
63
63
|
requirements:
|
64
|
-
- -
|
64
|
+
- - ">="
|
65
65
|
- !ruby/object:Gem::Version
|
66
66
|
version: '0'
|
67
67
|
name: logstash-devutils
|
@@ -69,10 +69,12 @@ dependencies:
|
|
69
69
|
type: :development
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
|
-
- -
|
72
|
+
- - ">="
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
|
-
description: This gem is a logstash plugin required to be installed on top of the
|
75
|
+
description: This gem is a logstash plugin required to be installed on top of the
|
76
|
+
Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not
|
77
|
+
a stand-alone program
|
76
78
|
email: inga.feick@trivago.com
|
77
79
|
executables: []
|
78
80
|
extensions: []
|
@@ -87,30 +89,36 @@ files:
|
|
87
89
|
- README.md
|
88
90
|
- docs/index.asciidoc
|
89
91
|
- lib/logstash/codecs/protobuf.rb
|
90
|
-
- lib/net/jpountz/lz4/lz4/1.3.0/lz4-1.3.0.jar
|
91
|
-
- lib/org/apache/kafka/kafka-clients/0.11.0.0/kafka-clients-0.11.0.0.jar
|
92
|
-
- lib/org/apache/logging/log4j/log4j-api/2.8.2/log4j-api-2.8.2.jar
|
93
|
-
- lib/org/apache/logging/log4j/log4j-slf4j-impl/2.8.2/log4j-slf4j-impl-2.8.2.jar
|
94
|
-
- lib/org/slf4j/slf4j-api/1.7.24/slf4j-api-1.7.24.jar
|
95
|
-
- lib/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar
|
96
|
-
- lib/org/xerial/snappy/snappy-java/1.1.2.6/snappy-java-1.1.2.6.jar
|
97
92
|
- logstash-codec-protobuf.gemspec
|
98
|
-
- spec/codecs/
|
99
|
-
- spec/codecs/
|
93
|
+
- spec/codecs/pb2_spec.rb
|
94
|
+
- spec/codecs/pb3_decode_spec.rb
|
95
|
+
- spec/codecs/pb3_encode_spec.rb
|
100
96
|
- spec/helpers/pb2/ColourTestcase.pb.rb
|
101
97
|
- spec/helpers/pb2/ColourTestcase.proto
|
98
|
+
- spec/helpers/pb2/event.pb.rb
|
99
|
+
- spec/helpers/pb2/event.proto
|
100
|
+
- spec/helpers/pb2/header/header.pb.rb
|
101
|
+
- spec/helpers/pb2/header/header.proto
|
102
102
|
- spec/helpers/pb2/human.pb.rb
|
103
103
|
- spec/helpers/pb2/unicorn.pb.rb
|
104
104
|
- spec/helpers/pb2/unicorn_event.pb.rb
|
105
|
+
- spec/helpers/pb3/FantasyHorse_pb.rb
|
106
|
+
- spec/helpers/pb3/ProbeResult_pb.rb
|
107
|
+
- spec/helpers/pb3/dnsmessage_pb.rb
|
108
|
+
- spec/helpers/pb3/events.proto3
|
109
|
+
- spec/helpers/pb3/events_pb.rb
|
110
|
+
- spec/helpers/pb3/header/header.proto3
|
111
|
+
- spec/helpers/pb3/header/header_pb.rb
|
112
|
+
- spec/helpers/pb3/integertest_pb.rb
|
113
|
+
- spec/helpers/pb3/messageA.proto3
|
114
|
+
- spec/helpers/pb3/messageA_pb.rb
|
115
|
+
- spec/helpers/pb3/messageB.proto3
|
116
|
+
- spec/helpers/pb3/messageB_pb.rb
|
117
|
+
- spec/helpers/pb3/rum2_pb.rb
|
118
|
+
- spec/helpers/pb3/rum3_pb.rb
|
119
|
+
- spec/helpers/pb3/rum_pb.rb
|
105
120
|
- spec/helpers/pb3/unicorn.proto3
|
106
121
|
- spec/helpers/pb3/unicorn_pb.rb
|
107
|
-
- vendor/jar-dependencies/runtime-jars/kafka-clients-0.11.0.0.jar
|
108
|
-
- vendor/jar-dependencies/runtime-jars/log4j-api-2.8.2.jar
|
109
|
-
- vendor/jar-dependencies/runtime-jars/log4j-slf4j-impl-2.8.2.jar
|
110
|
-
- vendor/jar-dependencies/runtime-jars/lz4-1.3.0.jar
|
111
|
-
- vendor/jar-dependencies/runtime-jars/slf4j-api-1.7.24.jar
|
112
|
-
- vendor/jar-dependencies/runtime-jars/slf4j-api-1.7.25.jar
|
113
|
-
- vendor/jar-dependencies/runtime-jars/snappy-java-1.1.2.6.jar
|
114
122
|
homepage:
|
115
123
|
licenses:
|
116
124
|
- Apache License (2.0)
|
@@ -123,27 +131,47 @@ require_paths:
|
|
123
131
|
- lib
|
124
132
|
required_ruby_version: !ruby/object:Gem::Requirement
|
125
133
|
requirements:
|
126
|
-
- -
|
134
|
+
- - ">="
|
127
135
|
- !ruby/object:Gem::Version
|
128
136
|
version: '0'
|
129
137
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
130
138
|
requirements:
|
131
|
-
- -
|
139
|
+
- - ">="
|
132
140
|
- !ruby/object:Gem::Version
|
133
141
|
version: '0'
|
134
142
|
requirements: []
|
135
143
|
rubyforge_project:
|
136
|
-
rubygems_version: 2.
|
144
|
+
rubygems_version: 2.7.10
|
137
145
|
signing_key:
|
138
146
|
specification_version: 4
|
139
147
|
summary: Reads protobuf messages and converts to Logstash Events
|
140
148
|
test_files:
|
141
|
-
- spec/codecs/
|
142
|
-
- spec/codecs/
|
149
|
+
- spec/codecs/pb2_spec.rb
|
150
|
+
- spec/codecs/pb3_decode_spec.rb
|
151
|
+
- spec/codecs/pb3_encode_spec.rb
|
143
152
|
- spec/helpers/pb2/ColourTestcase.pb.rb
|
144
153
|
- spec/helpers/pb2/ColourTestcase.proto
|
154
|
+
- spec/helpers/pb2/event.pb.rb
|
155
|
+
- spec/helpers/pb2/event.proto
|
156
|
+
- spec/helpers/pb2/header/header.pb.rb
|
157
|
+
- spec/helpers/pb2/header/header.proto
|
145
158
|
- spec/helpers/pb2/human.pb.rb
|
146
159
|
- spec/helpers/pb2/unicorn.pb.rb
|
147
160
|
- spec/helpers/pb2/unicorn_event.pb.rb
|
161
|
+
- spec/helpers/pb3/FantasyHorse_pb.rb
|
162
|
+
- spec/helpers/pb3/ProbeResult_pb.rb
|
163
|
+
- spec/helpers/pb3/dnsmessage_pb.rb
|
164
|
+
- spec/helpers/pb3/events.proto3
|
165
|
+
- spec/helpers/pb3/events_pb.rb
|
166
|
+
- spec/helpers/pb3/header/header.proto3
|
167
|
+
- spec/helpers/pb3/header/header_pb.rb
|
168
|
+
- spec/helpers/pb3/integertest_pb.rb
|
169
|
+
- spec/helpers/pb3/messageA.proto3
|
170
|
+
- spec/helpers/pb3/messageA_pb.rb
|
171
|
+
- spec/helpers/pb3/messageB.proto3
|
172
|
+
- spec/helpers/pb3/messageB_pb.rb
|
173
|
+
- spec/helpers/pb3/rum2_pb.rb
|
174
|
+
- spec/helpers/pb3/rum3_pb.rb
|
175
|
+
- spec/helpers/pb3/rum_pb.rb
|
148
176
|
- spec/helpers/pb3/unicorn.proto3
|
149
177
|
- spec/helpers/pb3/unicorn_pb.rb
|