fluent-plugin-elasticsearch 2.8.5 → 2.8.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bfb94e3acf5abed14167d45d69f824841fbd6b225ffa1f3f0d14c4a4a5d0f6df
4
- data.tar.gz: acc462fba9cd5684598c0ec211a244ed971594862d16d56c29f918be9ec1c5d8
3
+ metadata.gz: 282a2bfc80d90378c04ec44f035aeb941f2c98ed22b3a2f1b1add371ecf20aab
4
+ data.tar.gz: 6853f9d7ea05f2bc553636d597eb00d8074dbbac78d62ffca2042e35fedaefd5
5
5
  SHA512:
6
- metadata.gz: d8cf48e798b683eb8edc6bcf1d2052861bfa62a4964e5a96c3afa31eb54eaededc659a497da1038398e1761bdefcf7fc83a8ac0bc93ce82b4c3f79d9518417be
7
- data.tar.gz: b8fc6422a1e2f48ac5628b811b0d8923cac12107254dc5b9618d6f0b86aa6aede075c74cb5fb7cc40e53b76bec6a4c4196bfdc19bc63da547b6ddf9d2a0e18ce
6
+ metadata.gz: 195428011038d2a6249704c76b16bc0eb361b9f648b6c7e40cdde16ad7dee664e926e9ac71e18f840462ec5cd146a8abb039ec9ca77ad35bcf18fdff266d37dc
7
+ data.tar.gz: 2fb58796f3f38972b43347e9d686251722943882de537b7a206d2bba9cabc1052fc53009486e4d6a40ae19c30217dae5d2d41aaf2cdcc2226a072c6c61841850
data/.travis.yml CHANGED
@@ -3,9 +3,9 @@ language: ruby
3
3
  rvm:
4
4
  - 2.1
5
5
  - 2.2
6
- - 2.3.6
7
- - 2.4.3
8
- - 2.5.0
6
+ - 2.3
7
+ - 2.4.4
8
+ - 2.5.1
9
9
 
10
10
  gemfile:
11
11
  - Gemfile
data/History.md CHANGED
@@ -2,6 +2,9 @@
2
2
 
3
3
  ### [Unreleased]
4
4
 
5
+ ### 2.8.6
6
+ - auth: Fix missing auth tokens after reloading connections (#394)
7
+
5
8
  ### 2.8.5
6
9
  - Add deprecated option into content_type parameter (#391)
7
10
 
data/README.md CHANGED
@@ -106,19 +106,13 @@ This plugin creates Elasticsearch indices by merely writing to them. Consider us
106
106
 
107
107
  ```
108
108
  hosts host1:port1,host2:port2,host3:port3
109
- # or
110
- hosts https://customhost.com:443/path,https://username:password@host-failover.com:443
111
109
  ```
112
110
 
113
111
  You can specify multiple Elasticsearch hosts with separator ",".
114
112
 
115
113
  If you specify multiple hosts, this plugin will load balance updates to Elasticsearch. This is an [elasticsearch-ruby](https://github.com/elasticsearch/elasticsearch-ruby) feature, the default strategy is round-robin.
116
114
 
117
- And this plugin will escape required URL encoded characters within `%{}` placeholders.
118
-
119
- ```
120
- hosts https://%{j+hn}:%{passw@rd}@host1:443/elastic/,http://host2
121
- ```
115
+ **Note:** Up until v2.8.5, it was allowed to embed the username/password in the URL. However, this syntax is deprecated as of v2.8.6 because it was found to cause serious connection problems (See #394). Please migrate your settings to use the `user` and `password` field (described below) instead.
122
116
 
123
117
  ### user, password, path, scheme, ssl_verify
124
118
 
@@ -131,7 +125,7 @@ path /elastic_search/
131
125
  scheme https
132
126
  ```
133
127
 
134
- You can specify user and password for HTTP basic auth. If used in conjunction with a hosts list, then these options will be used by default i.e. if you do not provide any of these options within the hosts listed.
128
+ You can specify user and password for HTTP Basic authentication.
135
129
 
136
130
  And this plugin will escape required URL encoded characters within `%{}` placeholders.
137
131
 
data/appveyor.yml CHANGED
@@ -13,21 +13,20 @@ test_script:
13
13
  # https://www.appveyor.com/docs/installed-software/#ruby
14
14
  environment:
15
15
  matrix:
16
+ - ruby_version: "25-x64"
17
+ devkit: C:\Ruby23-x64\DevKit
18
+ - ruby_version: "25"
19
+ devkit: C:\Ruby23\DevKit
16
20
  - ruby_version: "24-x64"
17
21
  devkit: C:\Ruby23-x64\DevKit
18
22
  - ruby_version: "24"
19
23
  devkit: C:\Ruby23\DevKit
20
24
  - ruby_version: "23-x64"
21
25
  devkit: C:\Ruby23-x64\DevKit
22
- - ruby_version: "23"
23
- devkit: C:\Ruby23\DevKit
24
26
  - ruby_version: "22-x64"
25
27
  devkit: C:\Ruby23-x64\DevKit
26
28
  - ruby_version: "21-x64"
27
29
  devkit: C:\Ruby23-x64\DevKit
28
- - ruby_version: "22"
29
- devkit: C:\Ruby23\DevKit
30
- WIN_RAPID: true
31
30
  - ruby_version: "21"
32
31
  devkit: C:\Ruby23\DevKit
33
32
  WIN_RAPID: true
@@ -3,7 +3,7 @@ $:.push File.expand_path('../lib', __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = 'fluent-plugin-elasticsearch'
6
- s.version = '2.8.5'
6
+ s.version = '2.8.6'
7
7
  s.authors = ['diogo', 'pitr']
8
8
  s.email = ['pitr.vern@gmail.com', 'me@diogoterror.com']
9
9
  s.description = %q{Elasticsearch output plugin for Fluent event collector}
@@ -233,6 +233,10 @@ EOC
233
233
  headers: { 'Content-Type' => @content_type.to_s },
234
234
  request: { timeout: @request_timeout },
235
235
  ssl: { verify: @ssl_verify, ca_file: @ca_file, version: @ssl_version }
236
+ },
237
+ http: {
238
+ user: @user,
239
+ password: @password
236
240
  }
237
241
  }), &adapter_conf)
238
242
  es = Elasticsearch::Client.new transport: transport
@@ -55,6 +55,10 @@ module Fluent::Plugin
55
55
  headers: { 'Content-Type' => @content_type.to_s },
56
56
  request: { timeout: @request_timeout },
57
57
  ssl: { verify: @ssl_verify, ca_file: @ca_file, version: @ssl_version }
58
+ },
59
+ http: {
60
+ user: @user,
61
+ password: @password
58
62
  }
59
63
  }), &adapter_conf)
60
64
  es = Elasticsearch::Client.new transport: transport
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-elasticsearch
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.8.5
4
+ version: 2.8.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - diogo
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-03-28 00:00:00.000000000 Z
12
+ date: 2018-04-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fluentd
@@ -175,7 +175,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
175
175
  version: '0'
176
176
  requirements: []
177
177
  rubyforge_project:
178
- rubygems_version: 2.7.3
178
+ rubygems_version: 2.7.6
179
179
  signing_key:
180
180
  specification_version: 4
181
181
  summary: Elasticsearch output plugin for Fluent event collector