fluent-plugin-input-opensearch 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/fluent-plugin-opensearch.gemspec +1 -1
- data/lib/fluent/plugin/in_opensearch.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e2f38e5f0ec3a94221d71a77ee5ae2fe73a15a2fce9e12ce5088cf6964ac501
|
4
|
+
data.tar.gz: 7fa98e31cb00081adb6aa4a495410e6ebee0df76fd96b5181b8d1c3c48adfb96
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '068a547a5e8bf505f038d6e3649ef37460efc6d63568e1c813465ae22790607fe1fdf3d2bb8e1f5176d8f9742142a58846f9925ffa9fea0966cfdbd6fa10992b'
|
7
|
+
data.tar.gz: 5bdf2ed9779e2bdac4c9f450c78c27e4a0a42b903978f264c89ac68c2a3d7f166a1be745eb90f4507aa55abbff9d6733686ede16918ef1457385d644b19c7caa
|
@@ -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-input-opensearch'
|
6
|
-
s.version = '1.2.
|
6
|
+
s.version = '1.2.2'
|
7
7
|
s.authors = ['imcotop']
|
8
8
|
s.email = ['imcotop@icloud.com']
|
9
9
|
s.description = %q{Opensearch output plugin for Fluent event collector}
|
@@ -366,7 +366,7 @@ module Fluent::Plugin
|
|
366
366
|
run_slice(slice_id)
|
367
367
|
end
|
368
368
|
end
|
369
|
-
rescue
|
369
|
+
rescue => error
|
370
370
|
update_retry_state(error)
|
371
371
|
retry
|
372
372
|
end
|
@@ -377,7 +377,7 @@ module Fluent::Plugin
|
|
377
377
|
result = client.search(@options.merge(:body => Yajl.dump(slice_query) ))
|
378
378
|
es = Fluent::MultiEventStream.new
|
379
379
|
|
380
|
-
result["hits"]["hits"].each {|hit| process_events(hit, es)}
|
380
|
+
result["hits"]["hits"].each {|hit| process_events(hit, es)}
|
381
381
|
has_hits = result['hits']['hits'].any?
|
382
382
|
scroll_id = result['_scroll_id']
|
383
383
|
|