From b89da34f6b94bfef564fa4f6420bba1ef389827b Mon Sep 17 00:00:00 2001 From: Andrew Cholakian Date: Tue, 7 Feb 2017 09:58:42 -0600 Subject: [PATCH] Upgrade es-ruby client to use 5.0.2 which supports correct content-type Fixes #55 --- CHANGELOG.md | 8 ++++++++ logstash-input-elasticsearch.gemspec | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fafa5ca..aa81d70 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +## 4.0.2 + - Bump ES client to 5.0.2 to get content-type: json behavior + - Revert manticore change due to poor es client lib support + +## 4.0.1 + - Switch internal HTTP client to support TLSv1.2 + - Upgrade ES client internally to better support ES 5.x + ## 4.0.0 - Remove `scan` from list of options as this is no longer allowed in Elasticsearch 5.0. diff --git a/logstash-input-elasticsearch.gemspec b/logstash-input-elasticsearch.gemspec index 7640b3a..6554727 100644 --- a/logstash-input-elasticsearch.gemspec +++ b/logstash-input-elasticsearch.gemspec @@ -1,7 +1,7 @@ Gem::Specification.new do |s| s.name = 'logstash-input-elasticsearch' - s.version = '4.0.0' + s.version = '4.0.2' s.licenses = ['Apache License (2.0)'] s.summary = "Read from an Elasticsearch cluster, based on search query results" 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" @@ -22,7 +22,7 @@ Gem::Specification.new do |s| # Gem dependencies s.add_runtime_dependency "logstash-core-plugin-api", ">= 1.60", "<= 2.99" - s.add_runtime_dependency 'elasticsearch', ['>= 1.0.6', '~> 1.0'] + s.add_runtime_dependency 'elasticsearch', ['>= 5.0.2', '< 6.0.0'] s.add_runtime_dependency 'logstash-codec-json'