logstash-output-elasticsearch 7.3.7-java → 7.3.8-java

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
  SHA1:
3
- metadata.gz: 9f7192d92b49c809e5e75e71954febf19fe49d8e
4
- data.tar.gz: d0bfa079c1a5658b1e5bd56ce99fd7d77177782c
3
+ metadata.gz: 00d19efacd7374a6f3d095ac5a8b5d76d3357ac0
4
+ data.tar.gz: 08e21adfff2a195a0d0c6cbab1b4051ee4df39e5
5
5
  SHA512:
6
- metadata.gz: 8277f8569152e3e874c40631d03b95dbe141368f42faf71a67d4e0b5f35fdf94b58d12b1b6c2fc9cb2a197c00c567820f26539c3b4bbefe2c8a9b3e58b490ddf
7
- data.tar.gz: 34c6ae1d82f9284d90c0daf906500f215b3707d65c85e1a6fdb1398e6929f536ccfc000c94aa0772f4f1055236fcd77e12f204168d015e7e8cb335fb642bc24b
6
+ metadata.gz: df592abc3005cf4e81c5869ecf2705afd2ee4aefd4fb95330c1ff876677ca4862f7032c99878a8f7ecd2dedf3cfbdbf7b767e26083ac271895e502f63af0d464
7
+ data.tar.gz: 4f42e2dc5518590c4765a9d1c4f7d1a63870ca8b371bdaca7e2a7e98e9d7e9372a087be189316115a0b898723fad38bbfdb1a1caacfd66226437416bbdf697b9
data/CHANGELOG.md CHANGED
@@ -1,7 +1,13 @@
1
+ ## 7.3.8
2
+ - Fix bug where java class names were logged rather than actual host names in various scenarios
3
+
1
4
  ## 7.3.7
2
5
  - Properly support characters needing escaping in users / passwords across multiple SafeURI implementions (pre/post LS 5.5.1)
3
6
  - Logstash 5.5.0 does NOT work with this release as it has a broken SafeURI implementation
4
7
 
8
+ ## 7.3.6
9
+ - Bump for doc gen
10
+
5
11
  ## 7.3.5
6
12
  - Fix incorrect variable reference when DLQing events
7
13
 
@@ -29,7 +29,7 @@ module LogStash; module Outputs; class ElasticSearch;
29
29
  install_template
30
30
  check_action_validity
31
31
 
32
- @logger.info("New Elasticsearch output", :class => self.class.name, :hosts => @hosts.map(&:sanitized))
32
+ @logger.info("New Elasticsearch output", :class => self.class.name, :hosts => @hosts.map(&:sanitized).map(&:to_s))
33
33
  end
34
34
 
35
35
  # Receive an array of events and immediately attempt to index them (no buffering)
@@ -251,7 +251,7 @@ module LogStash; module Outputs; class ElasticSearch;
251
251
  retry unless @stopping.true?
252
252
  rescue ::LogStash::Outputs::ElasticSearch::HttpClient::Pool::BadResponseCodeError => e
253
253
  if RETRYABLE_CODES.include?(e.response_code)
254
- log_hash = {:code => e.response_code, :url => e.url.sanitized}
254
+ log_hash = {:code => e.response_code, :url => e.url.sanitized.to_s}
255
255
  log_hash[:body] = e.body if @logger.debug? # Generally this is too verbose
256
256
  message = "Encountered a retryable error. Will Retry with exponential backoff "
257
257
 
@@ -236,10 +236,10 @@ module LogStash; module Outputs; class ElasticSearch; class HttpClient;
236
236
  :healthcheck_url => url, :path => @healthcheck_path)
237
237
  response = perform_request_to_url(url, :head, @healthcheck_path)
238
238
  # If no exception was raised it must have succeeded!
239
- logger.warn("Restored connection to ES instance", :url => url.sanitized)
239
+ logger.warn("Restored connection to ES instance", :url => url.sanitized.to_s)
240
240
  @state_mutex.synchronize { meta[:state] = :alive }
241
241
  rescue HostUnreachableError, BadResponseCodeError => e
242
- logger.warn("Attempted to resurrect connection to dead ES instance, but got an error.", url: url.sanitized, error_type: e.class, error: e.message)
242
+ logger.warn("Attempted to resurrect connection to dead ES instance, but got an error.", url: url.sanitized.to_s, error_type: e.class, error: e.message)
243
243
  end
244
244
  end
245
245
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-output-elasticsearch'
3
- s.version = '7.3.7'
3
+ s.version = '7.3.8'
4
4
  s.licenses = ['apache-2.0']
5
5
  s.summary = "Logstash Output to Elasticsearch"
6
6
  s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-elasticsearch
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.3.7
4
+ version: 7.3.8
5
5
  platform: java
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-18 00:00:00.000000000 Z
11
+ date: 2017-07-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement