logstash-output-elasticsearch 10.4.1-java → 10.4.2-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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f27a5838e3f5abb53fb561802f1fa6f88e25b43f252951f6a2e8a1a8402d11a
|
4
|
+
data.tar.gz: d77d44f5f208793751f7e026a47806523158f490fd0872f739aea9102acae7a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a64c0b9981fb551cba3a566a6c519d99579b5827128c3320ea77cd9c47932a54f0bcfcba9f94ca57c8570e428f8efde54f1e94d5351ec21ce91a95bf70999bce
|
7
|
+
data.tar.gz: dd082458727f7b7bfaa8273606e12b131efe6fbd035f25f881d118e59e15fa0d556db1f4675baede6955827b89a1f127d05e16a86d11bf2f97b39861a68df945
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
## 10.4.2
|
2
|
+
- Changed cloud id, credential and host setup to happen in `build_client` [#939](https://github.com/logstash-plugins/logstash-output-elasticsearch/pull/939)
|
3
|
+
|
1
4
|
## 10.4.1
|
2
5
|
- [DOC] Added note about `_type` setting change from `doc` to `_doc` [#884](https://github.com/logstash-plugins/logstash-output-elasticsearch/pull/884)
|
3
6
|
|
@@ -255,6 +255,10 @@ class LogStash::Outputs::ElasticSearch < LogStash::Outputs::Base
|
|
255
255
|
end
|
256
256
|
|
257
257
|
def build_client
|
258
|
+
fill_user_password_from_cloud_auth
|
259
|
+
fill_hosts_from_cloud_id
|
260
|
+
setup_hosts
|
261
|
+
|
258
262
|
params["metric"] = metric
|
259
263
|
if @proxy.eql?('')
|
260
264
|
@logger.warn "Supplied proxy setting (proxy => '') has no effect"
|
@@ -21,9 +21,6 @@ module LogStash; module Outputs; class ElasticSearch;
|
|
21
21
|
# To support BWC, we check if DLQ exists in core (< 5.4). If it doesn't, we use nil to resort to previous behavior.
|
22
22
|
@dlq_writer = dlq_enabled? ? execution_context.dlq_writer : nil
|
23
23
|
|
24
|
-
fill_hosts_from_cloud_id
|
25
|
-
fill_user_password_from_cloud_auth
|
26
|
-
setup_hosts # properly sets @hosts
|
27
24
|
build_client
|
28
25
|
setup_after_successful_connection
|
29
26
|
check_action_validity
|
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: 10.4.
|
4
|
+
version: 10.4.2
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Elastic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-04-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|