logstash-output-elasticsearch 7.3.0-java → 7.3.1-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/logstash/outputs/elasticsearch/common.rb +6 -1
- data/logstash-output-elasticsearch.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 84e98668e085b0b9f4514e8bf574f502f5e3084e
|
4
|
+
data.tar.gz: ce5720c504d1c225cf4deade46096f0eba7cff76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 17fed98200315e4c6182a91cda4ff0762a6dc11af70048cb037ed87ea48e62a1835b35e0ce170800e76b9174c4a0382024c41e22ca632a97cffedc1378bc90e9
|
7
|
+
data.tar.gz: 8433b4438c50c0d7ae0d52404f706917ae5ce581423a32f8abd32425340158798374e1c6ebd8c703fb36a9713a2131be07a67098a5e7f5bc75c5f11b8fa68c46
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
## 7.3.1
|
2
|
+
- Fix the backwards compatibility layer used for detecting DLQ capabilities in logstash core
|
3
|
+
|
1
4
|
## 7.3.0
|
2
5
|
- Log 429 errors as debug instead of error. These aren't actual errors and cause users undue concern.
|
3
6
|
This status code is triggered when ES wants LS to backoff, which it does correctly (exponentially)
|
@@ -17,7 +17,8 @@ module LogStash; module Outputs; class ElasticSearch;
|
|
17
17
|
def register
|
18
18
|
@stopping = Concurrent::AtomicBoolean.new(false)
|
19
19
|
# To support BWC, we check if DLQ exists in core (< 5.4). If it doesn't, we use nil to resort to previous behavior.
|
20
|
-
@dlq_writer =
|
20
|
+
@dlq_writer = supports_dlq? ? execution_context.dlq_writer : nil
|
21
|
+
|
21
22
|
setup_hosts # properly sets @hosts
|
22
23
|
build_client
|
23
24
|
install_template
|
@@ -284,5 +285,9 @@ module LogStash; module Outputs; class ElasticSearch;
|
|
284
285
|
retry unless @stopping.true?
|
285
286
|
end
|
286
287
|
end
|
288
|
+
|
289
|
+
def supports_dlq?
|
290
|
+
respond_to?(:execution_context) && execution_context.respond_to?(:dlq_writer)
|
291
|
+
end
|
287
292
|
end
|
288
293
|
end; end; end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'logstash-output-elasticsearch'
|
3
|
-
s.version = '7.3.
|
3
|
+
s.version = '7.3.1'
|
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.
|
4
|
+
version: 7.3.1
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Elastic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-04-
|
11
|
+
date: 2017-04-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|