logstash-input-http_bold 3.4.1-java → 5.0.0-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/DEVELOPER.md +32 -0
- data/Gemfile +1 -1
- data/VERSION +1 -1
- data/lib/logstash/inputs/{http → http_bold}/message_handler.rb +1 -1
- data/lib/logstash/inputs/{http → http_bold}/tls.rb +0 -0
- data/lib/logstash/inputs/http_bold.rb +11 -11
- data/lib/logstash-input-http_bold_jars.rb +2 -1
- data/lib/logstash-input-http_jars.rb +2 -1
- data/lib/logstash-input-httpbold_jars.rb +7 -0
- data/spec/inputs/{http_bolspec.rb → http_bold_spec.rb} +27 -27
- data/vendor/jar-dependencies/org/json/json/20210307/json-20210307.jar +0 -0
- data/vendor/jar-dependencies/org/logstash/plugins/input/{http_bold/logstash-input-http_bold/3.4.1/logstash-input-http_bold-3.4.1.jar → http/logstash-input-http/4.0.0/logstash-input-http-4.0.0.jar} +0 -0
- data/vendor/jar-dependencies/org/logstash/plugins/input/http/logstash-input-http/4.0.1/logstash-input-http-4.0.1.jar +0 -0
- data/vendor/jar-dependencies/org/logstash/plugins/input/http/logstash-input-http/4.0.2/logstash-input-http-4.0.2.jar +0 -0
- data/vendor/jar-dependencies/org/logstash/plugins/input/http/logstash-input-http/4.0.3/logstash-input-http-4.0.3.jar +0 -0
- data/vendor/jar-dependencies/org/logstash/plugins/input/http_bold/logstash-input-http_bold/5.0.0/logstash-input-http_bold-5.0.0.jar +0 -0
- data/vendor/jar-dependencies/org/logstash/plugins/input/httpbold/logstash-input-httpbold/1.0.0/logstash-input-httpbold-1.0.0.jar +0 -0
- metadata +14 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed86320d99ebc9ae5bdb1f113f5f6f8f821c920bf37c904b3f419742f40c5fe5
|
4
|
+
data.tar.gz: c3d71bc12a9a84d1bdc07801c01214e5e732415246283597f699ffa12da18545
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b1305fe8210836682cceba653e54cb5769e5d21ef2418640c3f30403842d9baedbff0552f6338ec8c75031cee2ac96c821a0d621284bec386cbf6eaa29be642
|
7
|
+
data.tar.gz: d537394a4a0804d43b84f6321ea713893e542d5dde7f544e2f5ff32e23a3d82b261214dc1e443a16ccb2ebc5d3c25dfdadafbeba9d44b2a6b1a26e99fbbaf5f2
|
data/DEVELOPER.md
CHANGED
@@ -1 +1,33 @@
|
|
1
1
|
# logstash-input-http
|
2
|
+
|
3
|
+
|
4
|
+
## Bold customization
|
5
|
+
|
6
|
+
### Compilation
|
7
|
+
|
8
|
+
1. git clone https://github.com/elastic/logstash.git
|
9
|
+
2. cd logstash && git clone ssh://git@gitlab.boldmss.com:9022/proxies_api/logstash-input-http_bold.git
|
10
|
+
3. echo "nueva_version" > VERSION
|
11
|
+
4. ./gradlew build
|
12
|
+
5. ./graldew vendor
|
13
|
+
6. jruby -S gem build logstash-input-http_bold.gemspec
|
14
|
+
7. gem push logstash-input-http_bold-X.X.X-java.gem (publica la gema en rubygem.org)
|
15
|
+
|
16
|
+
### Usage
|
17
|
+
|
18
|
+
#### Local
|
19
|
+
|
20
|
+
```
|
21
|
+
bin/logstash-plugin install --no-verify logstash-input-http_bold/logstash-input-http_bold-3.5.4-java.gem
|
22
|
+
```
|
23
|
+
|
24
|
+
#### From https://rubygems.org
|
25
|
+
|
26
|
+
For a while, isn't possible, because the plugin name is the same than the oficial one.
|
27
|
+
|
28
|
+
To change the name it's necesary a code refactor.
|
29
|
+
|
30
|
+
|
31
|
+
```
|
32
|
+
bin/logstash-plugin install logstash-input-http_bold
|
33
|
+
```
|
data/Gemfile
CHANGED
@@ -2,7 +2,7 @@ source 'https://rubygems.org'
|
|
2
2
|
|
3
3
|
gemspec
|
4
4
|
|
5
|
-
logstash_path = ENV["LOGSTASH_PATH"] || "
|
5
|
+
logstash_path = ENV["LOGSTASH_PATH"] || "../../logstash"
|
6
6
|
use_logstash_source = ENV["LOGSTASH_SOURCE"] && ENV["LOGSTASH_SOURCE"].to_s == "1"
|
7
7
|
|
8
8
|
if Dir.exist?(logstash_path) && use_logstash_source
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
5.0.0
|
File without changes
|
@@ -2,7 +2,7 @@
|
|
2
2
|
require "logstash/inputs/base"
|
3
3
|
require "logstash/namespace"
|
4
4
|
require "stud/interval"
|
5
|
-
require "logstash-input-
|
5
|
+
require "logstash-input-http_bold_jars"
|
6
6
|
require "logstash/plugin_mixins/ecs_compatibility_support"
|
7
7
|
|
8
8
|
# Using this input you can receive single or multiline events over http(s).
|
@@ -20,14 +20,14 @@ require "logstash/plugin_mixins/ecs_compatibility_support"
|
|
20
20
|
# This plugin supports standard HTTP basic authentication headers to identify the requester.
|
21
21
|
# You can pass in an username, password combination while sending data to this input
|
22
22
|
#
|
23
|
-
# You can also setup SSL and send data securely over https, with an option of validating
|
24
|
-
# the client's certificate. Currently, the certificate setup is through
|
25
|
-
# https://docs.oracle.com/cd/E19509-01/820-3503/ggfen/index.html[Java Keystore
|
23
|
+
# You can also setup SSL and send data securely over https, with an option of validating
|
24
|
+
# the client's certificate. Currently, the certificate setup is through
|
25
|
+
# https://docs.oracle.com/cd/E19509-01/820-3503/ggfen/index.html[Java Keystore
|
26
26
|
# format]
|
27
27
|
#
|
28
28
|
class LogStash::Inputs::Http < LogStash::Inputs::Base
|
29
29
|
include LogStash::PluginMixins::ECSCompatibilitySupport(:disabled, :v1, :v8 => :v1)
|
30
|
-
require "logstash/inputs/
|
30
|
+
require "logstash/inputs/http_bold/tls"
|
31
31
|
|
32
32
|
java_import "io.netty.handler.codec.http.HttpUtil"
|
33
33
|
|
@@ -95,7 +95,7 @@ class LogStash::Inputs::Http < LogStash::Inputs::Base
|
|
95
95
|
config :tls_max_version, :validate => :number, :default => TLS.max.version
|
96
96
|
|
97
97
|
# The list of ciphers suite to use, listed by priorities.
|
98
|
-
config :cipher_suites, :validate => :array, :default => org.logstash.plugins.inputs.
|
98
|
+
config :cipher_suites, :validate => :array, :default => org.logstash.plugins.inputs.http_bold.util.SslSimpleBuilder.getDefaultCiphers
|
99
99
|
|
100
100
|
# Apply specific codecs for specific content types.
|
101
101
|
# The default codec will be applied only after this list is checked
|
@@ -143,7 +143,7 @@ class LogStash::Inputs::Http < LogStash::Inputs::Base
|
|
143
143
|
@codecs[content_type] = LogStash::Plugin.lookup("codec", codec).new
|
144
144
|
end
|
145
145
|
|
146
|
-
require "logstash/inputs/
|
146
|
+
require "logstash/inputs/http_bold/message_handler"
|
147
147
|
message_handler = MessageHandler.new(self, @codec, @codecs, @auth_token)
|
148
148
|
@http_server = create_http_server(message_handler)
|
149
149
|
|
@@ -253,7 +253,7 @@ class LogStash::Inputs::Http < LogStash::Inputs::Base
|
|
253
253
|
end
|
254
254
|
|
255
255
|
def create_http_server(message_handler)
|
256
|
-
org.logstash.plugins.inputs.
|
256
|
+
org.logstash.plugins.inputs.http_bold.NettyHttpServer.new(
|
257
257
|
@host, @port, message_handler, build_ssl_params(), @threads, @max_pending_requests, @max_content_length, @response_code)
|
258
258
|
end
|
259
259
|
|
@@ -261,10 +261,10 @@ class LogStash::Inputs::Http < LogStash::Inputs::Base
|
|
261
261
|
return nil unless @ssl
|
262
262
|
|
263
263
|
if @keystore && @keystore_password
|
264
|
-
ssl_builder = org.logstash.plugins.inputs.
|
264
|
+
ssl_builder = org.logstash.plugins.inputs.http_bold.util.JksSslBuilder.new(@keystore, @keystore_password.value)
|
265
265
|
else
|
266
266
|
begin
|
267
|
-
ssl_builder = org.logstash.plugins.inputs.
|
267
|
+
ssl_builder = org.logstash.plugins.inputs.http_bold.util.SslSimpleBuilder
|
268
268
|
.new(@ssl_certificate, @ssl_key, @ssl_key_passphrase.nil? ? nil : @ssl_key_passphrase.value)
|
269
269
|
.setCipherSuites(normalized_ciphers)
|
270
270
|
rescue java.lang.IllegalArgumentException => e
|
@@ -308,7 +308,7 @@ class LogStash::Inputs::Http < LogStash::Inputs::Base
|
|
308
308
|
|
309
309
|
def new_ssl_handshake_provider(ssl_builder)
|
310
310
|
begin
|
311
|
-
ssl_handler_provider = org.logstash.plugins.inputs.
|
311
|
+
ssl_handler_provider = org.logstash.plugins.inputs.http_bold.util.SslHandlerProvider.new(ssl_builder.build())
|
312
312
|
ssl_handler_provider.setVerifyMode(@ssl_verify_mode_final.upcase)
|
313
313
|
ssl_handler_provider.setProtocols(convert_protocols)
|
314
314
|
ssl_handler_provider.setHandshakeTimeoutMilliseconds(@ssl_handshake_timeout)
|
@@ -3,4 +3,5 @@
|
|
3
3
|
require 'jar_dependencies'
|
4
4
|
require_jar('io.netty', 'netty-all', '4.1.65.Final')
|
5
5
|
require_jar('org.apache.logging.log4j', 'log4j-api', '2.11.1')
|
6
|
-
require_jar('org.
|
6
|
+
require_jar('org.json', 'json', '20210307')
|
7
|
+
require_jar('org.logstash.plugins.input.http_bold', 'logstash-input-http_bold', '5.0.0')
|
@@ -3,4 +3,5 @@
|
|
3
3
|
require 'jar_dependencies'
|
4
4
|
require_jar('io.netty', 'netty-all', '4.1.65.Final')
|
5
5
|
require_jar('org.apache.logging.log4j', 'log4j-api', '2.11.1')
|
6
|
-
require_jar('org.
|
6
|
+
require_jar('org.json', 'json', '20210307')
|
7
|
+
require_jar('org.logstash.plugins.input.http_bold', 'logstash-input-http_bold', '4.0.3')
|
@@ -0,0 +1,7 @@
|
|
1
|
+
# AUTOGENERATED BY THE GRADLE SCRIPT. DO NOT EDIT.
|
2
|
+
|
3
|
+
require 'jar_dependencies'
|
4
|
+
require_jar('io.netty', 'netty-all', '4.1.65.Final')
|
5
|
+
require_jar('org.apache.logging.log4j', 'log4j-api', '2.11.1')
|
6
|
+
require_jar('org.json', 'json', '20210307')
|
7
|
+
require_jar('org.logstash.plugins.input.http_bold', 'logstash-input-http_bold', '1.0.0')
|
@@ -1,6 +1,6 @@
|
|
1
1
|
require "logstash/devutils/rspec/spec_helper"
|
2
2
|
require "logstash/devutils/rspec/shared_examples"
|
3
|
-
require "logstash/inputs/
|
3
|
+
require "logstash/inputs/http_bold"
|
4
4
|
require "json"
|
5
5
|
require "manticore"
|
6
6
|
require "stud/temporary"
|
@@ -10,7 +10,7 @@ require 'logstash/plugin_mixins/ecs_compatibility_support/spec_helper'
|
|
10
10
|
|
11
11
|
java_import "io.netty.handler.ssl.util.SelfSignedCertificate"
|
12
12
|
|
13
|
-
describe LogStash::Inputs::
|
13
|
+
describe LogStash::Inputs::Http_bold do
|
14
14
|
|
15
15
|
before do
|
16
16
|
srand(RSpec.configuration.seed)
|
@@ -32,7 +32,7 @@ describe LogStash::Inputs::Http do
|
|
32
32
|
end
|
33
33
|
|
34
34
|
describe "request handling" do
|
35
|
-
subject { LogStash::Inputs::
|
35
|
+
subject { LogStash::Inputs::Http_bold.new("port" => port) }
|
36
36
|
|
37
37
|
before :each do
|
38
38
|
setup_server_client
|
@@ -74,7 +74,7 @@ describe LogStash::Inputs::Http do
|
|
74
74
|
end
|
75
75
|
|
76
76
|
context "with default codec" do
|
77
|
-
subject { LogStash::Inputs::
|
77
|
+
subject { LogStash::Inputs::Http_bold.new("port" => port) }
|
78
78
|
context "when receiving a text/plain request" do
|
79
79
|
it "should process the request normally" do
|
80
80
|
client.post("http://127.0.0.1:#{port}/meh.json",
|
@@ -140,7 +140,7 @@ describe LogStash::Inputs::Http do
|
|
140
140
|
end
|
141
141
|
|
142
142
|
context "with json codec" do
|
143
|
-
subject { LogStash::Inputs::
|
143
|
+
subject { LogStash::Inputs::Http_bold.new("port" => port, "codec" => "json") }
|
144
144
|
it "should parse the json body" do
|
145
145
|
response = client.post("http://127.0.0.1:#{port}/meh.json", :body => { "message" => "Hello" }.to_json).call
|
146
146
|
event = logstash_queue.pop
|
@@ -149,7 +149,7 @@ describe LogStash::Inputs::Http do
|
|
149
149
|
end
|
150
150
|
|
151
151
|
context "with json_lines codec without final delimiter" do
|
152
|
-
subject { LogStash::Inputs::
|
152
|
+
subject { LogStash::Inputs::Http_bold.new("port" => port, "codec" => "json_lines") }
|
153
153
|
let(:line1) { '{"foo": 1}' }
|
154
154
|
let(:line2) { '{"foo": 2}' }
|
155
155
|
it "should parse all json_lines in body including last one" do
|
@@ -163,7 +163,7 @@ describe LogStash::Inputs::Http do
|
|
163
163
|
end
|
164
164
|
|
165
165
|
context "when using a custom codec mapping" do
|
166
|
-
subject { LogStash::Inputs::
|
166
|
+
subject { LogStash::Inputs::Http_bold.new("port" => port,
|
167
167
|
"additional_codecs" => { "application/json" => "plain" }) }
|
168
168
|
it "should decode the message accordingly" do
|
169
169
|
body = { "message" => "Hello" }.to_json
|
@@ -174,9 +174,9 @@ describe LogStash::Inputs::Http do
|
|
174
174
|
expect(event.get("message")).to eq(body)
|
175
175
|
end
|
176
176
|
end
|
177
|
-
|
177
|
+
|
178
178
|
context "when receiving a content-type with a charset" do
|
179
|
-
subject { LogStash::Inputs::
|
179
|
+
subject { LogStash::Inputs::Http_bold.new("port" => port,
|
180
180
|
"additional_codecs" => { "application/json" => "plain" }) }
|
181
181
|
it "should decode the message accordingly" do
|
182
182
|
body = { "message" => "Hello" }.to_json
|
@@ -190,7 +190,7 @@ describe LogStash::Inputs::Http do
|
|
190
190
|
|
191
191
|
context "when using custom headers" do
|
192
192
|
let(:custom_headers) { { 'access-control-allow-origin' => '*' } }
|
193
|
-
subject { LogStash::Inputs::
|
193
|
+
subject { LogStash::Inputs::Http_bold.new("port" => port, "response_headers" => custom_headers) }
|
194
194
|
|
195
195
|
describe "the response" do
|
196
196
|
it "should include the custom headers" do
|
@@ -201,7 +201,7 @@ describe LogStash::Inputs::Http do
|
|
201
201
|
end
|
202
202
|
describe "basic auth" do
|
203
203
|
user = "test"; password = "pwd"
|
204
|
-
subject { LogStash::Inputs::
|
204
|
+
subject { LogStash::Inputs::Http_bold.new("port" => port, "user" => user, "password" => password) }
|
205
205
|
let(:auth_token) { Base64.strict_encode64("#{user}:#{password}") }
|
206
206
|
context "when client doesn't present auth token" do
|
207
207
|
let!(:response) { client.post("http://127.0.0.1:#{port}/meh", :body => "hi").call }
|
@@ -256,7 +256,7 @@ describe LogStash::Inputs::Http do
|
|
256
256
|
describe "HTTP Protocol Handling" do
|
257
257
|
context "when an HTTP1.1 request is made" do
|
258
258
|
let(:protocol_version) do
|
259
|
-
Java::
|
259
|
+
Java::OrgApacheHttp_bold::Http_boldVersion::HTTP_1_1
|
260
260
|
end
|
261
261
|
it "responds with a HTTP1.1 response" do
|
262
262
|
response = client.post("http://127.0.0.1:#{port}", :body => "hello")
|
@@ -268,7 +268,7 @@ describe LogStash::Inputs::Http do
|
|
268
268
|
end
|
269
269
|
context "when an HTTP1.0 request is made" do
|
270
270
|
let(:protocol_version) do
|
271
|
-
Java::
|
271
|
+
Java::OrgApacheHttp_bold::Http_boldVersion::HTTP_1_0
|
272
272
|
end
|
273
273
|
it "responds with a HTTP1.0 response" do
|
274
274
|
response = client.post("http://127.0.0.1:#{port}", :body => "hello")
|
@@ -287,7 +287,7 @@ describe LogStash::Inputs::Http do
|
|
287
287
|
end
|
288
288
|
context "when response_code is configured" do
|
289
289
|
let(:code) { 202 }
|
290
|
-
subject { LogStash::Inputs::
|
290
|
+
subject { LogStash::Inputs::Http_bold.new("port" => port, "response_code" => code) }
|
291
291
|
it "responds with the configured code" do
|
292
292
|
response = client.post("http://127.0.0.1:#{port}", :body => "hello")
|
293
293
|
response.call
|
@@ -317,7 +317,7 @@ describe LogStash::Inputs::Http do
|
|
317
317
|
end
|
318
318
|
|
319
319
|
describe "remote host" do
|
320
|
-
subject { LogStash::Inputs::
|
320
|
+
subject { LogStash::Inputs::Http_bold.new(config.merge("port" => port)) }
|
321
321
|
context "by default" do
|
322
322
|
let(:config) { {} }
|
323
323
|
it "is written to the \"host\" field" do
|
@@ -342,7 +342,7 @@ describe LogStash::Inputs::Http do
|
|
342
342
|
end
|
343
343
|
|
344
344
|
describe "request headers" do
|
345
|
-
subject { LogStash::Inputs::
|
345
|
+
subject { LogStash::Inputs::Http_bold.new(config.merge("port" => port)) }
|
346
346
|
context "by default" do
|
347
347
|
let(:config) { {} }
|
348
348
|
it "are written to the \"headers\" field" do
|
@@ -410,39 +410,39 @@ describe LogStash::Inputs::Http do
|
|
410
410
|
let(:ipv6) { "2001:db8::8a2e:370:7334" }
|
411
411
|
|
412
412
|
it "should parse in IPV4 format with port" do
|
413
|
-
domain, port = LogStash::Inputs::
|
413
|
+
domain, port = LogStash::Inputs::Http_bold.get_domain_port("#{localhost}:8080")
|
414
414
|
expect(domain).to eq(localhost)
|
415
415
|
expect(port).to eq(8080)
|
416
416
|
end
|
417
417
|
|
418
418
|
it "should parse in IPV4 format without port" do
|
419
|
-
domain, port = LogStash::Inputs::
|
419
|
+
domain, port = LogStash::Inputs::Http_bold.get_domain_port(localhost)
|
420
420
|
expect(domain).to eq(localhost)
|
421
421
|
expect(port).to be_nil
|
422
422
|
end
|
423
423
|
|
424
424
|
it "should parse in IPV6 format with port" do
|
425
|
-
domain, port = LogStash::Inputs::
|
425
|
+
domain, port = LogStash::Inputs::Http_bold.get_domain_port("[#{ipv6}]:8080")
|
426
426
|
expect(domain).to eq(ipv6)
|
427
427
|
expect(port).to eq(8080)
|
428
428
|
end
|
429
429
|
|
430
430
|
it "should parse in IPV6 format without port" do
|
431
|
-
domain, port = LogStash::Inputs::
|
431
|
+
domain, port = LogStash::Inputs::Http_bold.get_domain_port("#{ipv6}")
|
432
432
|
expect(domain).to eq(ipv6)
|
433
433
|
expect(port).to be_nil
|
434
434
|
end
|
435
435
|
end
|
436
436
|
|
437
437
|
context "with :ssl => false" do
|
438
|
-
subject { LogStash::Inputs::
|
438
|
+
subject { LogStash::Inputs::Http_bold.new("port" => port, "ssl" => false) }
|
439
439
|
it "should not raise exception" do
|
440
440
|
expect { subject.register }.to_not raise_exception
|
441
441
|
end
|
442
442
|
end
|
443
443
|
context "with :ssl => true" do
|
444
444
|
context "without :ssl_certificate" do
|
445
|
-
subject { LogStash::Inputs::
|
445
|
+
subject { LogStash::Inputs::Http_bold.new("port" => port, "ssl" => true) }
|
446
446
|
it "should raise exception" do
|
447
447
|
expect { subject.register }.to raise_exception(LogStash::ConfigurationError)
|
448
448
|
end
|
@@ -458,14 +458,14 @@ describe LogStash::Inputs::Http do
|
|
458
458
|
|
459
459
|
after(:each) { ssc.delete }
|
460
460
|
|
461
|
-
subject { LogStash::Inputs::
|
461
|
+
subject { LogStash::Inputs::Http_bold.new(config) }
|
462
462
|
|
463
463
|
it "should not raise exception" do
|
464
464
|
expect { subject.register }.to_not raise_exception
|
465
465
|
end
|
466
466
|
|
467
467
|
context "with ssl_verify_mode = none" do
|
468
|
-
subject { LogStash::Inputs::
|
468
|
+
subject { LogStash::Inputs::Http_bold.new(config.merge("ssl_verify_mode" => "none")) }
|
469
469
|
|
470
470
|
it "should not raise exception" do
|
471
471
|
expect { subject.register }.to_not raise_exception
|
@@ -473,7 +473,7 @@ describe LogStash::Inputs::Http do
|
|
473
473
|
end
|
474
474
|
["peer", "force_peer"].each do |verify_mode|
|
475
475
|
context "with ssl_verify_mode = #{verify_mode}" do
|
476
|
-
subject { LogStash::Inputs::
|
476
|
+
subject { LogStash::Inputs::Http_bold.new("port" => port, "ssl" => true,
|
477
477
|
"ssl_certificate" => ssl_certificate.path,
|
478
478
|
"ssl_certificate_authorities" => ssl_certificate.path,
|
479
479
|
"ssl_key" => ssl_key.path,
|
@@ -485,7 +485,7 @@ describe LogStash::Inputs::Http do
|
|
485
485
|
end
|
486
486
|
end
|
487
487
|
context "with verify_mode = none" do
|
488
|
-
subject { LogStash::Inputs::
|
488
|
+
subject { LogStash::Inputs::Http_bold.new(config.merge("verify_mode" => "none")) }
|
489
489
|
|
490
490
|
it "should not raise exception" do
|
491
491
|
expect { subject.register }.to_not raise_exception
|
@@ -493,7 +493,7 @@ describe LogStash::Inputs::Http do
|
|
493
493
|
end
|
494
494
|
["peer", "force_peer"].each do |verify_mode|
|
495
495
|
context "with verify_mode = #{verify_mode}" do
|
496
|
-
subject { LogStash::Inputs::
|
496
|
+
subject { LogStash::Inputs::Http_bold.new("port" => port, "ssl" => true,
|
497
497
|
"ssl_certificate" => ssl_certificate.path,
|
498
498
|
"ssl_certificate_authorities" => ssl_certificate.path,
|
499
499
|
"ssl_key" => ssl_key.path,
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-input-http_bold
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 5.0.0
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Elastic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -152,17 +152,24 @@ files:
|
|
152
152
|
- docs/index.asciidoc
|
153
153
|
- lib/logstash-input-http_bold_jars.rb
|
154
154
|
- lib/logstash-input-http_jars.rb
|
155
|
-
- lib/logstash
|
156
|
-
- lib/logstash/inputs/http/tls.rb
|
155
|
+
- lib/logstash-input-httpbold_jars.rb
|
157
156
|
- lib/logstash/inputs/http_bold.rb
|
157
|
+
- lib/logstash/inputs/http_bold/message_handler.rb
|
158
|
+
- lib/logstash/inputs/http_bold/tls.rb
|
158
159
|
- lib/logstash/util/http_compressed_requests.rb
|
159
160
|
- lib/tasks/build.rake
|
160
161
|
- logstash-input-http_bold.gemspec
|
161
|
-
- spec/inputs/
|
162
|
+
- spec/inputs/http_bold_spec.rb
|
162
163
|
- vendor/jar-dependencies/io/netty/netty-all/4.1.65.Final/netty-all-4.1.65.Final.jar
|
163
164
|
- vendor/jar-dependencies/org/apache/logging/log4j/log4j-api/2.11.1/log4j-api-2.11.1.jar
|
165
|
+
- vendor/jar-dependencies/org/json/json/20210307/json-20210307.jar
|
164
166
|
- vendor/jar-dependencies/org/logstash/plugins/input/http/logstash-input-http/3.4.1/logstash-input-http-3.4.1.jar
|
165
|
-
- vendor/jar-dependencies/org/logstash/plugins/input/
|
167
|
+
- vendor/jar-dependencies/org/logstash/plugins/input/http/logstash-input-http/4.0.0/logstash-input-http-4.0.0.jar
|
168
|
+
- vendor/jar-dependencies/org/logstash/plugins/input/http/logstash-input-http/4.0.1/logstash-input-http-4.0.1.jar
|
169
|
+
- vendor/jar-dependencies/org/logstash/plugins/input/http/logstash-input-http/4.0.2/logstash-input-http-4.0.2.jar
|
170
|
+
- vendor/jar-dependencies/org/logstash/plugins/input/http/logstash-input-http/4.0.3/logstash-input-http-4.0.3.jar
|
171
|
+
- vendor/jar-dependencies/org/logstash/plugins/input/http_bold/logstash-input-http_bold/5.0.0/logstash-input-http_bold-5.0.0.jar
|
172
|
+
- vendor/jar-dependencies/org/logstash/plugins/input/httpbold/logstash-input-httpbold/1.0.0/logstash-input-httpbold-1.0.0.jar
|
166
173
|
homepage: http://www.elastic.co/guide/en/logstash/current/index.html
|
167
174
|
licenses:
|
168
175
|
- Apache License (2.0)
|
@@ -190,4 +197,4 @@ signing_key:
|
|
190
197
|
specification_version: 4
|
191
198
|
summary: Receives events over HTTP or HTTPS
|
192
199
|
test_files:
|
193
|
-
- spec/inputs/
|
200
|
+
- spec/inputs/http_bold_spec.rb
|