fluent-plugin-elasticsearch 2.9.0 → 2.9.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: 68bc9bdc4c7c5e52553aafacc5b7018e1cc7f5b01e4f5bcacb112443787b4ced
|
4
|
+
data.tar.gz: 9bd3383b8b79e480f86753827c88fc127767357e02729dec6e7d1b8a676fd0de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44987ff76928eb5e78607820ef84ad4a9ea5dc8d8c8043afff8506919ac87cc4cf6643c9a3ff875d412c3a82012bcbef32dda27fcfe61d4a87bb33e8de63d9dc
|
7
|
+
data.tar.gz: 20169754c661e2de4a938d208c34e10adbde571790082a28c2c7f76996c5c0a5db5b74edcf1642a352f2a0196334706e575bb2b9ec46e8dd55c5ff1d695a5460
|
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 = '2.9.
|
6
|
+
s.version = '2.9.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::Plugin::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: 2.9.
|
4
|
+
version: 2.9.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-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: fluentd
|