Skip to content

Commit 7028b97

Browse files
committed
Upgrade es-ruby client to use 5.0.2 which supports correct content-type Fixes logstash-plugins#55
Fixes logstash-plugins#57
1 parent d5271f9 commit 7028b97

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## 4.0.2
2+
- Bump ES client to 5.0.2 to get content-type: json behavior
3+
- Revert unneeded manticore change
4+
5+
## 4.0.1
6+
- Switch internal HTTP client to support TLSv1.2
7+
- Upgrade ES client internally to better support ES 5.x
8+
19
## 4.0.0
210
- Remove `scan` from list of options as this is no longer allowed in
311
Elasticsearch 5.0.

logstash-input-elasticsearch.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Gem::Specification.new do |s|
22

33
s.name = 'logstash-input-elasticsearch'
4-
s.version = '4.0.0'
4+
s.version = '4.0.2'
55
s.licenses = ['Apache License (2.0)']
66
s.summary = "Read from an Elasticsearch cluster, based on search query results"
77
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|
2222
# Gem dependencies
2323
s.add_runtime_dependency "logstash-core-plugin-api", ">= 1.60", "<= 2.99"
2424

25-
s.add_runtime_dependency 'elasticsearch', ['>= 1.0.6', '~> 1.0']
25+
s.add_runtime_dependency 'elasticsearch', ['>= 5.0.3', '< 6.0.0']
2626

2727
s.add_runtime_dependency 'logstash-codec-json'
2828

0 commit comments

Comments
 (0)