logstash-core 2.2.1.snapshot1-java → 2.2.2-java
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of logstash-core might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/lib/logstash-core/version.rb +1 -1
- data/lib/logstash/agent.rb +14 -4
- data/lib/logstash/version.rb +1 -1
- data/locales/en.yml +2 -0
- data/logstash-core.gemspec +1 -1
- metadata +59 -59
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f1368f724e3cb3fe9e131d4b4c958fb02534ab8f
|
4
|
+
data.tar.gz: 2a5766cd24dbe8461e5d6c77ec1df8bd5af23441
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c66d1d39b2e770296fb2901b1853e235dce5239733845fe779b79f2ba23f3be3b794d79db9dc5c20140c4d4e9a03e53b2963b5496e85af9e4d1e50b146fd7d20
|
7
|
+
data.tar.gz: 51a37e8aceafd7e3ad11d7a19d537eb2959d0919085ab9ca4d6763e420249f4a58631f04006ce8905e49906aa9a33ca1659c5b6633c7a8b43ce449d816203ec8
|
data/lib/logstash/agent.rb
CHANGED
@@ -22,21 +22,24 @@ class LogStash::Agent < Clamp::Command
|
|
22
22
|
:default => "", :attribute_name => :config_string
|
23
23
|
|
24
24
|
option ["-w", "--pipeline-workers"], "COUNT",
|
25
|
-
I18n.t("logstash.
|
25
|
+
I18n.t("logstash.agent.flag.pipeline-workers"),
|
26
26
|
:attribute_name => :pipeline_workers,
|
27
27
|
:default => LogStash::Pipeline::DEFAULT_SETTINGS[:default_pipeline_workers]
|
28
28
|
|
29
|
-
|
30
29
|
option ["-b", "--pipeline-batch-size"], "SIZE",
|
31
|
-
I18n.t("logstash.
|
30
|
+
I18n.t("logstash.agent.flag.pipeline-batch-size"),
|
32
31
|
:attribute_name => :pipeline_batch_size,
|
33
32
|
:default => LogStash::Pipeline::DEFAULT_SETTINGS[:pipeline_batch_size]
|
34
33
|
|
35
34
|
option ["-u", "--pipeline-batch-delay"], "DELAY_IN_MS",
|
36
|
-
I18n.t("logstash.
|
35
|
+
I18n.t("logstash.agent.flag.pipeline-batch-delay"),
|
37
36
|
:attribute_name => :pipeline_batch_delay,
|
38
37
|
:default => LogStash::Pipeline::DEFAULT_SETTINGS[:pipeline_batch_delay]
|
39
38
|
|
39
|
+
option ["--filterworkers"], "COUNT",
|
40
|
+
I18n.t("logstash.agent.flag.filterworkers"),
|
41
|
+
:attribute_name => :filter_workers
|
42
|
+
|
40
43
|
option ["-l", "--log"], "FILE",
|
41
44
|
I18n.t("logstash.agent.flag.log"),
|
42
45
|
:attribute_name => :log_file
|
@@ -135,6 +138,12 @@ class LogStash::Agent < Clamp::Command
|
|
135
138
|
end
|
136
139
|
configure
|
137
140
|
|
141
|
+
|
142
|
+
if filter_workers
|
143
|
+
@logger.warn("--filter-workers is deprecated! Please use --pipeline-workers or -w. This setting will be removed in the next major version!")
|
144
|
+
self.pipeline_workers = filter_workers
|
145
|
+
end
|
146
|
+
|
138
147
|
# You must specify a config_string or config_path
|
139
148
|
if @config_string.nil? && @config_path.nil?
|
140
149
|
fail(help + "\n" + I18n.t("logstash.agent.missing-configuration"))
|
@@ -158,6 +167,7 @@ class LogStash::Agent < Clamp::Command
|
|
158
167
|
end
|
159
168
|
end
|
160
169
|
|
170
|
+
|
161
171
|
begin
|
162
172
|
pipeline = LogStash::Pipeline.new(@config_string, @pipeline_settings)
|
163
173
|
rescue LoadError => e
|
data/lib/logstash/version.rb
CHANGED
data/locales/en.yml
CHANGED
@@ -157,6 +157,8 @@ en:
|
|
157
157
|
Check configuration for valid syntax and then exit.
|
158
158
|
pipeline-workers: |+
|
159
159
|
Sets the number of pipeline workers to run.
|
160
|
+
filterworkers: |+
|
161
|
+
DEPRECATED. Now an alias for --pipeline-workers and -w
|
160
162
|
pipeline-batch-size: |+
|
161
163
|
Size of batches the pipeline is to work in.
|
162
164
|
pipeline-batch-delay: |+
|
data/logstash-core.gemspec
CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |gem|
|
|
17
17
|
gem.require_paths = ["lib"]
|
18
18
|
gem.version = LOGSTASH_CORE_VERSION
|
19
19
|
|
20
|
-
gem.add_runtime_dependency "logstash-core-event", "~> 2.2.
|
20
|
+
gem.add_runtime_dependency "logstash-core-event", "~> 2.2.2"
|
21
21
|
|
22
22
|
gem.add_runtime_dependency "cabin", "~> 0.7.0" #(Apache 2.0 license)
|
23
23
|
gem.add_runtime_dependency "pry", "~> 0.10.1" #(Ruby license)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.2
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Jordan Sissel
|
@@ -10,218 +10,218 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2016-02-
|
13
|
+
date: 2016-02-18 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
|
-
name: logstash-core-event
|
17
|
-
version_requirements: !ruby/object:Gem::Requirement
|
18
|
-
requirements:
|
19
|
-
- - ~>
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: 2.2.1.snapshot1
|
22
16
|
requirement: !ruby/object:Gem::Requirement
|
23
17
|
requirements:
|
24
18
|
- - ~>
|
25
19
|
- !ruby/object:Gem::Version
|
26
|
-
version: 2.2.
|
20
|
+
version: 2.2.2
|
21
|
+
name: logstash-core-event
|
27
22
|
prerelease: false
|
28
23
|
type: :runtime
|
29
|
-
- !ruby/object:Gem::Dependency
|
30
|
-
name: cabin
|
31
24
|
version_requirements: !ruby/object:Gem::Requirement
|
32
25
|
requirements:
|
33
26
|
- - ~>
|
34
27
|
- !ruby/object:Gem::Version
|
35
|
-
version:
|
28
|
+
version: 2.2.2
|
29
|
+
- !ruby/object:Gem::Dependency
|
36
30
|
requirement: !ruby/object:Gem::Requirement
|
37
31
|
requirements:
|
38
32
|
- - ~>
|
39
33
|
- !ruby/object:Gem::Version
|
40
34
|
version: 0.7.0
|
35
|
+
name: cabin
|
41
36
|
prerelease: false
|
42
37
|
type: :runtime
|
43
|
-
- !ruby/object:Gem::Dependency
|
44
|
-
name: pry
|
45
38
|
version_requirements: !ruby/object:Gem::Requirement
|
46
39
|
requirements:
|
47
40
|
- - ~>
|
48
41
|
- !ruby/object:Gem::Version
|
49
|
-
version: 0.
|
42
|
+
version: 0.7.0
|
43
|
+
- !ruby/object:Gem::Dependency
|
50
44
|
requirement: !ruby/object:Gem::Requirement
|
51
45
|
requirements:
|
52
46
|
- - ~>
|
53
47
|
- !ruby/object:Gem::Version
|
54
48
|
version: 0.10.1
|
49
|
+
name: pry
|
55
50
|
prerelease: false
|
56
51
|
type: :runtime
|
57
|
-
- !ruby/object:Gem::Dependency
|
58
|
-
name: stud
|
59
52
|
version_requirements: !ruby/object:Gem::Requirement
|
60
53
|
requirements:
|
61
54
|
- - ~>
|
62
55
|
- !ruby/object:Gem::Version
|
63
|
-
version: 0.
|
56
|
+
version: 0.10.1
|
57
|
+
- !ruby/object:Gem::Dependency
|
64
58
|
requirement: !ruby/object:Gem::Requirement
|
65
59
|
requirements:
|
66
60
|
- - ~>
|
67
61
|
- !ruby/object:Gem::Version
|
68
62
|
version: 0.0.19
|
63
|
+
name: stud
|
69
64
|
prerelease: false
|
70
65
|
type: :runtime
|
71
|
-
- !ruby/object:Gem::Dependency
|
72
|
-
name: clamp
|
73
66
|
version_requirements: !ruby/object:Gem::Requirement
|
74
67
|
requirements:
|
75
68
|
- - ~>
|
76
69
|
- !ruby/object:Gem::Version
|
77
|
-
version: 0.
|
70
|
+
version: 0.0.19
|
71
|
+
- !ruby/object:Gem::Dependency
|
78
72
|
requirement: !ruby/object:Gem::Requirement
|
79
73
|
requirements:
|
80
74
|
- - ~>
|
81
75
|
- !ruby/object:Gem::Version
|
82
76
|
version: 0.6.5
|
77
|
+
name: clamp
|
83
78
|
prerelease: false
|
84
79
|
type: :runtime
|
85
|
-
- !ruby/object:Gem::Dependency
|
86
|
-
name: filesize
|
87
80
|
version_requirements: !ruby/object:Gem::Requirement
|
88
81
|
requirements:
|
89
|
-
- -
|
82
|
+
- - ~>
|
90
83
|
- !ruby/object:Gem::Version
|
91
|
-
version: 0.
|
84
|
+
version: 0.6.5
|
85
|
+
- !ruby/object:Gem::Dependency
|
92
86
|
requirement: !ruby/object:Gem::Requirement
|
93
87
|
requirements:
|
94
88
|
- - '='
|
95
89
|
- !ruby/object:Gem::Version
|
96
90
|
version: 0.0.4
|
91
|
+
name: filesize
|
97
92
|
prerelease: false
|
98
93
|
type: :runtime
|
99
|
-
- !ruby/object:Gem::Dependency
|
100
|
-
name: gems
|
101
94
|
version_requirements: !ruby/object:Gem::Requirement
|
102
95
|
requirements:
|
103
|
-
- -
|
96
|
+
- - '='
|
104
97
|
- !ruby/object:Gem::Version
|
105
|
-
version: 0.
|
98
|
+
version: 0.0.4
|
99
|
+
- !ruby/object:Gem::Dependency
|
106
100
|
requirement: !ruby/object:Gem::Requirement
|
107
101
|
requirements:
|
108
102
|
- - ~>
|
109
103
|
- !ruby/object:Gem::Version
|
110
104
|
version: 0.8.3
|
105
|
+
name: gems
|
111
106
|
prerelease: false
|
112
107
|
type: :runtime
|
113
|
-
- !ruby/object:Gem::Dependency
|
114
|
-
name: concurrent-ruby
|
115
108
|
version_requirements: !ruby/object:Gem::Requirement
|
116
109
|
requirements:
|
117
|
-
- -
|
110
|
+
- - ~>
|
118
111
|
- !ruby/object:Gem::Version
|
119
|
-
version: 0.
|
112
|
+
version: 0.8.3
|
113
|
+
- !ruby/object:Gem::Dependency
|
120
114
|
requirement: !ruby/object:Gem::Requirement
|
121
115
|
requirements:
|
122
116
|
- - '='
|
123
117
|
- !ruby/object:Gem::Version
|
124
118
|
version: 0.9.2
|
119
|
+
name: concurrent-ruby
|
125
120
|
prerelease: false
|
126
121
|
type: :runtime
|
127
|
-
- !ruby/object:Gem::Dependency
|
128
|
-
name: jruby-openssl
|
129
122
|
version_requirements: !ruby/object:Gem::Requirement
|
130
123
|
requirements:
|
131
124
|
- - '='
|
132
125
|
- !ruby/object:Gem::Version
|
133
|
-
version: 0.9.
|
126
|
+
version: 0.9.2
|
127
|
+
- !ruby/object:Gem::Dependency
|
134
128
|
requirement: !ruby/object:Gem::Requirement
|
135
129
|
requirements:
|
136
130
|
- - '='
|
137
131
|
- !ruby/object:Gem::Version
|
138
132
|
version: 0.9.13
|
133
|
+
name: jruby-openssl
|
139
134
|
prerelease: false
|
140
135
|
type: :runtime
|
141
|
-
- !ruby/object:Gem::Dependency
|
142
|
-
name: treetop
|
143
136
|
version_requirements: !ruby/object:Gem::Requirement
|
144
137
|
requirements:
|
145
|
-
- -
|
138
|
+
- - '='
|
146
139
|
- !ruby/object:Gem::Version
|
147
|
-
version:
|
140
|
+
version: 0.9.13
|
141
|
+
- !ruby/object:Gem::Dependency
|
148
142
|
requirement: !ruby/object:Gem::Requirement
|
149
143
|
requirements:
|
150
144
|
- - <
|
151
145
|
- !ruby/object:Gem::Version
|
152
146
|
version: 1.5.0
|
147
|
+
name: treetop
|
153
148
|
prerelease: false
|
154
149
|
type: :runtime
|
155
|
-
- !ruby/object:Gem::Dependency
|
156
|
-
name: i18n
|
157
150
|
version_requirements: !ruby/object:Gem::Requirement
|
158
151
|
requirements:
|
159
|
-
- -
|
152
|
+
- - <
|
160
153
|
- !ruby/object:Gem::Version
|
161
|
-
version:
|
154
|
+
version: 1.5.0
|
155
|
+
- !ruby/object:Gem::Dependency
|
162
156
|
requirement: !ruby/object:Gem::Requirement
|
163
157
|
requirements:
|
164
158
|
- - '='
|
165
159
|
- !ruby/object:Gem::Version
|
166
160
|
version: 0.6.9
|
161
|
+
name: i18n
|
167
162
|
prerelease: false
|
168
163
|
type: :runtime
|
169
|
-
- !ruby/object:Gem::Dependency
|
170
|
-
name: minitar
|
171
164
|
version_requirements: !ruby/object:Gem::Requirement
|
172
165
|
requirements:
|
173
|
-
- -
|
166
|
+
- - '='
|
174
167
|
- !ruby/object:Gem::Version
|
175
|
-
version: 0.
|
168
|
+
version: 0.6.9
|
169
|
+
- !ruby/object:Gem::Dependency
|
176
170
|
requirement: !ruby/object:Gem::Requirement
|
177
171
|
requirements:
|
178
172
|
- - ~>
|
179
173
|
- !ruby/object:Gem::Version
|
180
174
|
version: 0.5.4
|
175
|
+
name: minitar
|
181
176
|
prerelease: false
|
182
177
|
type: :runtime
|
183
|
-
- !ruby/object:Gem::Dependency
|
184
|
-
name: rubyzip
|
185
178
|
version_requirements: !ruby/object:Gem::Requirement
|
186
179
|
requirements:
|
187
180
|
- - ~>
|
188
181
|
- !ruby/object:Gem::Version
|
189
|
-
version:
|
182
|
+
version: 0.5.4
|
183
|
+
- !ruby/object:Gem::Dependency
|
190
184
|
requirement: !ruby/object:Gem::Requirement
|
191
185
|
requirements:
|
192
186
|
- - ~>
|
193
187
|
- !ruby/object:Gem::Version
|
194
188
|
version: 1.1.7
|
189
|
+
name: rubyzip
|
195
190
|
prerelease: false
|
196
191
|
type: :runtime
|
197
|
-
- !ruby/object:Gem::Dependency
|
198
|
-
name: thread_safe
|
199
192
|
version_requirements: !ruby/object:Gem::Requirement
|
200
193
|
requirements:
|
201
194
|
- - ~>
|
202
195
|
- !ruby/object:Gem::Version
|
203
|
-
version:
|
196
|
+
version: 1.1.7
|
197
|
+
- !ruby/object:Gem::Dependency
|
204
198
|
requirement: !ruby/object:Gem::Requirement
|
205
199
|
requirements:
|
206
200
|
- - ~>
|
207
201
|
- !ruby/object:Gem::Version
|
208
202
|
version: 0.3.5
|
203
|
+
name: thread_safe
|
209
204
|
prerelease: false
|
210
205
|
type: :runtime
|
211
|
-
- !ruby/object:Gem::Dependency
|
212
|
-
name: jrjackson
|
213
206
|
version_requirements: !ruby/object:Gem::Requirement
|
214
207
|
requirements:
|
215
208
|
- - ~>
|
216
209
|
- !ruby/object:Gem::Version
|
217
|
-
version: 0.3.
|
210
|
+
version: 0.3.5
|
211
|
+
- !ruby/object:Gem::Dependency
|
218
212
|
requirement: !ruby/object:Gem::Requirement
|
219
213
|
requirements:
|
220
214
|
- - ~>
|
221
215
|
- !ruby/object:Gem::Version
|
222
216
|
version: 0.3.7
|
217
|
+
name: jrjackson
|
223
218
|
prerelease: false
|
224
219
|
type: :runtime
|
220
|
+
version_requirements: !ruby/object:Gem::Requirement
|
221
|
+
requirements:
|
222
|
+
- - ~>
|
223
|
+
- !ruby/object:Gem::Version
|
224
|
+
version: 0.3.7
|
225
225
|
description: The core components of logstash, the scalable log and event management tool
|
226
226
|
email:
|
227
227
|
- jls@semicomplete.com
|
@@ -327,9 +327,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
327
327
|
version: '0'
|
328
328
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
329
329
|
requirements:
|
330
|
-
- - '
|
330
|
+
- - '>='
|
331
331
|
- !ruby/object:Gem::Version
|
332
|
-
version:
|
332
|
+
version: '0'
|
333
333
|
requirements: []
|
334
334
|
rubyforge_project:
|
335
335
|
rubygems_version: 2.4.5
|