csolidum-fluent-plugin-aws-elasticsearch-service 2.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: eac1973b3a0a3d19bc7367da5a2bc03a9ac472378e1166726e3bc527b7f389a2
4
+ data.tar.gz: fab503b11f7baa45fb167af750a3ab44ca0dd9435188cb02ba34c0ae6095d1c9
5
+ SHA512:
6
+ metadata.gz: 5b355b2a3feb2c0c46d14ecff9d34063774e33e3c108a94723d30b9a338dde0f5ee94da2690dcc344c42001d5959a76974ba02a01a1bcc5d1bc2ff79a9d5afd1
7
+ data.tar.gz: 6be26d12112205dcfcc2e805228aef2ec49eb9b7ef6c3526aa448fc93af95102f5ed0c29b035b8e8fb21feb3e6a8de572ef3f9dd6e755dff0f03e138b54812dd
@@ -0,0 +1,35 @@
1
+ *.gem
2
+ *.rbc
3
+ /.config
4
+ /coverage/
5
+ /InstalledFiles
6
+ /pkg/
7
+ /spec/reports/
8
+ /test/tmp/
9
+ /test/version_tmp/
10
+ /tmp/
11
+
12
+ ## Specific to RubyMotion:
13
+ .dat*
14
+ .repl_history
15
+ build/
16
+
17
+ ## Documentation cache and generated files:
18
+ /.yardoc/
19
+ /_yardoc/
20
+ /doc/
21
+ /rdoc/
22
+
23
+ ## Environment normalisation:
24
+ /.bundle/
25
+ /vendor/bundle
26
+ /lib/bundler/man/
27
+
28
+ # for a library or gem, you might want to ignore these files since the code is
29
+ # intended to run in multiple environments; otherwise, check them in:
30
+ # Gemfile.lock
31
+ # .ruby-version
32
+ # .ruby-gemset
33
+
34
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
35
+ .rvmrc
data/Gemfile ADDED
@@ -0,0 +1,8 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in fluent-plugin-aws-elasticsearch-service.gemspec
4
+ gemspec
5
+
6
+ gem 'fluent-plugin-elasticsearch', [">= 2.4.0", "< 5"], require: false
7
+ gem 'aws-sdk-core', '~> 3', require: false
8
+ gem 'faraday_middleware-aws-sigv4', '~> 0.3.0', require: false
@@ -0,0 +1,22 @@
1
+ #### Problem
2
+
3
+ ...
4
+
5
+ #### Steps to replicate
6
+
7
+ Provide example config and message
8
+
9
+ #### Expected Behavior or What you need to ask
10
+
11
+ ...
12
+
13
+ #### Using Fluentd and ES plugin versions
14
+
15
+ * OS version
16
+ * Fluentd v0.12 or v0.14/v1.0
17
+ * paste result of ``fluentd --version`` or ``td-agent --version``
18
+ * AWS ES Service plugin version
19
+ * paste boot log of fluentd or td-agent
20
+ * paste result of ``fluent-gem list``, ``td-agent-gem list`` or your Gemfile.lock
21
+ * IAM policies for AWS ES Service (optional)
22
+ * ES version (optional)
data/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 @
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+
@@ -0,0 +1,165 @@
1
+ # Fluent::AwsElasticsearchServiceOutput
2
+
3
+ This output plugin to post to "Amazon Elasticsearch Service".
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'fluent-plugin-aws-elasticsearch-service'
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ In your fluentd configration, use `type aws-elasticsearch-service`.
16
+
17
+ example:
18
+
19
+ ```ruby
20
+ <source>
21
+ type tail
22
+ format apache
23
+ time_format "%d/%b/%Y:%T %z"
24
+ path "/var/log/nginx/access.log"
25
+ pos_file "/var/log/td-agent/nginx.access.pos"
26
+ tag "es.nginx.access"
27
+ </source>
28
+
29
+ <match es.**>
30
+ type "aws-elasticsearch-service"
31
+ type_name "access_log"
32
+ logstash_format true
33
+ include_tag_key true
34
+ tag_key "@log_name"
35
+ flush_interval 1s
36
+
37
+ <endpoint>
38
+ url https://CLUSTER_ENDPOINT_URL
39
+ region eu-west-1
40
+ # access_key_id "secret"
41
+ # secret_access_key "seekret"
42
+ </endpoint>
43
+ </match>
44
+ ```
45
+
46
+ ## IAM
47
+ If you do not wish to use credentials in your configuration via the `access_key_id` and `secret_access_key` options you should use IAM policies.
48
+
49
+ The first step is to assign an IAM instance role `ROLE` to your EC2 instances. Name it appropriately. The role should contain no policy: we're using the possession of the role as the authenticating factor and placing the policy against the ES cluster.
50
+
51
+ You should then configure a policy for the ES cluster policy thus, with appropriate substitutions for the capitalized terms:
52
+
53
+ ```json
54
+ {
55
+ "Version": "2012-10-17",
56
+ "Statement": [
57
+ {
58
+ "Effect": "Allow",
59
+ "Principal": {
60
+ "AWS": "arn:aws:iam::ACCOUNT:role/ROLE"
61
+ },
62
+ "Action": "es:*",
63
+ "Resource": "arn:aws:es:eu-west-1:ACCOUNT:domain/ES_DOMAIN/*"
64
+ },
65
+ {
66
+ "Effect": "Allow",
67
+ "Principal": {
68
+ "AWS": "*"
69
+ },
70
+ "Action": "es:*",
71
+ "Resource": "arn:aws:es:eu-west-1:ACCOUNT:domain/ES_DOMAIN/*",
72
+ "Condition": {
73
+ "IpAddress": {
74
+ "aws:SourceIp": [
75
+ "1.2.3.4/32",
76
+ "5.6.7.8/32"
77
+ ]
78
+ }
79
+ }
80
+ }
81
+ ]
82
+ }
83
+ ```
84
+
85
+ This will allow your fluentd hosts (by virtue of the possession of the role) and any traffic coming from the specified IP addresses (you querying Kibana) to access the various endpoints. Whilst not ideally secure (both the fluentd and Kibana boxes should ideally be restricted to the verbs they require) it should allow you to get up and ingesting logs without anything getting in your way, before you tighten down the policy.
86
+
87
+ Additionally, you can use an STS assumed role as the authenticating factor and instruct the plugin to assume this role. This is useful for cross-account access and when assigning a standard role is not possible. The endpoint configuration looks like:
88
+
89
+ ```ruby
90
+ <endpoint>
91
+ url https://CLUSTER_ENDPOINT_URL
92
+ region eu-west-1
93
+ assume_role_arn arn:aws:sts::ACCOUNT:role/ROLE
94
+ assume_role_session_name SESSION_ID # Defaults to fluentd if omitted
95
+ </endpoint>
96
+ ```
97
+
98
+ The policy attached to your AWS Elasticsearch cluster then becomes something like:
99
+
100
+ ```json
101
+ {
102
+ "Version": "2012-10-17",
103
+ "Statement": [
104
+ {
105
+ "Effect": "Allow",
106
+ "Principal": {
107
+ "AWS": "arn:aws:sts::ACCOUNT:assumed-role/ROLE/SESSION_ID"
108
+ },
109
+ "Action": "es:*",
110
+ "Resource": "arn:aws:es:eu-west-1:ACCOUNT:domain/ES_DOMAIN/*"
111
+ }
112
+ ]
113
+ }
114
+ ```
115
+
116
+ You'll need to ensure that the environment in which the fluentd plugin runs has the capability to assume this role, by attaching a policy something like this to the instance profile:
117
+
118
+ ```json
119
+ {
120
+ "Version": "2012-10-17",
121
+ "Statement": {
122
+ "Effect": "Allow",
123
+ "Action": "sts:AssumeRole",
124
+ "Resource": "arn:aws:iam::ACCOUNT:role/ROLE"
125
+ }
126
+ }
127
+ ```
128
+
129
+ ### EKS
130
+ If you want to use IAM roles for service accounts on Amazon EKS clusters, please refer to the official documentation and specify a Service Account for your fluentd Pod.
131
+
132
+ Then, the endpoint configuration looks like:
133
+
134
+ ```ruby
135
+ <endpoint>
136
+ url https://CLUSTER_ENDPOINT_URL
137
+ region eu-west-1
138
+ assume_role_arn "#{ENV['AWS_ROLE_ARN']}"
139
+ assume_role_web_identity_token_file "#{ENV['AWS_WEB_IDENTITY_TOKEN_FILE']}"
140
+ </endpoint>
141
+ ```
142
+
143
+ ## Troubleshooting
144
+
145
+ * "Elasticsearch::Transport::Transport::Errors::Forbidden" error="[403]" even after verifying the access keys/roles/policies.
146
+ * Ensure you don't have a trailing slash on the endpoint URL in your fluentd configuration file (see CLUSTER_ENDPOINT_URL above).
147
+
148
+ * "ElasticsearchIllegalArgumentException[explicit index in bulk is not allowed]"
149
+ * Check that `rest.action.multi.allow_explicit` is set true on your Amazon ES domain (verify in the console - there's a bug in Terraform, https://github.com/hashicorp/terraform/issues/3980).
150
+
151
+ ## Development
152
+
153
+ After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
154
+
155
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
156
+
157
+ ## Contributing
158
+
159
+ Bug reports and pull requests are welcome on GitHub at https://github.com/atomita/fluent-plugin-aws-elasticsearch-service. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
160
+
161
+
162
+ ## License
163
+
164
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
165
+
@@ -0,0 +1,10 @@
1
+ require "bundler/gem_tasks"
2
+
3
+ require 'rake/testtask'
4
+ Rake::TestTask.new(:test) do |test|
5
+ test.libs << 'lib' << 'test'
6
+ test.pattern = 'test/**/test_*.rb'
7
+ test.verbose = true
8
+ end
9
+
10
+ task :default => :test
@@ -0,0 +1,31 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ lib = File.expand_path('../lib', __FILE__)
4
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "csolidum-fluent-plugin-aws-elasticsearch-service"
8
+ spec.version = "2.3.0"
9
+ spec.authors = ["csolidum"]
10
+ spec.email = ["chris2987+gh@gmail.com"]
11
+
12
+ spec.summary = %q{Output plugin to post to "Amazon Elasticsearch Service".}
13
+ spec.description = %q{this is a Output plugin. Post to "Amazon Elasticsearch Service".}
14
+ spec.homepage = "https://github.com/atomita/fluent-plugin-aws-elasticsearch-service"
15
+ spec.license = "MIT"
16
+
17
+
18
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
19
+ spec.bindir = "exe"
20
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
+ spec.require_paths = ["lib"]
22
+
23
+ spec.add_development_dependency "bundler", [">= 1.10", "< 3"]
24
+ spec.add_development_dependency "rake", "~> 13.0"
25
+ spec.add_development_dependency "rspec", "~> 3.0"
26
+ spec.add_development_dependency "test-unit", "~> 3.0"
27
+ spec.add_runtime_dependency "fluentd", [">= 0.14.15", "< 2"]
28
+ spec.add_runtime_dependency "fluent-plugin-elasticsearch", [">= 3.3.0", "< 5"]
29
+ spec.add_runtime_dependency "aws-sdk-core", "~> 3"
30
+ spec.add_runtime_dependency "faraday_middleware-aws-sigv4", "~> 0.3.0"
31
+ end
@@ -0,0 +1,229 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ require 'rubygems'
4
+ require 'fluent/plugin/out_elasticsearch'
5
+ require 'aws-sdk-core'
6
+ require 'faraday_middleware/aws_sigv4'
7
+
8
+
9
+ module Fluent::Plugin
10
+ class AwsElasticsearchServiceOutput < ElasticsearchOutput
11
+
12
+ Fluent::Plugin.register_output('aws-elasticsearch-service', self)
13
+
14
+ config_section :endpoint do
15
+ config_param :region, :string
16
+ config_param :url, :string
17
+ config_param :access_key_id, :string, :default => ""
18
+ config_param :secret_access_key, :string, :default => "", secret: true
19
+ config_param :assume_role_arn, :string, :default => nil
20
+ config_param :ecs_container_credentials_relative_uri, :string, :default => nil #Set with AWS_CONTAINER_CREDENTIALS_RELATIVE_URI environment variable value
21
+ config_param :assume_role_session_name, :string, :default => "fluentd"
22
+ config_param :assume_role_web_identity_token_file, :string, :default => nil
23
+ config_param :sts_credentials_region, :string, :default => ""
24
+ end
25
+
26
+ # here overrides default value of reload_connections to false because
27
+ # AWS Elasticsearch Service doesn't return addresses of nodes and Elasticsearch client
28
+ # fails to reload connections properly. This ends up "temporarily failed to flush the buffer"
29
+ # error repeating forever. See this discussion for details:
30
+ # https://discuss.elastic.co/t/elasitcsearch-ruby-raises-cannot-get-new-connection-from-pool-error/36252
31
+ config_set_default :reload_connections, false
32
+
33
+ #
34
+ # @override
35
+ #
36
+ def get_connection_options(con_host=nil)
37
+ raise "`endpoint` require." if @endpoint.empty?
38
+
39
+ hosts =
40
+ begin
41
+ @endpoint.map do |ep|
42
+ uri = URI(ep[:url])
43
+ host = %w(user password path).inject(host: uri.host, port: uri.port, scheme: uri.scheme) do |hash, key|
44
+ hash[key.to_sym] = uri.public_send(key) unless uri.public_send(key).nil? || uri.public_send(key) == ''
45
+ hash
46
+ end
47
+
48
+ host[:aws_elasticsearch_service] = {
49
+ :credentials => credentials(ep),
50
+ :region => ep[:region]
51
+ }
52
+
53
+ host
54
+ end
55
+ end
56
+
57
+ {
58
+ hosts: hosts
59
+ }
60
+ end
61
+
62
+ def write(chunk)
63
+ super
64
+ end
65
+
66
+
67
+ private
68
+
69
+ #
70
+ # get AWS Credentials
71
+ #
72
+ def credentials(opts)
73
+ calback = lambda do
74
+ credentials = nil
75
+ unless opts[:access_key_id].empty? or opts[:secret_access_key].empty?
76
+ credentials = Aws::Credentials.new opts[:access_key_id], opts[:secret_access_key]
77
+ else
78
+ if opts[:assume_role_arn].nil?
79
+ aws_container_credentials_relative_uri = opts[:ecs_container_credentials_relative_uri] || ENV["AWS_CONTAINER_CREDENTIALS_RELATIVE_URI"]
80
+ if aws_container_credentials_relative_uri.nil?
81
+ credentials = Aws::SharedCredentials.new({retries: 2}).credentials
82
+ credentials ||= Aws::InstanceProfileCredentials.new.credentials
83
+ credentials ||= Aws::ECSCredentials.new.credentials
84
+ else
85
+ credentials = Aws::ECSCredentials.new({
86
+ credential_path: aws_container_credentials_relative_uri
87
+ }).credentials
88
+ end
89
+ else
90
+ sts_credentials_region = opts[:sts_credentials_region]
91
+ if sts_credentials_region.empty?
92
+ sts_credentials_region = opts[:region]
93
+ end
94
+
95
+ if opts[:assume_role_web_identity_token_file].nil?
96
+ credentials = sts_credential_provider({
97
+ role_arn: opts[:assume_role_arn],
98
+ role_session_name: opts[:assume_role_session_name],
99
+ region: opts[:region]
100
+ }).credentials
101
+ else
102
+ credentials = sts_web_identity_credential_provider({
103
+ role_arn: opts[:assume_role_arn],
104
+ web_identity_token_file: opts[:assume_role_web_identity_token_file],
105
+ region: opts[:region]
106
+ }).credentials
107
+ end
108
+ end
109
+ end
110
+ raise "No valid AWS credentials found." unless credentials.set?
111
+ credentials
112
+ end
113
+ def calback.inspect
114
+ credentials = self.call
115
+ credentials.credentials.inspect
116
+ end
117
+ calback
118
+ end
119
+
120
+ def sts_credential_provider(opts)
121
+ # AssumeRoleCredentials is an auto-refreshing credential provider
122
+ @sts ||= Aws::AssumeRoleCredentials.new(opts)
123
+ end
124
+
125
+ def sts_web_identity_credential_provider(opts)
126
+ # AssumeRoleWebIdentityCredentials is an auto-refreshing credential provider
127
+ @sts ||= Aws::AssumeRoleWebIdentityCredentials.new(opts)
128
+ end
129
+
130
+ end
131
+
132
+
133
+ #
134
+ # monkey patch
135
+ #
136
+ class ElasticsearchOutput
137
+ module Elasticsearch
138
+
139
+ module Client
140
+ include ::Elasticsearch::Client
141
+ extend self
142
+ end
143
+
144
+ module Transport
145
+ module Transport
146
+ module HTTP
147
+ class Faraday < ::Elasticsearch::Transport::Transport::HTTP::Faraday
148
+
149
+ alias :__build_connections_origin_from_aws_elasticsearch_service_output :__build_connections
150
+
151
+ # Builds and returns a collection of connections.
152
+ #
153
+ # @return [Connections::Collection]
154
+ # @override
155
+ #
156
+ def __build_connections
157
+ ::Elasticsearch::Transport::Transport::Connections::Collection.new(
158
+ :connections => hosts.map { |host|
159
+ host[:protocol] = host[:scheme] || DEFAULT_PROTOCOL
160
+ host[:port] ||= DEFAULT_PORT
161
+ url = __full_url(host)
162
+
163
+ ::Elasticsearch::Transport::Transport::Connections::Connection.new(
164
+ :host => host,
165
+ :connection => ::Faraday::Connection.new(
166
+ url,
167
+ (options[:transport_options] || {}),
168
+ &__aws_elasticsearch_service_setting(host, &@block)
169
+ ),
170
+ :options => host[:connection_options]
171
+ )
172
+ },
173
+ :selector_class => options[:selector_class],
174
+ :selector => options[:selector]
175
+ )
176
+ end
177
+
178
+ def __aws_elasticsearch_service_setting(host, &block)
179
+ lambda do |faraday|
180
+ if host[:aws_elasticsearch_service]
181
+ faraday.request :aws_sigv4,
182
+ credentials: host[:aws_elasticsearch_service][:credentials],
183
+ service_name: 'es',
184
+ region: host[:aws_elasticsearch_service][:region]
185
+ end
186
+ block.call faraday
187
+ end
188
+ end
189
+ end
190
+ end
191
+ end
192
+ end
193
+ end
194
+
195
+ end
196
+ end
197
+
198
+
199
+ #
200
+ # monkey patch
201
+ #
202
+ class FaradayMiddleware::AwsSigV4
203
+
204
+ alias :initialize_origin_from_aws_elasticsearch_service_output :initialize
205
+
206
+ def initialize(app, options = nil)
207
+ super(app)
208
+
209
+ credentials = options.fetch(:credentials)
210
+ service_name = options.fetch(:service_name)
211
+ region = options.fetch(:region)
212
+ @signer =
213
+ begin
214
+ if credentials.is_a?(Proc)
215
+ signer = lambda do
216
+ Aws::Sigv4::Signer.new(service: service_name, region: region, credentials: credentials.call)
217
+ end
218
+ def signer.sign_request(req)
219
+ self.call.sign_request(req)
220
+ end
221
+ signer
222
+ else
223
+ Aws::Sigv4::Signer.new(service: service_name, region: region, credentials: credentials)
224
+ end
225
+ end
226
+
227
+ @net_http = app.is_a?(Faraday::Adapter::NetHttp)
228
+ end
229
+ end
metadata ADDED
@@ -0,0 +1,181 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: csolidum-fluent-plugin-aws-elasticsearch-service
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.3.0
5
+ platform: ruby
6
+ authors:
7
+ - csolidum
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2020-06-03 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '1.10'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '3'
23
+ type: :development
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '1.10'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '3'
33
+ - !ruby/object:Gem::Dependency
34
+ name: rake
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '13.0'
40
+ type: :development
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '13.0'
47
+ - !ruby/object:Gem::Dependency
48
+ name: rspec
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '3.0'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: '3.0'
61
+ - !ruby/object:Gem::Dependency
62
+ name: test-unit
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: '3.0'
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: '3.0'
75
+ - !ruby/object:Gem::Dependency
76
+ name: fluentd
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ version: 0.14.15
82
+ - - "<"
83
+ - !ruby/object:Gem::Version
84
+ version: '2'
85
+ type: :runtime
86
+ prerelease: false
87
+ version_requirements: !ruby/object:Gem::Requirement
88
+ requirements:
89
+ - - ">="
90
+ - !ruby/object:Gem::Version
91
+ version: 0.14.15
92
+ - - "<"
93
+ - !ruby/object:Gem::Version
94
+ version: '2'
95
+ - !ruby/object:Gem::Dependency
96
+ name: fluent-plugin-elasticsearch
97
+ requirement: !ruby/object:Gem::Requirement
98
+ requirements:
99
+ - - ">="
100
+ - !ruby/object:Gem::Version
101
+ version: 3.3.0
102
+ - - "<"
103
+ - !ruby/object:Gem::Version
104
+ version: '5'
105
+ type: :runtime
106
+ prerelease: false
107
+ version_requirements: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - ">="
110
+ - !ruby/object:Gem::Version
111
+ version: 3.3.0
112
+ - - "<"
113
+ - !ruby/object:Gem::Version
114
+ version: '5'
115
+ - !ruby/object:Gem::Dependency
116
+ name: aws-sdk-core
117
+ requirement: !ruby/object:Gem::Requirement
118
+ requirements:
119
+ - - "~>"
120
+ - !ruby/object:Gem::Version
121
+ version: '3'
122
+ type: :runtime
123
+ prerelease: false
124
+ version_requirements: !ruby/object:Gem::Requirement
125
+ requirements:
126
+ - - "~>"
127
+ - !ruby/object:Gem::Version
128
+ version: '3'
129
+ - !ruby/object:Gem::Dependency
130
+ name: faraday_middleware-aws-sigv4
131
+ requirement: !ruby/object:Gem::Requirement
132
+ requirements:
133
+ - - "~>"
134
+ - !ruby/object:Gem::Version
135
+ version: 0.3.0
136
+ type: :runtime
137
+ prerelease: false
138
+ version_requirements: !ruby/object:Gem::Requirement
139
+ requirements:
140
+ - - "~>"
141
+ - !ruby/object:Gem::Version
142
+ version: 0.3.0
143
+ description: this is a Output plugin. Post to "Amazon Elasticsearch Service".
144
+ email:
145
+ - chris2987+gh@gmail.com
146
+ executables: []
147
+ extensions: []
148
+ extra_rdoc_files: []
149
+ files:
150
+ - ".gitignore"
151
+ - Gemfile
152
+ - ISSUE_TEMPLATE.md
153
+ - LICENSE
154
+ - README.md
155
+ - Rakefile
156
+ - fluent-plugin-aws-elasticsearch-service.gemspec
157
+ - lib/fluent/plugin/out_aws-elasticsearch-service.rb
158
+ homepage: https://github.com/atomita/fluent-plugin-aws-elasticsearch-service
159
+ licenses:
160
+ - MIT
161
+ metadata: {}
162
+ post_install_message:
163
+ rdoc_options: []
164
+ require_paths:
165
+ - lib
166
+ required_ruby_version: !ruby/object:Gem::Requirement
167
+ requirements:
168
+ - - ">="
169
+ - !ruby/object:Gem::Version
170
+ version: '0'
171
+ required_rubygems_version: !ruby/object:Gem::Requirement
172
+ requirements:
173
+ - - ">="
174
+ - !ruby/object:Gem::Version
175
+ version: '0'
176
+ requirements: []
177
+ rubygems_version: 3.0.6
178
+ signing_key:
179
+ specification_version: 4
180
+ summary: Output plugin to post to "Amazon Elasticsearch Service".
181
+ test_files: []