fluent-plugin-elasticsearch 3.4.1 → 3.4.2

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: 0b1ff650a7dd92dbe450e0e4bc6ee1c8b4db2e104d3b50b56aee885e1e06fa4a
4
- data.tar.gz: 653c6a1d031fc876a43774336cd2eb5388c4c540f88874fd281640279e003e39
3
+ metadata.gz: 3882c4cbe493e8dcbba56ddd5af9bd1ecdc85bea95e19bbe4f4fd302b5cc5edf
4
+ data.tar.gz: a184602aae1d5665879cb2cbc01910068af76f4579af630a7b466a9d495c62ed
5
5
  SHA512:
6
- metadata.gz: 1ba9e19a4c955eb8f3b85f0d07523c8ad2d21a041de16aaaa916e6761d5d653077c607e69374c1ea61e87eb804a9322ed76371adbd8b90fbd0f0f8c5d0b91b28
7
- data.tar.gz: 449d5f8db19a1e01cc77af21384d003a4d59d33c204de61b2d6dfb3a9476c0721d20c22780fd26428b01cc411738ca4860b2d3cb47a73cc4a404d3d9c5c710d0
6
+ metadata.gz: a6e9fb90f39b99907ec3df6dc1770d9eaa449cbee292669d1de7b13d2a38488683c4820a755553410c81fbd6e665ea573750d790b8bf7ad91304213baddc6b49
7
+ data.tar.gz: f047c3a93f5bc9c3609b6c6c2505730a11c7b5d7f4410fe0e7f950a3dc5e995336f541023997a7a3dd28149872f3af457c796cf37c438e0c93f72bcb8eed11d6
data/History.md CHANGED
@@ -2,6 +2,9 @@
2
2
 
3
3
  ### [Unreleased]
4
4
 
5
+ ### 3.4.2
6
+ - Comparing DEFAULT_TYPE_NAME_ES_7x to target_type instead of type_name (#573)
7
+
5
8
  ### 3.4.1
6
9
  - Handle non-String value on parse_time (#570)
7
10
 
data/README.md CHANGED
@@ -161,6 +161,7 @@ hosts host1:port1,host2:port2,host3:port3
161
161
  You can specify multiple Elasticsearch hosts with separator ",".
162
162
 
163
163
  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.
164
+
164
165
  **Note:** If you will use scheme https, do not include "https://" in your hosts ie. host "https://domain", this will cause ES cluster to be unreachable and you will receive an error "Can not reach Elasticsearch cluster"
165
166
 
166
167
  **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.
@@ -309,7 +310,7 @@ By default, the records inserted into index `logstash-YYMMDD` with UTC (Coordina
309
310
 
310
311
  Tell this plugin to find the index name to write to in the record under this key in preference to other mechanisms. Key can be specified as path to nested record using dot ('.') as a separator.
311
312
 
312
- If it is present in the record (and the value is non falsey) the value will be used as the index name to write to and then removed from the record before output; if it is not found then it will use logstash_format or index_name settings as configured.
313
+ If it is present in the record (and the value is non falsy) the value will be used as the index name to write to and then removed from the record before output; if it is not found then it will use logstash_format or index_name settings as configured.
313
314
 
314
315
  Suppose you have the following settings
315
316
 
@@ -403,7 +404,7 @@ If [customize_template](#customize_template) is set, then this parameter will be
403
404
 
404
405
  ### deflector_alias
405
406
 
406
- Specify the deflector alias which would be assigned to the rollover index created. This is useful in case of using the Elasticsearch rollover API
407
+ Specify the deflector alias which would be assigned to the rollover index created. This is useful in case of using the Elasticsearch rollover API
407
408
  ```
408
409
  deflector_alias test-current
409
410
  ```
@@ -1335,7 +1336,7 @@ In more detail, please refer to [the official plugin management document](https:
1335
1336
 
1336
1337
  fluent-plugin-elasticsearch reloads connection after 10000 requests. (Not correspond to events counts because ES plugin uses bulk API.)
1337
1338
 
1338
- This functionality which is originated from elasticsaearch-ruby gem is enabled by default.
1339
+ This functionality which is originated from elasticsearch-ruby gem is enabled by default.
1339
1340
 
1340
1341
  Sometimes this reloading functionality bothers users to send events with ES plugin.
1341
1342
 
@@ -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 = '3.4.1'
6
+ s.version = '3.4.2'
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}
@@ -667,7 +667,7 @@ EOC
667
667
  target_type = '_doc'.freeze
668
668
  end
669
669
  else
670
- if @last_seen_major_version >= 7 && target_type != DEFAULT_TYPE_NAME_ES_7x
670
+ if @last_seen_major_version >= 7 && @type_name != DEFAULT_TYPE_NAME_ES_7x
671
671
  log.warn "Detected ES 7.x or above: `_doc` will be used as the document `_type`."
672
672
  target_type = '_doc'.freeze
673
673
  else
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: 3.4.1
4
+ version: 3.4.2
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: 2019-04-04 00:00:00.000000000 Z
12
+ date: 2019-04-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fluentd
@@ -179,7 +179,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
179
179
  - !ruby/object:Gem::Version
180
180
  version: '0'
181
181
  requirements: []
182
- rubygems_version: 3.0.1
182
+ rubygems_version: 3.0.3
183
183
  signing_key:
184
184
  specification_version: 4
185
185
  summary: Elasticsearch output plugin for Fluent event collector