logstash-output-elasticsearch 7.2.0-java → 7.2.1-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: 8bd235749fa8bfe679c896c6b5e82630b044e354
4
- data.tar.gz: 376a1262982ce57c209ab671dd4532d78da68437
3
+ metadata.gz: c61a5109cb34714ff3ea23d19ed020ff721df8ac
4
+ data.tar.gz: 35497b2b5c5bf79d69ed6901d9c8530f8b3a1eb1
5
5
  SHA512:
6
- metadata.gz: 9f7528c39ce9314e4bcf62a2656e8a850e7000a376fc7aa0f97775841eb6d26c19df13f6aab027aaa9dadfa015a56753a5e7cf2327df58e95c65fa6e569e4e91
7
- data.tar.gz: 7d56cc94de48b15c32ee97a7b55deb416d69d2f84c0824d7f3cf8c7da7845d542eabb99cd9d15ae44d8a048102d1471cc794b9daaa0cd5645dd1bb78770eab88
6
+ metadata.gz: 9215006b80803d9e7e38fedb7435d7350305e07f8fc98d41afdf2cc31665f6cbb1280d33f9a72b94ee4f7819239f0f48d0f4703d2ccd6bd3f17f4c5054b9562d
7
+ data.tar.gz: f9494630a91d3b797ccb837dcc31ba7d91cd119865e77d2e2347379a040aad495693b4bf2108274a900c7b1d2ddd3220a98f4fcb185b43ec3a230cec2ac68f67
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 7.2.1
2
+ - Expose a `#post` method in the http client class to be use by other modules
3
+
1
4
  ## 7.2.0
2
5
  - Support 6.0.0-alpha1 version of Elasticsearch by adding a separate 6x template
3
6
  - Note: This version is backwards compatible w.r.t. config, but for ES 6.0.0, `_all` has been
@@ -148,6 +148,11 @@ module LogStash; module Outputs; class ElasticSearch;
148
148
  LogStash::Json.load(response.body)
149
149
  end
150
150
 
151
+ def post(path, params = {}, body_string)
152
+ url, response = @pool.post(path, params, body_string)
153
+ LogStash::Json.load(response.body)
154
+ end
155
+
151
156
  def close
152
157
  @pool.close
153
158
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-output-elasticsearch'
3
- s.version = '7.2.0'
3
+ s.version = '7.2.1'
4
4
  s.licenses = ['apache-2.0']
5
5
  s.summary = "Logstash Output to Elasticsearch"
6
6
  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"
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: 7.2.0
4
+ version: 7.2.1
5
5
  platform: java
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-28 00:00:00.000000000 Z
11
+ date: 2017-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement