logstash-output-elasticsearch 0.2.6-java → 0.2.7-java

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 31ed69279894d02fba4168951e252aa9d8af797f
4
- data.tar.gz: 6065467ca2d317c2c167c1adc78a26bde91f2037
3
+ metadata.gz: 3f1be8f824568cc3854051fe53682413cdcf9fd4
4
+ data.tar.gz: 292fccfa2f2bce0dd60fd6b8218ad5e296667272
5
5
  SHA512:
6
- metadata.gz: 0033f4b200e43b671ad0504aacd373c41e9886770b4bcd6e152531fb00eb791e882fce39086f33f26b2c1805f400e9fd3142f037ff9e6461a603dcf125837a2d
7
- data.tar.gz: 5f5d34794aa9e01a438a0e6d473373eea6210927eeba57904aee1be726ccaf65fc19818c3ada8490e60413cd5f62bbb4c8233778708c86a3ad063e136bef5824
6
+ metadata.gz: c48395f88ebf9f24563f62ec72146015a91c55244b0c963c063ebc8717fa7beedd7cd4d56486245a57de55e68d8a5cd785a2d30370768c8eaa75cc0c7911a0a2
7
+ data.tar.gz: 507f08e66490334416bfc6f64bb5364cf0dd1126ebf7496ab45f98cd750850cd86c858a2a00d4c57951c97132975d0c5a202576e1f48e55febe39185a7b49bfd
@@ -65,12 +65,13 @@ module LogStash::Outputs::Elasticsearch
65
65
 
66
66
  client_options = {
67
67
  :host => [uri],
68
- :socket_timeout => 0, # do not timeout socket reads
69
- :request_timeout => 0, # and requests
70
- :transport_options => options[:client_settings]
68
+ :ssl => options[:client_settings][:ssl],
69
+ :transport_options => { # manticore settings so we
70
+ :socket_timeout => 0, # do not timeout socket reads
71
+ :request_timeout => 0 # and requests
72
+ },
73
+ :transport_class => ::Elasticsearch::Transport::Transport::HTTP::Manticore
71
74
  }
72
- client_options[:transport_class] = ::Elasticsearch::Transport::Transport::HTTP::Manticore
73
- client_options[:ssl] = client_options[:transport_options].delete(:ssl)
74
75
 
75
76
  if options[:user] && options[:password] then
76
77
  token = Base64.strict_encode64(options[:user] + ":" + options[:password])
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-output-elasticsearch'
4
- s.version = '0.2.6'
4
+ s.version = '0.2.7'
5
5
  s.licenses = ['apache-2.0']
6
6
  s.summary = "Logstash Output to Elasticsearch"
7
7
  s.description = "Output events to elasticsearch"
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
21
21
 
22
22
  # Gem dependencies
23
23
  s.add_runtime_dependency 'concurrent-ruby'
24
- s.add_runtime_dependency 'elasticsearch', ['>= 1.0.9', '~> 1.0']
24
+ s.add_runtime_dependency 'elasticsearch', ['>= 1.0.10', '~> 1.0']
25
25
  s.add_runtime_dependency 'stud', ['>= 0.0.17', '~> 0.0']
26
26
  s.add_runtime_dependency 'cabin', ['~> 0.6']
27
27
  s.add_runtime_dependency "logstash-core", '>= 1.4.0', '< 2.0.0'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-elasticsearch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: java
6
6
  authors:
7
7
  - Elastic
@@ -30,7 +30,7 @@ dependencies:
30
30
  requirements:
31
31
  - - '>='
32
32
  - !ruby/object:Gem::Version
33
- version: 1.0.9
33
+ version: 1.0.10
34
34
  - - ~>
35
35
  - !ruby/object:Gem::Version
36
36
  version: '1.0'
@@ -38,7 +38,7 @@ dependencies:
38
38
  requirements:
39
39
  - - '>='
40
40
  - !ruby/object:Gem::Version
41
- version: 1.0.9
41
+ version: 1.0.10
42
42
  - - ~>
43
43
  - !ruby/object:Gem::Version
44
44
  version: '1.0'