fluent-plugin-elasticsearch 1.15.0 → 1.15.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.md +3 -0
- data/fluent-plugin-elasticsearch.gemspec +1 -1
- data/lib/fluent/plugin/elasticsearch_error_handler.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 00a9fd19dd2727f3b8923ba7ecab25944afdcc52bc1e5b3f12571f95626640d8
|
4
|
+
data.tar.gz: ff12458ed88da30d28a1256105c4c2b90e02706b30b691c63f6d257dcc12977c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6f158b0d213b1bea7efc8f7ca2c85cc07ffe92195692d2c8fe3b6a9ede345e02870033213894ccd1da8afc38df08535c92d7ef336ae0ef4ef1319e4ea9eef8b
|
7
|
+
data.tar.gz: 3f8b3b2537b3d72017f9ca85493c97997fd4770937f8bd158836b9de7e48a7053a03abf42264fae0a64d56a5600f3f24c9a1edd4d918cf0d71b71377d5895d76
|
data/History.md
CHANGED
@@ -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 = '1.15.
|
6
|
+
s.version = '1.15.1'
|
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}
|
@@ -62,6 +62,10 @@ class Fluent::ElasticsearchErrorHandler
|
|
62
62
|
stats.each_pair { |key, value| msg << "#{value} #{key}" }
|
63
63
|
@plugin.log.debug msg.join(', ')
|
64
64
|
end
|
65
|
+
if stats[:successes] + stats[:duplicates] == bulk_message_count
|
66
|
+
@plugin.log.debug("retry succeeded - all #{bulk_message_count} records were successfully sent")
|
67
|
+
return
|
68
|
+
end
|
65
69
|
stats.each_key do |key|
|
66
70
|
case key
|
67
71
|
when 'out_of_memory_error'
|
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: 1.15.
|
4
|
+
version: 1.15.1
|
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-04-
|
12
|
+
date: 2018-04-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: fluentd
|