fluent-plugin-elasticsearch 1.16.1 → 1.16.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/History.md +3 -0
- data/fluent-plugin-elasticsearch.gemspec +1 -1
- data/lib/fluent/plugin/out_elasticsearch.rb +5 -1
- 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: c3921e6bfaf0cf8f2560814962f2476acd7bfa408cf1444ab33e799e445205b3
|
4
|
+
data.tar.gz: 545e05cb56f2d13b531d8b2bf5dc4b9c59f3f5aee36c20944e1334c4e17ff228
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ab5a3c10bf1fce8e71776ed0b78019fb3e3ab7261493f212c1775e685490aead3e8f12b319d73fe10c3a889ec2f52d8b01316ee0b2bfc8b5df70c489afb1442
|
7
|
+
data.tar.gz: 6ee96c25dc743588dd071098e680613f12d7004198fb58893823fbd897227bcd6c94c38af9ab0d9c2880ff0ac32d17775e0b99a4b76d0fe6214a526622d5fb1f
|
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.16.
|
6
|
+
s.version = '1.16.2'
|
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}
|
@@ -423,10 +423,14 @@ class Fluent::ElasticsearchOutput < Fluent::ObjectBufferedOutput
|
|
423
423
|
def send_bulk(data, tag, chunk, bulk_message_count)
|
424
424
|
retries = 0
|
425
425
|
begin
|
426
|
+
|
427
|
+
log.on_trace { log.trace "bulk request: #{data}" }
|
426
428
|
response = client.bulk body: data
|
429
|
+
log.on_trace { log.trace "bulk response: #{response}" }
|
430
|
+
|
427
431
|
if response['errors']
|
428
432
|
error = Fluent::ElasticsearchErrorHandler.new(self)
|
429
|
-
error.handle_error(response, tag, chunk, bulk_message_count)
|
433
|
+
error.handle_error(response, tag, chunk, bulk_message_count)
|
430
434
|
end
|
431
435
|
rescue RetryStreamError => e
|
432
436
|
emit_tag = @retry_tag ? @retry_tag : tag
|
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.16.
|
4
|
+
version: 1.16.2
|
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-
|
12
|
+
date: 2018-06-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: fluentd
|