logstash-output-elasticsearch 5.3.1-java → 5.3.2-java

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
  SHA1:
3
- metadata.gz: 08841ba8ea09e328f1305a41a8b87d08480854c5
4
- data.tar.gz: 1c0451074df414c4110099ec45d905f2829b91b5
3
+ metadata.gz: dcf12a3d7775459fee8072e9ed5eaf77f9db915c
4
+ data.tar.gz: 45c8df302d9e94e23e635307bfccf27ef601a2c9
5
5
  SHA512:
6
- metadata.gz: 82cfb1901425e89698f36f58954944b89b21c26ce1a130da195106c13c6c21a2c18ac98f17e70fc384fe6b72065d30559e7af52d706f1179ca3518ce07a95ad0
7
- data.tar.gz: a134535b5762556c22a23d84afcdccb36bcc1030dd1f29e21fcbce3f2522585e14129822d650c8e439de55fe7c9c3ddd9ae60342ef9c8303d292cedd85807df1
6
+ metadata.gz: 143d8ea73ebe28155500c47fd1f583b3535e0283c4b9b92ba81a318c7bd9caceda4a872d7c46ce29122e366e5406cf355cc4dd85bd46d9b38a43c95aae5f87c6
7
+ data.tar.gz: b39d159adcdeb10dc2d21ee62490c16b199015f429028c7cf7b3223063cd3a677903f3d267401d8503b0985788c5d8ddfe8fb985102427dfd39e77ed8bbae6e2
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 5.3.2
2
+ - Use byte size, not char count for bulk operation size checks
3
+
1
4
  ## 5.3.1
2
5
  - depends on Adressable ~> 2.3.0 to satisfy development dependency of the core ([logstash/#6204](https://github.com/elastic/logstash/issues/6204))
3
6
 
@@ -75,7 +75,7 @@ module LogStash; module Outputs; class ElasticSearch;
75
75
  LogStash::Json.dump(action)
76
76
  as_json << "\n"
77
77
 
78
- if (bulk_body.size + as_json.size) > TARGET_BULK_BYTES
78
+ if (bulk_body.bytesize + as_json.bytesize) > TARGET_BULK_BYTES
79
79
  bulk_responses << bulk_send(bulk_body)
80
80
  bulk_body = as_json
81
81
  else
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-output-elasticsearch'
4
- s.version = '5.3.1'
4
+ s.version = '5.3.2'
5
5
  s.licenses = ['apache-2.0']
6
6
  s.summary = "Logstash Output to Elasticsearch"
7
7
  s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"
@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
23
23
  s.add_runtime_dependency 'cabin', ['~> 0.6']
24
24
  s.add_runtime_dependency "logstash-core-plugin-api", ">= 1.60", "<= 2.99"
25
25
  s.add_development_dependency 'ftw', '~> 0.0.42'
26
- s.add_development_dependency 'addressable', "~> 2.3.0" # used by FTW. V 2.5.0 is ruby 2.0 only.
26
+ s.add_development_dependency 'addressable', "~> 2.3.0" # used by FTW. V 2.5.0 is ruby 2.0 only.
27
27
  s.add_development_dependency 'logstash-codec-plain'
28
28
 
29
29
  if RUBY_PLATFORM == 'java'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-elasticsearch
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.3.1
4
+ version: 5.3.2
5
5
  platform: java
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-07 00:00:00.000000000 Z
11
+ date: 2016-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement