logstash-core 7.3.2-java → 7.4.0-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/logstash/agent.rb +2 -1
- data/lib/logstash/config/source/multi_local.rb +2 -1
- data/lib/logstash/java_pipeline.rb +5 -0
- data/lib/logstash/pipeline.rb +9 -2
- data/lib/logstash/runner.rb +2 -1
- data/spec/logstash/api/commands/default_metadata_spec.rb +37 -0
- data/spec/logstash/api/commands/node_spec.rb +126 -0
- data/spec/logstash/api/commands/stats_spec.rb +80 -10
- data/spec/logstash/api/modules/node_spec.rb +1 -0
- data/spec/logstash/api/modules/node_stats_spec.rb +11 -1
- data/spec/logstash/jruby_version_spec.rb +1 -1
- data/versions-gem-copy.yml +4 -4
- metadata +25 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 33325349b0d132777a029d1ae9da41b912d4831b2d54404b2333f27e97ce6f1d
|
4
|
+
data.tar.gz: 0cbb379d60437e13d9e886e00c9b0c5d68a24a2d120920f9c50afe7610d77920
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7859b91d732f6fbeb17b9996182ca2a7d1f688bf6c18d1c45ea3652693e441e6ee902b9317604cdfbeb064c3dd9df23b1d3ff4f894debffa5a29e222933c19c2
|
7
|
+
data.tar.gz: 5e4f036d28299357262b0fb989898d184f3b0db8f99038dc5bb5d1e3ac5c1e41c7f5323fb18fdd32a7964f873142440d2c0fd7e4197320127c686b4cb08ef712
|
data/lib/logstash/agent.rb
CHANGED
@@ -89,6 +89,7 @@ class LogStash::Agent
|
|
89
89
|
|
90
90
|
def execute
|
91
91
|
@thread = Thread.current # this var is implicitly used by Stud.stop?
|
92
|
+
LogStash::Util.set_thread_name("Agent thread")
|
92
93
|
logger.debug("Starting agent")
|
93
94
|
|
94
95
|
transition_to_running
|
@@ -307,7 +308,7 @@ class LogStash::Agent
|
|
307
308
|
|
308
309
|
pipeline_actions.map do |action|
|
309
310
|
Thread.new(action, converge_result) do |action, converge_result|
|
310
|
-
|
311
|
+
LogStash::Util.set_thread_name("Converge #{action}")
|
311
312
|
# We execute every task we need to converge the current state of pipelines
|
312
313
|
# for every task we will record the action result, that will help us
|
313
314
|
# the results of all the task will determine if the converge was successful or not
|
@@ -4,6 +4,7 @@ require "logstash/settings"
|
|
4
4
|
|
5
5
|
module LogStash module Config module Source
|
6
6
|
class MultiLocal < Local
|
7
|
+
include LogStash::Util::SubstitutionVariables
|
7
8
|
include LogStash::Util::Loggable
|
8
9
|
|
9
10
|
def initialize(settings)
|
@@ -13,7 +14,7 @@ module LogStash module Config module Source
|
|
13
14
|
end
|
14
15
|
|
15
16
|
def pipeline_configs
|
16
|
-
pipelines = retrieve_yaml_pipelines()
|
17
|
+
pipelines = deep_replace(retrieve_yaml_pipelines())
|
17
18
|
pipelines_settings = pipelines.map do |pipeline_settings|
|
18
19
|
clone = @original_settings.clone
|
19
20
|
clone.merge_pipeline_settings(pipeline_settings)
|
@@ -8,6 +8,8 @@ require "logstash/instrument/collector"
|
|
8
8
|
require "logstash/compiler"
|
9
9
|
require "logstash/config/lir_serializer"
|
10
10
|
|
11
|
+
java_import org.apache.logging.log4j.ThreadContext
|
12
|
+
|
11
13
|
module LogStash; class JavaPipeline < JavaBasePipeline
|
12
14
|
include LogStash::Util::Loggable
|
13
15
|
attr_reader \
|
@@ -102,6 +104,7 @@ module LogStash; class JavaPipeline < JavaBasePipeline
|
|
102
104
|
@thread = Thread.new do
|
103
105
|
begin
|
104
106
|
LogStash::Util.set_thread_name("pipeline.#{pipeline_id}")
|
107
|
+
ThreadContext.put("pipeline.id", pipeline_id)
|
105
108
|
run
|
106
109
|
@finished_run.make_true
|
107
110
|
rescue => e
|
@@ -236,6 +239,7 @@ module LogStash; class JavaPipeline < JavaBasePipeline
|
|
236
239
|
pipeline_workers.times do |t|
|
237
240
|
thread = Thread.new do
|
238
241
|
Util.set_thread_name("[#{pipeline_id}]>worker#{t}")
|
242
|
+
ThreadContext.put("pipeline.id", pipeline_id)
|
239
243
|
org.logstash.execution.WorkerLoop.new(
|
240
244
|
lir_execution, filter_queue_client, @events_filtered, @events_consumed,
|
241
245
|
@flushRequested, @flushing, @shutdownRequested, @drain_queue).run
|
@@ -305,6 +309,7 @@ module LogStash; class JavaPipeline < JavaBasePipeline
|
|
305
309
|
|
306
310
|
def inputworker(plugin)
|
307
311
|
Util::set_thread_name("[#{pipeline_id}]<#{plugin.class.config_name}")
|
312
|
+
ThreadContext.put("pipeline.id", pipeline_id)
|
308
313
|
begin
|
309
314
|
plugin.run(wrapped_write_client(plugin.id.to_sym))
|
310
315
|
rescue => e
|
data/lib/logstash/pipeline.rb
CHANGED
@@ -12,6 +12,8 @@ require "logstash/instrument/collector"
|
|
12
12
|
require "logstash/filter_delegator"
|
13
13
|
require "logstash/compiler"
|
14
14
|
|
15
|
+
java_import org.apache.logging.log4j.ThreadContext
|
16
|
+
|
15
17
|
module LogStash; class BasePipeline < AbstractPipeline
|
16
18
|
include LogStash::Util::Loggable
|
17
19
|
|
@@ -172,7 +174,8 @@ module LogStash; class Pipeline < BasePipeline
|
|
172
174
|
|
173
175
|
@thread = Thread.new do
|
174
176
|
begin
|
175
|
-
LogStash::Util.set_thread_name("
|
177
|
+
LogStash::Util.set_thread_name("[#{pipeline_id}]-manager")
|
178
|
+
ThreadContext.put("pipeline.id", pipeline_id)
|
176
179
|
run
|
177
180
|
@finished_run.make_true
|
178
181
|
rescue => e
|
@@ -300,7 +303,8 @@ module LogStash; class Pipeline < BasePipeline
|
|
300
303
|
|
301
304
|
pipeline_workers.times do |t|
|
302
305
|
thread = Thread.new(batch_size, batch_delay, self) do |_b_size, _b_delay, _pipeline|
|
303
|
-
Util
|
306
|
+
LogStash::Util::set_thread_name("[#{pipeline_id}]>worker#{t}")
|
307
|
+
ThreadContext.put("pipeline.id", pipeline_id)
|
304
308
|
_pipeline.worker_loop(_b_size, _b_delay)
|
305
309
|
end
|
306
310
|
@worker_threads << thread
|
@@ -430,6 +434,7 @@ module LogStash; class Pipeline < BasePipeline
|
|
430
434
|
|
431
435
|
def inputworker(plugin)
|
432
436
|
Util::set_thread_name("[#{pipeline_id}]<#{plugin.class.config_name}")
|
437
|
+
ThreadContext.put("pipeline.id", pipeline_id)
|
433
438
|
begin
|
434
439
|
plugin.run(wrapped_write_client(plugin.id.to_sym))
|
435
440
|
rescue => e
|
@@ -535,6 +540,8 @@ module LogStash; class Pipeline < BasePipeline
|
|
535
540
|
raise "Attempted to start flusher on a stopped pipeline!" if stopped?
|
536
541
|
|
537
542
|
@flusher_thread = Thread.new do
|
543
|
+
LogStash::Util.set_thread_name("[#{pipeline_id}]-flusher-thread")
|
544
|
+
ThreadContext.put("pipeline.id", pipeline_id)
|
538
545
|
while Stud.stoppable_sleep(5, 0.1) { stopped? }
|
539
546
|
flush
|
540
547
|
break if stopped?
|
data/lib/logstash/runner.rb
CHANGED
@@ -336,7 +336,8 @@ class LogStash::Runner < Clamp::StrictCommand
|
|
336
336
|
# TODO(ph): make it better for multiple pipeline
|
337
337
|
if results.success?
|
338
338
|
results.response.each do |pipeline_config|
|
339
|
-
LogStash::BasePipeline
|
339
|
+
pipeline_class = pipeline_config.settings.get_value("pipeline.java_execution") ? LogStash::JavaPipeline : LogStash::BasePipeline
|
340
|
+
pipeline_class.new(pipeline_config)
|
340
341
|
end
|
341
342
|
puts "Configuration OK"
|
342
343
|
logger.info "Using config.test_and_exit mode. Config Validation Result: OK. Exiting Logstash"
|
@@ -0,0 +1,37 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
require "spec_helper"
|
3
|
+
|
4
|
+
describe LogStash::Api::Commands::DefaultMetadata do
|
5
|
+
include_context "api setup"
|
6
|
+
|
7
|
+
let(:report_method) { :all }
|
8
|
+
subject(:report) do
|
9
|
+
factory = ::LogStash::Api::CommandFactory.new(LogStash::Api::Service.new(@agent))
|
10
|
+
factory.build(:default_metadata).send(report_method)
|
11
|
+
end
|
12
|
+
|
13
|
+
let(:report_class) { described_class }
|
14
|
+
|
15
|
+
describe "#plugins_stats_report" do
|
16
|
+
let(:report_method) { :all }
|
17
|
+
# Enforce just the structure
|
18
|
+
it "check keys" do
|
19
|
+
expect(report.keys).to include(
|
20
|
+
:host,
|
21
|
+
:version,
|
22
|
+
:http_address,
|
23
|
+
:id,
|
24
|
+
:name,
|
25
|
+
:ephemeral_id,
|
26
|
+
:status,
|
27
|
+
:snapshot,
|
28
|
+
:pipeline
|
29
|
+
)
|
30
|
+
expect(report[:pipeline].keys).to include(
|
31
|
+
:workers,
|
32
|
+
:batch_size,
|
33
|
+
:batch_delay,
|
34
|
+
)
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
@@ -0,0 +1,126 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
require "spec_helper"
|
3
|
+
|
4
|
+
describe LogStash::Api::Commands::Node do
|
5
|
+
include_context "api setup"
|
6
|
+
|
7
|
+
let(:report_method) { :all }
|
8
|
+
let(:pipeline_id) { nil }
|
9
|
+
let(:opts) { {} }
|
10
|
+
let(:mocked_vertex) {{:config_name=>"elasticsearch",
|
11
|
+
:plugin_type=>"output",
|
12
|
+
:meta=>{
|
13
|
+
:source=>{
|
14
|
+
:protocol=>"str",
|
15
|
+
:id=>"pipeline",
|
16
|
+
:line=>1,
|
17
|
+
:column=>64
|
18
|
+
}
|
19
|
+
},
|
20
|
+
:id=>"2d2270426a2e8d7976b972b6a5318624331fa0d39fa3f903d2f3490e58a7d25a",
|
21
|
+
:explicit_id=>false,
|
22
|
+
:type=>"plugin"}
|
23
|
+
}
|
24
|
+
subject(:report) do
|
25
|
+
factory = ::LogStash::Api::CommandFactory.new(LogStash::Api::Service.new(@agent))
|
26
|
+
if report_method == :pipelines
|
27
|
+
factory.build(:node).send(report_method, opts)
|
28
|
+
elsif report_method == :pipeline
|
29
|
+
factory.build(:node).send(report_method, pipeline_id, opts)
|
30
|
+
elsif report_method == :decorate_with_cluster_uuids
|
31
|
+
factory.build(:node).send(report_method, mocked_vertex)
|
32
|
+
else
|
33
|
+
factory.build(:node).send(report_method)
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
let(:report_class) { described_class }
|
38
|
+
|
39
|
+
describe "#all" do
|
40
|
+
let(:report_method) { :all }
|
41
|
+
# Enforce just the structure
|
42
|
+
it "check keys" do
|
43
|
+
expect(report.keys).to include(
|
44
|
+
:pipelines,
|
45
|
+
:os,
|
46
|
+
:jvm
|
47
|
+
)
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
|
52
|
+
describe "#pipeline" do
|
53
|
+
let(:report_method) { :pipeline }
|
54
|
+
let(:pipeline_id) { "main" }
|
55
|
+
# Enforce just the structure
|
56
|
+
it "check keys" do
|
57
|
+
expect(report.keys).to include(
|
58
|
+
:ephemeral_id,
|
59
|
+
:hash,
|
60
|
+
:workers,
|
61
|
+
:batch_size,
|
62
|
+
:batch_delay,
|
63
|
+
:config_reload_automatic,
|
64
|
+
:config_reload_interval,
|
65
|
+
:dead_letter_queue_enabled,
|
66
|
+
# :dead_letter_queue_path is nil in tests
|
67
|
+
# so it is ignored
|
68
|
+
)
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
72
|
+
describe "#pipeline?opts" do
|
73
|
+
let(:report_method) { :pipeline }
|
74
|
+
let(:pipeline_id) { "main" }
|
75
|
+
let(:opts) { { :graph=>true } }
|
76
|
+
# Enforce just the structure
|
77
|
+
it "check keys" do
|
78
|
+
expect(report.keys).to include(
|
79
|
+
:ephemeral_id,
|
80
|
+
:hash,
|
81
|
+
:workers,
|
82
|
+
:batch_size,
|
83
|
+
:batch_delay,
|
84
|
+
:config_reload_automatic,
|
85
|
+
:config_reload_interval,
|
86
|
+
:dead_letter_queue_enabled,
|
87
|
+
# Be sure we display a graph when we set the option to
|
88
|
+
:graph
|
89
|
+
)
|
90
|
+
end
|
91
|
+
end
|
92
|
+
|
93
|
+
describe "#os" do
|
94
|
+
let(:report_method) { :os }
|
95
|
+
it "check_keys" do
|
96
|
+
expect(report.keys).to include(
|
97
|
+
:name,
|
98
|
+
:arch,
|
99
|
+
:version,
|
100
|
+
:available_processors
|
101
|
+
)
|
102
|
+
end
|
103
|
+
end
|
104
|
+
|
105
|
+
describe "#jvm" do
|
106
|
+
let(:report_method) { :jvm }
|
107
|
+
it "check_keys" do
|
108
|
+
expect(report.keys).to include(
|
109
|
+
:pid,
|
110
|
+
:version,
|
111
|
+
:vm_version,
|
112
|
+
:vm_vendor,
|
113
|
+
:vm_name,
|
114
|
+
:start_time_in_millis,
|
115
|
+
:mem,
|
116
|
+
:gc_collectors
|
117
|
+
)
|
118
|
+
expect(report[:mem].keys).to include(
|
119
|
+
:heap_init_in_bytes,
|
120
|
+
:heap_max_in_bytes,
|
121
|
+
:non_heap_init_in_bytes,
|
122
|
+
:non_heap_max_in_bytes
|
123
|
+
)
|
124
|
+
end
|
125
|
+
end
|
126
|
+
end
|
@@ -5,25 +5,63 @@ describe LogStash::Api::Commands::Stats do
|
|
5
5
|
include_context "api setup"
|
6
6
|
|
7
7
|
let(:report_method) { :run }
|
8
|
+
let(:extended_pipeline) { nil }
|
9
|
+
let(:opts) { {} }
|
8
10
|
subject(:report) do
|
9
11
|
factory = ::LogStash::Api::CommandFactory.new(LogStash::Api::Service.new(@agent))
|
10
|
-
|
11
|
-
|
12
|
+
if extended_pipeline
|
13
|
+
factory.build(:stats).send(report_method, "main", extended_pipeline, opts)
|
14
|
+
else
|
15
|
+
factory.build(:stats).send(report_method)
|
16
|
+
end
|
12
17
|
end
|
13
18
|
|
14
19
|
let(:report_class) { described_class }
|
15
20
|
|
21
|
+
describe "#plugins_stats_report" do
|
22
|
+
let(:report_method) { :plugins_stats_report }
|
23
|
+
# Enforce just the structure
|
24
|
+
let(:extended_pipeline) {
|
25
|
+
{
|
26
|
+
:queue => "fake_queue",
|
27
|
+
:hash => "fake_hash",
|
28
|
+
:ephemeral_id => "fake_epehemeral_id",
|
29
|
+
:vertices => "fake_vertices"
|
30
|
+
}
|
31
|
+
}
|
32
|
+
# TODO pass in a real sample vertex
|
33
|
+
# let(:opts) {
|
34
|
+
# {
|
35
|
+
# :vertices => "fake vertices"
|
36
|
+
# }
|
37
|
+
# }
|
38
|
+
it "check keys" do
|
39
|
+
expect(report.keys).to include(
|
40
|
+
:queue,
|
41
|
+
:hash,
|
42
|
+
:ephemeral_id,
|
43
|
+
# TODO re-add vertices -- see above
|
44
|
+
# :vertices
|
45
|
+
)
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
16
49
|
describe "#events" do
|
17
50
|
let(:report_method) { :events }
|
18
51
|
|
19
52
|
it "return events information" do
|
20
|
-
expect(report.keys).to include(
|
53
|
+
expect(report.keys).to include(
|
54
|
+
:in,
|
55
|
+
:filtered,
|
56
|
+
:out,
|
57
|
+
:duration_in_millis,
|
58
|
+
:queue_push_duration_in_millis)
|
21
59
|
end
|
22
60
|
end
|
23
|
-
|
61
|
+
|
24
62
|
describe "#hot_threads" do
|
25
63
|
let(:report_method) { :hot_threads }
|
26
|
-
|
64
|
+
|
27
65
|
it "should return hot threads information as a string" do
|
28
66
|
expect(report.to_s).to be_a(String)
|
29
67
|
end
|
@@ -35,19 +73,50 @@ describe LogStash::Api::Commands::Stats do
|
|
35
73
|
|
36
74
|
describe "memory stats" do
|
37
75
|
let(:report_method) { :memory }
|
38
|
-
|
76
|
+
|
39
77
|
it "return hot threads information" do
|
40
78
|
expect(report).not_to be_empty
|
41
79
|
end
|
42
80
|
|
43
|
-
it "return
|
44
|
-
expect(report.keys).to include(
|
81
|
+
it "return memory information" do
|
82
|
+
expect(report.keys).to include(
|
83
|
+
:heap_used_percent,
|
84
|
+
:heap_committed_in_bytes,
|
85
|
+
:heap_max_in_bytes,
|
86
|
+
:heap_used_in_bytes,
|
87
|
+
:non_heap_used_in_bytes,
|
88
|
+
:non_heap_committed_in_bytes,
|
89
|
+
:pools
|
90
|
+
)
|
45
91
|
end
|
92
|
+
end
|
93
|
+
|
94
|
+
describe "jvm stats" do
|
95
|
+
let(:report_method) { :jvm }
|
46
96
|
|
47
|
-
it "return
|
48
|
-
expect(report.keys).to include(
|
97
|
+
it "return jvm information" do
|
98
|
+
expect(report.keys).to include(
|
99
|
+
:threads,
|
100
|
+
:mem,
|
101
|
+
:gc,
|
102
|
+
:uptime_in_millis
|
103
|
+
)
|
104
|
+
expect(report[:threads].keys).to include(
|
105
|
+
:count,
|
106
|
+
:peak_count
|
107
|
+
)
|
49
108
|
end
|
109
|
+
end
|
50
110
|
|
111
|
+
describe "reloads stats" do
|
112
|
+
let(:report_method) { :reloads }
|
113
|
+
|
114
|
+
it "return reloads information" do
|
115
|
+
expect(report.keys).to include(
|
116
|
+
:successes,
|
117
|
+
:failures,
|
118
|
+
)
|
119
|
+
end
|
51
120
|
end
|
52
121
|
|
53
122
|
describe "pipeline stats" do
|
@@ -74,6 +143,7 @@ describe LogStash::Api::Commands::Stats do
|
|
74
143
|
)
|
75
144
|
end
|
76
145
|
end
|
146
|
+
|
77
147
|
context "when using multiple pipelines" do
|
78
148
|
before(:each) do
|
79
149
|
expect(LogStash::Config::PipelinesInfo).to receive(:format_pipelines_info).and_return([
|
@@ -80,12 +80,22 @@ describe LogStash::Api::Modules::NodeStats do
|
|
80
80
|
"filtered" => Numeric,
|
81
81
|
"out" => Numeric,
|
82
82
|
"queue_push_duration_in_millis" => Numeric
|
83
|
-
}
|
83
|
+
},
|
84
|
+
"plugins" => {
|
85
|
+
"inputs" => Array,
|
86
|
+
"codecs" => Array,
|
87
|
+
"filters" => Array,
|
88
|
+
"outputs" => Array,
|
89
|
+
},
|
84
90
|
}
|
85
91
|
},
|
86
92
|
"reloads" => {
|
87
93
|
"successes" => Numeric,
|
88
94
|
"failures" => Numeric
|
95
|
+
},
|
96
|
+
"os" => Hash,
|
97
|
+
"queue" => {
|
98
|
+
"events_count" => Numeric
|
89
99
|
}
|
90
100
|
}
|
91
101
|
|
data/versions-gem-copy.yml
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
---
|
2
2
|
# alpha and beta qualifiers are now added via VERSION_QUALIFIER environment var
|
3
|
-
logstash: 7.
|
4
|
-
logstash-core: 7.
|
3
|
+
logstash: 7.4.0
|
4
|
+
logstash-core: 7.4.0
|
5
5
|
logstash-core-plugin-api: 2.1.16
|
6
6
|
|
7
7
|
# jruby must reference a *released* version of jruby which can be downloaded from the official download url
|
8
8
|
# *and* for which jars artifacts are published for compile-time
|
9
9
|
jruby:
|
10
|
-
version: 9.2.
|
11
|
-
sha1:
|
10
|
+
version: 9.2.8.0
|
11
|
+
sha1: 5b0b73b3d696afaeac92e6f8879dedcc63ac39d8
|
12
12
|
|
13
13
|
# jruby-runtime-override, if specified, will override the jruby version installed in vendor/jruby for logstash runtime only,
|
14
14
|
# not for the compile-time jars
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.
|
4
|
+
version: 7.4.0
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Elastic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-09-
|
11
|
+
date: 2019-09-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -17,8 +17,8 @@ dependencies:
|
|
17
17
|
- !ruby/object:Gem::Version
|
18
18
|
version: '0.12'
|
19
19
|
name: pry
|
20
|
-
prerelease: false
|
21
20
|
type: :runtime
|
21
|
+
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
@@ -31,8 +31,8 @@ dependencies:
|
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 0.0.19
|
33
33
|
name: stud
|
34
|
-
prerelease: false
|
35
34
|
type: :runtime
|
35
|
+
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
@@ -45,8 +45,8 @@ dependencies:
|
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '0.6'
|
47
47
|
name: clamp
|
48
|
-
prerelease: false
|
49
48
|
type: :runtime
|
49
|
+
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
@@ -59,8 +59,8 @@ dependencies:
|
|
59
59
|
- !ruby/object:Gem::Version
|
60
60
|
version: '0.2'
|
61
61
|
name: filesize
|
62
|
-
prerelease: false
|
63
62
|
type: :runtime
|
63
|
+
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
@@ -73,8 +73,8 @@ dependencies:
|
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '1'
|
75
75
|
name: gems
|
76
|
-
prerelease: false
|
77
76
|
type: :runtime
|
77
|
+
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
@@ -87,8 +87,8 @@ dependencies:
|
|
87
87
|
- !ruby/object:Gem::Version
|
88
88
|
version: '1'
|
89
89
|
name: concurrent-ruby
|
90
|
-
prerelease: false
|
91
90
|
type: :runtime
|
91
|
+
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
@@ -104,8 +104,8 @@ dependencies:
|
|
104
104
|
- !ruby/object:Gem::Version
|
105
105
|
version: 1.6.11
|
106
106
|
name: rack
|
107
|
-
prerelease: false
|
108
107
|
type: :runtime
|
108
|
+
prerelease: false
|
109
109
|
version_requirements: !ruby/object:Gem::Requirement
|
110
110
|
requirements:
|
111
111
|
- - "~>"
|
@@ -124,8 +124,8 @@ dependencies:
|
|
124
124
|
- !ruby/object:Gem::Version
|
125
125
|
version: 1.4.6
|
126
126
|
name: sinatra
|
127
|
-
prerelease: false
|
128
127
|
type: :runtime
|
128
|
+
prerelease: false
|
129
129
|
version_requirements: !ruby/object:Gem::Requirement
|
130
130
|
requirements:
|
131
131
|
- - "~>"
|
@@ -141,8 +141,8 @@ dependencies:
|
|
141
141
|
- !ruby/object:Gem::Version
|
142
142
|
version: '2'
|
143
143
|
name: puma
|
144
|
-
prerelease: false
|
145
144
|
type: :runtime
|
145
|
+
prerelease: false
|
146
146
|
version_requirements: !ruby/object:Gem::Requirement
|
147
147
|
requirements:
|
148
148
|
- - "~>"
|
@@ -155,8 +155,8 @@ dependencies:
|
|
155
155
|
- !ruby/object:Gem::Version
|
156
156
|
version: '0.10'
|
157
157
|
name: jruby-openssl
|
158
|
-
prerelease: false
|
159
158
|
type: :runtime
|
159
|
+
prerelease: false
|
160
160
|
version_requirements: !ruby/object:Gem::Requirement
|
161
161
|
requirements:
|
162
162
|
- - "~>"
|
@@ -169,8 +169,8 @@ dependencies:
|
|
169
169
|
- !ruby/object:Gem::Version
|
170
170
|
version: '0.10'
|
171
171
|
name: chronic_duration
|
172
|
-
prerelease: false
|
173
172
|
type: :runtime
|
173
|
+
prerelease: false
|
174
174
|
version_requirements: !ruby/object:Gem::Requirement
|
175
175
|
requirements:
|
176
176
|
- - "~>"
|
@@ -183,8 +183,8 @@ dependencies:
|
|
183
183
|
- !ruby/object:Gem::Version
|
184
184
|
version: '1'
|
185
185
|
name: treetop
|
186
|
-
prerelease: false
|
187
186
|
type: :runtime
|
187
|
+
prerelease: false
|
188
188
|
version_requirements: !ruby/object:Gem::Requirement
|
189
189
|
requirements:
|
190
190
|
- - "~>"
|
@@ -197,8 +197,8 @@ dependencies:
|
|
197
197
|
- !ruby/object:Gem::Version
|
198
198
|
version: '1'
|
199
199
|
name: i18n
|
200
|
-
prerelease: false
|
201
200
|
type: :runtime
|
201
|
+
prerelease: false
|
202
202
|
version_requirements: !ruby/object:Gem::Requirement
|
203
203
|
requirements:
|
204
204
|
- - "~>"
|
@@ -211,8 +211,8 @@ dependencies:
|
|
211
211
|
- !ruby/object:Gem::Version
|
212
212
|
version: '0.8'
|
213
213
|
name: minitar
|
214
|
-
prerelease: false
|
215
214
|
type: :runtime
|
215
|
+
prerelease: false
|
216
216
|
version_requirements: !ruby/object:Gem::Requirement
|
217
217
|
requirements:
|
218
218
|
- - "~>"
|
@@ -225,8 +225,8 @@ dependencies:
|
|
225
225
|
- !ruby/object:Gem::Version
|
226
226
|
version: '1'
|
227
227
|
name: rubyzip
|
228
|
-
prerelease: false
|
229
228
|
type: :runtime
|
229
|
+
prerelease: false
|
230
230
|
version_requirements: !ruby/object:Gem::Requirement
|
231
231
|
requirements:
|
232
232
|
- - "~>"
|
@@ -239,8 +239,8 @@ dependencies:
|
|
239
239
|
- !ruby/object:Gem::Version
|
240
240
|
version: 0.3.6
|
241
241
|
name: thread_safe
|
242
|
-
prerelease: false
|
243
242
|
type: :runtime
|
243
|
+
prerelease: false
|
244
244
|
version_requirements: !ruby/object:Gem::Requirement
|
245
245
|
requirements:
|
246
246
|
- - "~>"
|
@@ -253,8 +253,8 @@ dependencies:
|
|
253
253
|
- !ruby/object:Gem::Version
|
254
254
|
version: 0.4.9
|
255
255
|
name: jrjackson
|
256
|
-
prerelease: false
|
257
256
|
type: :runtime
|
257
|
+
prerelease: false
|
258
258
|
version_requirements: !ruby/object:Gem::Requirement
|
259
259
|
requirements:
|
260
260
|
- - '='
|
@@ -267,8 +267,8 @@ dependencies:
|
|
267
267
|
- !ruby/object:Gem::Version
|
268
268
|
version: '5'
|
269
269
|
name: elasticsearch
|
270
|
-
prerelease: false
|
271
270
|
type: :runtime
|
271
|
+
prerelease: false
|
272
272
|
version_requirements: !ruby/object:Gem::Requirement
|
273
273
|
requirements:
|
274
274
|
- - "~>"
|
@@ -281,8 +281,8 @@ dependencies:
|
|
281
281
|
- !ruby/object:Gem::Version
|
282
282
|
version: '0.6'
|
283
283
|
name: manticore
|
284
|
-
prerelease: false
|
285
284
|
type: :runtime
|
285
|
+
prerelease: false
|
286
286
|
version_requirements: !ruby/object:Gem::Requirement
|
287
287
|
requirements:
|
288
288
|
- - "~>"
|
@@ -464,6 +464,8 @@ files:
|
|
464
464
|
- spec/logstash/agent/converge_spec.rb
|
465
465
|
- spec/logstash/agent/metrics_spec.rb
|
466
466
|
- spec/logstash/agent_spec.rb
|
467
|
+
- spec/logstash/api/commands/default_metadata_spec.rb
|
468
|
+
- spec/logstash/api/commands/node_spec.rb
|
467
469
|
- spec/logstash/api/commands/stats_spec.rb
|
468
470
|
- spec/logstash/api/errors_spec.rb
|
469
471
|
- spec/logstash/api/modules/logging_spec.rb
|
@@ -608,6 +610,8 @@ test_files:
|
|
608
610
|
- spec/logstash/agent/converge_spec.rb
|
609
611
|
- spec/logstash/agent/metrics_spec.rb
|
610
612
|
- spec/logstash/agent_spec.rb
|
613
|
+
- spec/logstash/api/commands/default_metadata_spec.rb
|
614
|
+
- spec/logstash/api/commands/node_spec.rb
|
611
615
|
- spec/logstash/api/commands/stats_spec.rb
|
612
616
|
- spec/logstash/api/errors_spec.rb
|
613
617
|
- spec/logstash/api/modules/logging_spec.rb
|