logstash-output-elasticsearch_java 1.0.0.beta1 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/logstash/outputs/elasticsearch_java.rb +38 -38
- data/lib/logstash/outputs/elasticsearch_java/protocol.rb +8 -10
- data/logstash-output-elasticsearch_java.gemspec +4 -4
- data/spec/integration/outputs/index_spec.rb +2 -0
- data/spec/integration/outputs/retry_spec.rb +5 -4
- data/spec/integration/outputs/routing_spec.rb +1 -0
- data/spec/integration/outputs/templates_spec.rb +2 -1
- data/spec/integration/outputs/transport_create_spec.rb +8 -1
- data/spec/unit/outputs/elasticsearch_spec.rb +9 -1
- data/vendor/jar-dependencies/runtime-jars/apache-log4j-extras-1.2.17.jar +0 -0
- data/vendor/jar-dependencies/runtime-jars/{elasticsearch-1.7.0.jar → elasticsearch-1.7.3.jar} +0 -0
- data/vendor/jar-dependencies/runtime-jars/groovy-all-2.4.4.jar +0 -0
- data/vendor/jar-dependencies/runtime-jars/jna-4.1.0.jar +0 -0
- data/vendor/jar-dependencies/runtime-jars/jts-1.13.jar +0 -0
- data/vendor/jar-dependencies/runtime-jars/log4j-1.2.17.jar +0 -0
- data/vendor/jar-dependencies/runtime-jars/lucene-expressions-4.10.4.jar +0 -0
- metadata +42 -38
- data/.gitignore +0 -5
- data/Rakefile +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ca2df36f0c6552c973d3abc54431be44b8800b1
|
4
|
+
data.tar.gz: 7f5ed63ea8db279bc51be73330741643eba73bd9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd1207a347bf8f72b9f8f4fd9412973d5e3d17d0b6ed0dc9fa7112851b60fa6129e2d8937f54e9973c8979c71e6de6f33ec1244f43bdce4c22a78da9408d7f1c
|
7
|
+
data.tar.gz: 8fb170cc1c35392e73b1317f49b98af418f33d1cd1308c5a9fe4c0f428003ae885a6721e4a25754c06d43b22f7c57c99a994435d83353afd8bcea0a11f76010e
|
@@ -303,42 +303,11 @@ class LogStash::Outputs::ElasticSearchJava < LogStash::Outputs::Base
|
|
303
303
|
@retry_queue_not_full = ConditionVariable.new
|
304
304
|
@retry_queue = Queue.new
|
305
305
|
|
306
|
-
client_settings = {}
|
307
|
-
client_settings["cluster.name"] = @cluster if @cluster
|
308
|
-
client_settings["network.host"] = @network_host if @network_host
|
309
|
-
client_settings["transport.tcp.port"] = @transport_tcp_port if @transport_tcp_port
|
310
|
-
client_settings["client.transport.sniff"] = @sniffing
|
311
|
-
|
312
|
-
if @node_name
|
313
|
-
client_settings["node.name"] = @node_name
|
314
|
-
else
|
315
|
-
client_settings["node.name"] = "logstash-#{Socket.gethostname}-#{$$}-#{object_id}"
|
316
|
-
end
|
317
|
-
|
318
|
-
@@plugins.each do |plugin|
|
319
|
-
name = plugin.name.split('-')[-1]
|
320
|
-
client_settings.merge!(LogStash::Outputs::ElasticSearchJava.const_get(name.capitalize).create_client_config(self))
|
321
|
-
end
|
322
|
-
|
323
306
|
if (@hosts.nil? || @hosts.empty?) && @protocol != "node" # node can use zen discovery
|
324
307
|
@logger.info("No 'hosts' set in elasticsearch output. Defaulting to localhost")
|
325
308
|
@hosts = ["localhost"]
|
326
309
|
end
|
327
310
|
|
328
|
-
common_options = {
|
329
|
-
:protocol => @protocol,
|
330
|
-
:client_settings => client_settings,
|
331
|
-
:hosts => @hosts,
|
332
|
-
:port => @port
|
333
|
-
}
|
334
|
-
|
335
|
-
# Update API setup
|
336
|
-
update_options = {
|
337
|
-
:upsert => @upsert,
|
338
|
-
:doc_as_upsert => @doc_as_upsert
|
339
|
-
}
|
340
|
-
common_options.merge! update_options if @action == 'update'
|
341
|
-
|
342
311
|
client_class = case @protocol
|
343
312
|
when "transport"
|
344
313
|
LogStash::Outputs::ElasticSearchJavaPlugins::Protocols::TransportClient
|
@@ -346,7 +315,7 @@ class LogStash::Outputs::ElasticSearchJava < LogStash::Outputs::Base
|
|
346
315
|
LogStash::Outputs::ElasticSearchJavaPlugins::Protocols::NodeClient
|
347
316
|
end
|
348
317
|
|
349
|
-
@client = client_class.new(
|
318
|
+
@client = client_class.new(client_options)
|
350
319
|
|
351
320
|
if @manage_template
|
352
321
|
begin
|
@@ -385,6 +354,41 @@ class LogStash::Outputs::ElasticSearchJava < LogStash::Outputs::Base
|
|
385
354
|
end
|
386
355
|
end # def register
|
387
356
|
|
357
|
+
def client_options
|
358
|
+
client_settings = {}
|
359
|
+
client_settings["cluster.name"] = @cluster if @cluster
|
360
|
+
client_settings["network.host"] = @network_host if @network_host
|
361
|
+
client_settings["transport.tcp.port"] = @transport_tcp_port if @transport_tcp_port
|
362
|
+
client_settings["client.transport.sniff"] = @sniffing
|
363
|
+
|
364
|
+
if @node_name
|
365
|
+
client_settings["node.name"] = @node_name
|
366
|
+
else
|
367
|
+
client_settings["node.name"] = "logstash-#{Socket.gethostname}-#{$$}-#{object_id}"
|
368
|
+
end
|
369
|
+
|
370
|
+
@@plugins.each do |plugin|
|
371
|
+
name = plugin.name.split('-')[-1]
|
372
|
+
client_settings.merge!(LogStash::Outputs::ElasticSearchJava.const_get(name.capitalize).create_client_config(self))
|
373
|
+
end
|
374
|
+
|
375
|
+
common_options = {
|
376
|
+
:protocol => @protocol,
|
377
|
+
:client_settings => client_settings,
|
378
|
+
:hosts => @hosts,
|
379
|
+
:port => @port
|
380
|
+
}
|
381
|
+
|
382
|
+
# Update API setup
|
383
|
+
update_options = {
|
384
|
+
:upsert => @upsert,
|
385
|
+
:doc_as_upsert => @doc_as_upsert
|
386
|
+
}
|
387
|
+
common_options.merge! update_options if @action == 'update'
|
388
|
+
|
389
|
+
common_options
|
390
|
+
end
|
391
|
+
|
388
392
|
|
389
393
|
public
|
390
394
|
def get_template
|
@@ -402,7 +406,7 @@ class LogStash::Outputs::ElasticSearchJava < LogStash::Outputs::Base
|
|
402
406
|
|
403
407
|
public
|
404
408
|
def receive(event)
|
405
|
-
|
409
|
+
|
406
410
|
|
407
411
|
# block until we have not maxed out our
|
408
412
|
# retry queue. This is applying back-pressure
|
@@ -473,11 +477,7 @@ class LogStash::Outputs::ElasticSearchJava < LogStash::Outputs::Base
|
|
473
477
|
end # def flush
|
474
478
|
|
475
479
|
public
|
476
|
-
def
|
477
|
-
if @cacert # remove temporary jks store created from the cacert
|
478
|
-
File.delete(@truststore)
|
479
|
-
end
|
480
|
-
|
480
|
+
def close
|
481
481
|
@retry_teardown_requested.make_true
|
482
482
|
# First, make sure retry_timer_thread is stopped
|
483
483
|
# to ensure we do not signal a retry based on
|
@@ -14,12 +14,6 @@ module LogStash
|
|
14
14
|
@logger = Cabin::Channel.get
|
15
15
|
end
|
16
16
|
|
17
|
-
def client
|
18
|
-
return @client if @client
|
19
|
-
@client = build_client(@options)
|
20
|
-
return @client
|
21
|
-
end
|
22
|
-
|
23
17
|
def template_install(name, template, force=false)
|
24
18
|
if template_exists?(name) && !force
|
25
19
|
@logger.debug("Found existing Elasticsearch template. Skipping template management", :name => name)
|
@@ -230,12 +224,16 @@ module LogStash
|
|
230
224
|
end # class NodeClient
|
231
225
|
|
232
226
|
class TransportClient < NodeClient
|
227
|
+
def client
|
228
|
+
return @client if @client
|
229
|
+
@client = build_client(@options)
|
230
|
+
return @client
|
231
|
+
end
|
232
|
+
|
233
|
+
|
233
234
|
private
|
234
235
|
def build_client(options)
|
235
|
-
client = org.elasticsearch.client.transport.TransportClient.
|
236
|
-
builder().
|
237
|
-
settings((settings.build)).
|
238
|
-
build()
|
236
|
+
client = org.elasticsearch.client.transport.TransportClient.new(settings.build)
|
239
237
|
|
240
238
|
options[:hosts].each do |host|
|
241
239
|
matches = host.match /(.+)(?:.*)/
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'logstash-output-elasticsearch_java'
|
3
|
-
s.version = '1.0.0
|
3
|
+
s.version = '1.0.0'
|
4
4
|
s.licenses = ['apache-2.0']
|
5
5
|
s.summary = "Logstash Output to Elasticsearch using Java node/transport client"
|
6
6
|
s.description = "Output events to elasticsearch using the java client"
|
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
|
|
10
10
|
s.require_paths = ["lib"]
|
11
11
|
|
12
12
|
# Files
|
13
|
-
s.files =
|
13
|
+
s.files = Dir['lib/**/*','spec/**/*','vendor/**/*','*.gemspec','*.md','CONTRIBUTORS','Gemfile','LICENSE','NOTICE.TXT']
|
14
14
|
|
15
15
|
# Tests
|
16
16
|
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
@@ -20,10 +20,10 @@ Gem::Specification.new do |s|
|
|
20
20
|
|
21
21
|
# Gem dependencies
|
22
22
|
s.add_runtime_dependency 'concurrent-ruby'
|
23
|
-
s.add_runtime_dependency 'elasticsearch', ['>= 1.0.
|
23
|
+
s.add_runtime_dependency 'elasticsearch', ['>= 1.0.13', '~> 1.0']
|
24
24
|
s.add_runtime_dependency 'stud', ['>= 0.0.17', '~> 0.0']
|
25
25
|
s.add_runtime_dependency 'cabin', ['~> 0.6']
|
26
|
-
s.add_runtime_dependency "logstash-core",
|
26
|
+
s.add_runtime_dependency "logstash-core", ">= 2.0.0.beta2", "< 3.0.0"
|
27
27
|
|
28
28
|
s.add_development_dependency 'ftw', '~> 0.0.42'
|
29
29
|
s.add_development_dependency 'logstash-input-generator'
|
@@ -53,6 +53,7 @@ describe "an indexer with custom index_type", :integration => true do
|
|
53
53
|
output {
|
54
54
|
elasticsearch_java {
|
55
55
|
hosts => "#{get_host()}"
|
56
|
+
network_host => "#{get_local_host}"
|
56
57
|
port => "#{get_port('transport')}"
|
57
58
|
protocol => "transport"
|
58
59
|
index => "#{index}"
|
@@ -78,6 +79,7 @@ describe "an indexer with no type value set (default to logs)", :integration =>
|
|
78
79
|
output {
|
79
80
|
elasticsearch_java {
|
80
81
|
hosts => "#{get_host()}"
|
82
|
+
network_host => "#{get_local_host}"
|
81
83
|
port => "#{get_port('transport')}"
|
82
84
|
protocol => "transport"
|
83
85
|
index => "#{index}"
|
@@ -21,6 +21,7 @@ describe "failures in bulk class expected behavior", :integration => true do
|
|
21
21
|
"manage_template" => true,
|
22
22
|
"index" => "logstash-2014.11.17",
|
23
23
|
"template_overwrite" => true,
|
24
|
+
"network_host" => get_local_host,
|
24
25
|
"protocol" => 'transport',
|
25
26
|
"hosts" => get_host(),
|
26
27
|
"port" => get_port('transport'),
|
@@ -60,7 +61,7 @@ describe "failures in bulk class expected behavior", :integration => true do
|
|
60
61
|
end
|
61
62
|
subject.register
|
62
63
|
subject.receive(event1)
|
63
|
-
subject.
|
64
|
+
subject.close
|
64
65
|
end
|
65
66
|
|
66
67
|
it "should retry actions with response status of 503" do
|
@@ -108,7 +109,7 @@ describe "failures in bulk class expected behavior", :integration => true do
|
|
108
109
|
subject.register
|
109
110
|
subject.receive(invalid_event)
|
110
111
|
expect(subject).not_to receive(:retry_push)
|
111
|
-
subject.
|
112
|
+
subject.close
|
112
113
|
|
113
114
|
@es.indices.refresh
|
114
115
|
sleep(5)
|
@@ -122,7 +123,7 @@ describe "failures in bulk class expected behavior", :integration => true do
|
|
122
123
|
subject.register
|
123
124
|
subject.receive(event1)
|
124
125
|
expect(subject).not_to receive(:retry_push)
|
125
|
-
subject.
|
126
|
+
subject.close
|
126
127
|
|
127
128
|
@es.indices.refresh
|
128
129
|
sleep(5)
|
@@ -136,7 +137,7 @@ describe "failures in bulk class expected behavior", :integration => true do
|
|
136
137
|
subject.register
|
137
138
|
subject.receive(invalid_event)
|
138
139
|
subject.receive(event1)
|
139
|
-
subject.
|
140
|
+
subject.close
|
140
141
|
@es.indices.refresh
|
141
142
|
sleep(5)
|
142
143
|
|
@@ -11,7 +11,8 @@ describe "index template expected behavior", :integration => true do
|
|
11
11
|
"template_overwrite" => true,
|
12
12
|
"protocol" => protocol,
|
13
13
|
"hosts" => "#{get_host()}",
|
14
|
-
"port" => "#{get_port('transport')}"
|
14
|
+
"port" => "#{get_port('transport')}",
|
15
|
+
"network_host" => get_local_host
|
15
16
|
}
|
16
17
|
next LogStash::Outputs::ElasticSearchJava.new(settings)
|
17
18
|
end
|
@@ -12,7 +12,8 @@ describe "transport client create actions", :integration => true do
|
|
12
12
|
"protocol" => "transport",
|
13
13
|
"hosts" => get_host(),
|
14
14
|
"port" => get_port('transport'),
|
15
|
-
"action" => action
|
15
|
+
"action" => action,
|
16
|
+
"network_host" => get_local_host
|
16
17
|
}
|
17
18
|
settings['document_id'] = id unless id.nil?
|
18
19
|
LogStash::Outputs::ElasticSearchJava.new(settings)
|
@@ -28,6 +29,12 @@ describe "transport client create actions", :integration => true do
|
|
28
29
|
end
|
29
30
|
|
30
31
|
context "when action => create" do
|
32
|
+
it "should instantiate a transport, not node, client" do
|
33
|
+
subject = get_es_output("create", "id123")
|
34
|
+
subject.register
|
35
|
+
expect(subject.client.send(:client).class).to eql(Java::OrgElasticsearchClientTransport::TransportClient)
|
36
|
+
end
|
37
|
+
|
31
38
|
it "should create new documents with or without id" do
|
32
39
|
subject = get_es_output("create", "id123")
|
33
40
|
subject.register
|
@@ -3,7 +3,11 @@ require_relative "../../../spec/es_spec_helper"
|
|
3
3
|
describe "outputs/elasticsearch_java" do
|
4
4
|
context "registration" do
|
5
5
|
it "should register" do
|
6
|
-
output = LogStash::Plugin.lookup("output", "elasticsearch_java").new(
|
6
|
+
output = LogStash::Plugin.lookup("output", "elasticsearch_java").new(
|
7
|
+
"protocol" => "transport",
|
8
|
+
"network_host" => get_local_host,
|
9
|
+
"manage_template" => "false"
|
10
|
+
)
|
7
11
|
# register will try to load jars and raise if it cannot find jars
|
8
12
|
expect {output.register}.to_not raise_error
|
9
13
|
end
|
@@ -15,6 +19,7 @@ describe "outputs/elasticsearch_java" do
|
|
15
19
|
require "logstash/outputs/elasticsearch_java"
|
16
20
|
settings = {
|
17
21
|
"protocol" => "transport",
|
22
|
+
"network_host" => get_local_host,
|
18
23
|
"node_name" => "mynode"
|
19
24
|
}
|
20
25
|
next LogStash::Outputs::ElasticSearchJava.new(settings)
|
@@ -27,6 +32,7 @@ describe "outputs/elasticsearch_java" do
|
|
27
32
|
:protocol => "transport",
|
28
33
|
:client_settings => {
|
29
34
|
"client.transport.sniff" => false,
|
35
|
+
"network.host" => get_local_host,
|
30
36
|
"node.name" => "mynode"
|
31
37
|
}
|
32
38
|
})
|
@@ -40,6 +46,7 @@ describe "outputs/elasticsearch_java" do
|
|
40
46
|
settings = {
|
41
47
|
"hosts" => "node01",
|
42
48
|
"protocol" => "transport",
|
49
|
+
"network_host" => get_local_host,
|
43
50
|
"sniffing" => true
|
44
51
|
}
|
45
52
|
next LogStash::Outputs::ElasticSearchJava.new(settings)
|
@@ -61,6 +68,7 @@ describe "outputs/elasticsearch_java" do
|
|
61
68
|
settings = {
|
62
69
|
"hosts" => "node01",
|
63
70
|
"protocol" => "transport",
|
71
|
+
"network_host" => get_local_host,
|
64
72
|
"sniffing" => false
|
65
73
|
}
|
66
74
|
next LogStash::Outputs::ElasticSearchJava.new(settings)
|
Binary file
|
data/vendor/jar-dependencies/runtime-jars/{elasticsearch-1.7.0.jar → elasticsearch-1.7.3.jar}
RENAMED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,19 +1,19 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-output-elasticsearch_java
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elastic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-10-22 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: '0'
|
19
19
|
name: concurrent-ruby
|
@@ -21,16 +21,16 @@ dependencies:
|
|
21
21
|
type: :runtime
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
29
29
|
requirements:
|
30
|
-
- -
|
30
|
+
- - '>='
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 1.0.
|
33
|
-
- -
|
32
|
+
version: 1.0.13
|
33
|
+
- - ~>
|
34
34
|
- !ruby/object:Gem::Version
|
35
35
|
version: '1.0'
|
36
36
|
name: elasticsearch
|
@@ -38,19 +38,19 @@ dependencies:
|
|
38
38
|
type: :runtime
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
40
40
|
requirements:
|
41
|
-
- -
|
41
|
+
- - '>='
|
42
42
|
- !ruby/object:Gem::Version
|
43
|
-
version: 1.0.
|
44
|
-
- -
|
43
|
+
version: 1.0.13
|
44
|
+
- - ~>
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '1.0'
|
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.0.17
|
53
|
-
- -
|
53
|
+
- - ~>
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: '0.0'
|
56
56
|
name: stud
|
@@ -58,16 +58,16 @@ dependencies:
|
|
58
58
|
type: :runtime
|
59
59
|
version_requirements: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
|
-
- -
|
61
|
+
- - '>='
|
62
62
|
- !ruby/object:Gem::Version
|
63
63
|
version: 0.0.17
|
64
|
-
- -
|
64
|
+
- - ~>
|
65
65
|
- !ruby/object:Gem::Version
|
66
66
|
version: '0.0'
|
67
67
|
- !ruby/object:Gem::Dependency
|
68
68
|
requirement: !ruby/object:Gem::Requirement
|
69
69
|
requirements:
|
70
|
-
- -
|
70
|
+
- - ~>
|
71
71
|
- !ruby/object:Gem::Version
|
72
72
|
version: '0.6'
|
73
73
|
name: cabin
|
@@ -75,33 +75,33 @@ dependencies:
|
|
75
75
|
type: :runtime
|
76
76
|
version_requirements: !ruby/object:Gem::Requirement
|
77
77
|
requirements:
|
78
|
-
- -
|
78
|
+
- - ~>
|
79
79
|
- !ruby/object:Gem::Version
|
80
80
|
version: '0.6'
|
81
81
|
- !ruby/object:Gem::Dependency
|
82
82
|
requirement: !ruby/object:Gem::Requirement
|
83
83
|
requirements:
|
84
|
-
- -
|
84
|
+
- - '>='
|
85
85
|
- !ruby/object:Gem::Version
|
86
|
-
version:
|
87
|
-
- -
|
86
|
+
version: 2.0.0.beta2
|
87
|
+
- - <
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
89
|
+
version: 3.0.0
|
90
90
|
name: logstash-core
|
91
91
|
prerelease: false
|
92
92
|
type: :runtime
|
93
93
|
version_requirements: !ruby/object:Gem::Requirement
|
94
94
|
requirements:
|
95
|
-
- -
|
95
|
+
- - '>='
|
96
96
|
- !ruby/object:Gem::Version
|
97
|
-
version:
|
98
|
-
- -
|
97
|
+
version: 2.0.0.beta2
|
98
|
+
- - <
|
99
99
|
- !ruby/object:Gem::Version
|
100
|
-
version:
|
100
|
+
version: 3.0.0
|
101
101
|
- !ruby/object:Gem::Dependency
|
102
102
|
requirement: !ruby/object:Gem::Requirement
|
103
103
|
requirements:
|
104
|
-
- -
|
104
|
+
- - ~>
|
105
105
|
- !ruby/object:Gem::Version
|
106
106
|
version: 0.0.42
|
107
107
|
name: ftw
|
@@ -109,13 +109,13 @@ dependencies:
|
|
109
109
|
type: :development
|
110
110
|
version_requirements: !ruby/object:Gem::Requirement
|
111
111
|
requirements:
|
112
|
-
- -
|
112
|
+
- - ~>
|
113
113
|
- !ruby/object:Gem::Version
|
114
114
|
version: 0.0.42
|
115
115
|
- !ruby/object:Gem::Dependency
|
116
116
|
requirement: !ruby/object:Gem::Requirement
|
117
117
|
requirements:
|
118
|
-
- -
|
118
|
+
- - '>='
|
119
119
|
- !ruby/object:Gem::Version
|
120
120
|
version: '0'
|
121
121
|
name: logstash-input-generator
|
@@ -123,13 +123,13 @@ dependencies:
|
|
123
123
|
type: :development
|
124
124
|
version_requirements: !ruby/object:Gem::Requirement
|
125
125
|
requirements:
|
126
|
-
- -
|
126
|
+
- - '>='
|
127
127
|
- !ruby/object:Gem::Version
|
128
128
|
version: '0'
|
129
129
|
- !ruby/object:Gem::Dependency
|
130
130
|
requirement: !ruby/object:Gem::Requirement
|
131
131
|
requirements:
|
132
|
-
- -
|
132
|
+
- - '>='
|
133
133
|
- !ruby/object:Gem::Version
|
134
134
|
version: '0'
|
135
135
|
name: logstash-devutils
|
@@ -137,13 +137,13 @@ dependencies:
|
|
137
137
|
type: :development
|
138
138
|
version_requirements: !ruby/object:Gem::Requirement
|
139
139
|
requirements:
|
140
|
-
- -
|
140
|
+
- - '>='
|
141
141
|
- !ruby/object:Gem::Version
|
142
142
|
version: '0'
|
143
143
|
- !ruby/object:Gem::Dependency
|
144
144
|
requirement: !ruby/object:Gem::Requirement
|
145
145
|
requirements:
|
146
|
-
- -
|
146
|
+
- - '>='
|
147
147
|
- !ruby/object:Gem::Version
|
148
148
|
version: '0'
|
149
149
|
name: longshoreman
|
@@ -151,7 +151,7 @@ dependencies:
|
|
151
151
|
type: :development
|
152
152
|
version_requirements: !ruby/object:Gem::Requirement
|
153
153
|
requirements:
|
154
|
-
- -
|
154
|
+
- - '>='
|
155
155
|
- !ruby/object:Gem::Version
|
156
156
|
version: '0'
|
157
157
|
description: Output events to elasticsearch using the java client
|
@@ -160,14 +160,12 @@ executables: []
|
|
160
160
|
extensions: []
|
161
161
|
extra_rdoc_files: []
|
162
162
|
files:
|
163
|
-
- ".gitignore"
|
164
163
|
- CHANGELOG.md
|
165
164
|
- CONTRIBUTORS
|
166
165
|
- Gemfile
|
167
166
|
- LICENSE
|
168
167
|
- NOTICE.TXT
|
169
168
|
- README.md
|
170
|
-
- Rakefile
|
171
169
|
- lib/logstash-output-elasticsearch_java_jars.rb
|
172
170
|
- lib/logstash/outputs/elasticsearch_java.rb
|
173
171
|
- lib/logstash/outputs/elasticsearch_java/elasticsearch-template.json
|
@@ -185,11 +183,17 @@ files:
|
|
185
183
|
- spec/unit/outputs/elasticsearch/protocol_spec.rb
|
186
184
|
- spec/unit/outputs/elasticsearch_spec.rb
|
187
185
|
- vendor/jar-dependencies/runtime-jars/antlr-runtime-3.5.jar
|
186
|
+
- vendor/jar-dependencies/runtime-jars/apache-log4j-extras-1.2.17.jar
|
188
187
|
- vendor/jar-dependencies/runtime-jars/asm-4.1.jar
|
189
188
|
- vendor/jar-dependencies/runtime-jars/asm-commons-4.1.jar
|
190
|
-
- vendor/jar-dependencies/runtime-jars/elasticsearch-1.7.
|
189
|
+
- vendor/jar-dependencies/runtime-jars/elasticsearch-1.7.3.jar
|
190
|
+
- vendor/jar-dependencies/runtime-jars/groovy-all-2.4.4.jar
|
191
|
+
- vendor/jar-dependencies/runtime-jars/jna-4.1.0.jar
|
192
|
+
- vendor/jar-dependencies/runtime-jars/jts-1.13.jar
|
193
|
+
- vendor/jar-dependencies/runtime-jars/log4j-1.2.17.jar
|
191
194
|
- vendor/jar-dependencies/runtime-jars/lucene-analyzers-common-4.10.4.jar
|
192
195
|
- vendor/jar-dependencies/runtime-jars/lucene-core-4.10.4.jar
|
196
|
+
- vendor/jar-dependencies/runtime-jars/lucene-expressions-4.10.4.jar
|
193
197
|
- vendor/jar-dependencies/runtime-jars/lucene-grouping-4.10.4.jar
|
194
198
|
- vendor/jar-dependencies/runtime-jars/lucene-highlighter-4.10.4.jar
|
195
199
|
- vendor/jar-dependencies/runtime-jars/lucene-join-4.10.4.jar
|
@@ -213,14 +217,14 @@ require_paths:
|
|
213
217
|
- lib
|
214
218
|
required_ruby_version: !ruby/object:Gem::Requirement
|
215
219
|
requirements:
|
216
|
-
- -
|
220
|
+
- - '>='
|
217
221
|
- !ruby/object:Gem::Version
|
218
222
|
version: '0'
|
219
223
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
220
224
|
requirements:
|
221
|
-
- -
|
225
|
+
- - '>='
|
222
226
|
- !ruby/object:Gem::Version
|
223
|
-
version:
|
227
|
+
version: '0'
|
224
228
|
requirements: []
|
225
229
|
rubyforge_project:
|
226
230
|
rubygems_version: 2.4.8
|
data/Rakefile
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
require "logstash/devutils/rake"
|