logstash-output-amazon_es 6.4.1-java → 6.4.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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e0343008189d553e78c73eb48ae74ca2e95cea78ad659c7b423411981c75154a
|
4
|
+
data.tar.gz: 5cb2f2372bccf1b0740b3f2ae67ad3b817c78e7beeb76a34ec7832d19d65c2c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 416a7eae7b7fe0e1c82a6b7de2dd8cd96533c4e311d1e330026bb497100580de2baba138ba5cc1d4737cba1700406b1efe0473a2ff66ae2d934bb951c40c0ea5
|
7
|
+
data.tar.gz: b4dd8ae83a614568739beb66623996b8e75e02efc16464614a72faf9d722aecffd9d12175d5665f362a4c23adbb4e0fd9b18438fb43400933ad0bdd1d5aa7ce3
|
@@ -33,12 +33,15 @@ module LogStash; module Outputs; class ElasticSearch; class HttpClient;
|
|
33
33
|
@port = options[:port] || 9200
|
34
34
|
@protocol = options[:protocol] || 'http'
|
35
35
|
@region = options[:region] || 'us-east-1'
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
36
|
+
aws_access_key_id = options[:aws_access_key_id] || nil
|
37
|
+
aws_secret_access_key = options[:aws_secret_access_key] || nil
|
38
|
+
session_token = options[:session_token] || nil
|
39
|
+
profile = options[:profile] || 'default'
|
40
|
+
instance_cred_retries = options[:instance_profile_credentials_retries] || 0
|
41
|
+
instance_cred_timeout = options[:instance_profile_credentials_timeout] || 1
|
42
|
+
|
43
|
+
credential_config = CredentialConfig.new(aws_access_key_id, aws_secret_access_key, session_token, profile, instance_cred_retries, instance_cred_timeout, @region)
|
44
|
+
@credentials = Aws::CredentialProviderChain.new(credential_config).resolve
|
42
45
|
|
43
46
|
if options[:proxy]
|
44
47
|
options[:proxy] = manticore_proxy_hash(options[:proxy])
|
@@ -102,13 +105,7 @@ module LogStash; module Outputs; class ElasticSearch; class HttpClient;
|
|
102
105
|
key = Seahorse::Client::Http::Request.new(options={:endpoint=>url, :http_method => method.to_s.upcase,
|
103
106
|
:headers => params[:headers],:body => params[:body]})
|
104
107
|
|
105
|
-
|
106
|
-
|
107
|
-
credential_config = CredentialConfig.new(@aws_access_key_id, @aws_secret_access_key, @session_token, @profile, @instance_cred_retries, @instance_cred_timeout, @region)
|
108
|
-
|
109
|
-
|
110
|
-
credentials = Aws::CredentialProviderChain.new(credential_config).resolve
|
111
|
-
aws_signer = Aws::Signers::V4.new(credentials, 'es', @region )
|
108
|
+
aws_signer = Aws::Signers::V4.new(@credentials, 'es', @region )
|
112
109
|
|
113
110
|
|
114
111
|
signed_key = aws_signer.sign(key)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'logstash-output-amazon_es'
|
3
|
-
s.version = '6.4.
|
3
|
+
s.version = '6.4.2'
|
4
4
|
s.licenses = ['Apache-2.0']
|
5
5
|
s.summary = "Logstash Output to Amazon Elasticsearch Service"
|
6
6
|
s.description = "Output events to Amazon Elasticsearch Service with V4 signing"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-output-amazon_es
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.4.
|
4
|
+
version: 6.4.2
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Amazon
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-04-
|
11
|
+
date: 2019-04-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|