fluent-plugin-elasticsearch 2.10.4 → 2.10.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 806f3376d37909e5f98ce11b313132b3d73ac940cea027ea7fcb0fc0df767fcc
4
- data.tar.gz: 3b70fe3714adb5ad37e6053676fc16ce9791fd6ab102cc069e8780fc774c4bed
3
+ metadata.gz: 2f9dd556dc8e7f51f181c44a3bcff4496bca22ee330c7a374654da3cc2772773
4
+ data.tar.gz: 76cc551a4dd10d6f4d5f215d4a736db3b1f9cb9ab7a7999166a9a4345a55c209
5
5
  SHA512:
6
- metadata.gz: df7e05f299e5369c3c4c45ffc616ecaa13077ca1d340041c6bdd9a760c5fd5e49152951388b8f5369375a79b6d01496ce99b03e72a87b7ae276da365fe56cf6a
7
- data.tar.gz: 21a30f40d33dc13c0aa4b92a4d6d5015e2d1663f97d55ac654ba55642851c5100cc018c367e3f910c59a587e967f334e9f9359789d7681891514ebe6f655f35b
6
+ metadata.gz: 3221ab803aa9c873e9f9c8631a87899d8376adc8fa1a90627d3856eb929b0a304fa8850b0dd58d20e23b4a7020512ea4e16b9311f017199ef3e493b4fee9d4ab
7
+ data.tar.gz: 7e0e90b03e16d63b74e1936f33f1d6586dcab00b78c68b47342ea6044e96609f2129e38629821d34a06241d7caafedf6e47825601ff39c2410140e8e1696ee4d
data/History.md CHANGED
@@ -2,6 +2,9 @@
2
2
 
3
3
  ### [Unreleased]
4
4
 
5
+ ### 2.10.5
6
+ - Uplift Merge pull request #435 from jcantrill/add_trace_logging (#436)
7
+
5
8
  ### 2.10.4
6
9
  - Use Fluent::UnrecoverableError as unrecoverable error class ancestors (#433)
7
10
  - Add parameter validation for retrying template installation (#429)
@@ -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.10.4'
6
+ s.version = '2.10.5'
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}
@@ -512,7 +512,11 @@ EOC
512
512
  def send_bulk(data, tag, chunk, bulk_message_count, extracted_values)
513
513
  retries = 0
514
514
  begin
515
+
516
+ log.on_trace { log.trace "bulk request: #{data}" }
515
517
  response = client.bulk body: data
518
+ log.on_trace { log.trace "bulk response: #{response}" }
519
+
516
520
  if response['errors']
517
521
  error = Fluent::Plugin::ElasticsearchErrorHandler.new(self)
518
522
  error.handle_error(response, tag, chunk, bulk_message_count, extracted_values)
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.10.4
4
+ version: 2.10.5
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-06-14 00:00:00.000000000 Z
12
+ date: 2018-06-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fluentd