logstash-output-elasticsearch 6.2.2-java → 6.2.3-java
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23e44847bd8662bb97c4ceb1a3e502ad6883adbd
|
4
|
+
data.tar.gz: 012dbb55afac5bdcb401df61a48aedb531a84d15
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eab7f09f2abca0a75f47424eb3f01f80c8a6f968717bfd04a75bb0dcc14cba0a7f75a73cfb8ae7aa78318be6ca6d22d1b0d4b5611b282f8262a26a8cb026b66b
|
7
|
+
data.tar.gz: 7707d7d2929775fa188dcefd32602307f01e6921bb5b7be5cd07ee56db2a787712640d21bc007bc14ecc87277e3bfc4686b712103cb935527fa2042966a6eb73
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
## 6.2.3
|
2
|
+
- Fixed a bug introduced in 6.2.2 where passwords needing escapes were not actually sent to ES properly
|
3
|
+
encoded.
|
4
|
+
|
1
5
|
## 6.2.2
|
2
6
|
- Fixed a bug that forced users to URL encode the `password` option.
|
3
7
|
If you are currently manually escaping your passwords upgrading to this version
|
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'manticore'
|
2
|
+
require 'cgi'
|
2
3
|
|
3
4
|
module LogStash; module Outputs; class ElasticSearch; class HttpClient;
|
4
5
|
class ManticoreAdapter
|
@@ -48,7 +49,13 @@ module LogStash; module Outputs; class ElasticSearch; class HttpClient;
|
|
48
49
|
params[:body] = body if body
|
49
50
|
|
50
51
|
if url.user
|
51
|
-
params[:auth] = {
|
52
|
+
params[:auth] = {
|
53
|
+
:user => url.user,
|
54
|
+
# We have to unescape the password here since manticore won't do it
|
55
|
+
# for us unless its part of the URL
|
56
|
+
:password => CGI.unescape(url.password),
|
57
|
+
:eager => true
|
58
|
+
}
|
52
59
|
end
|
53
60
|
|
54
61
|
request_uri = format_url(url, path)
|
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
|
3
3
|
s.name = 'logstash-output-elasticsearch'
|
4
|
-
s.version = '6.2.
|
4
|
+
s.version = '6.2.3'
|
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"
|
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: 6.2.
|
4
|
+
version: 6.2.3
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Elastic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-01-
|
11
|
+
date: 2017-01-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|