fluent-plugin-opensearch 1.0.9 → 1.0.10
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 +4 -4
- data/.github/workflows/coverage.yaml +2 -2
- data/.github/workflows/linux.yml +1 -1
- data/.github/workflows/macos.yml +1 -1
- data/.github/workflows/windows.yml +1 -1
- data/History.md +5 -0
- data/README.OpenSearchInput.md +1 -1
- data/fluent-plugin-opensearch.gemspec +2 -3
- data/lib/fluent/plugin/opensearch_index_template.rb +2 -2
- metadata +10 -10
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c8fec7ab831f92c422c3982f9e3986e7737138ac8c2d03c27e91248c222388e2
|
|
4
|
+
data.tar.gz: 7a285e493ce2248453902cab4f4b2838d5cea49362bf93f03f314dc2fdc3a373
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1c43d875fb76266ccdf2901ae25ecba1e9298263d03b0f11560936e1097a8edb306dbb70d564107ce3508f462f07ff3be0d6795e3ddfc951d3c8e764d217487c
|
|
7
|
+
data.tar.gz: a8733006a11d8548dd41eab5dd8a626122d9c7044f73cc3ec18b2e18d916e47a898f8780556299e07c5d541aa24aba877f4733402051610a9a77c54bf8899136
|
data/.github/workflows/linux.yml
CHANGED
data/.github/workflows/macos.yml
CHANGED
data/History.md
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
### [Unreleased]
|
|
4
4
|
|
|
5
|
+
### 1.0.10
|
|
6
|
+
- Replace File.exists? with File.exist? to work with Ruby 3.2 (#93)
|
|
7
|
+
- Add a constraint for dependent gem to stay on Faraday v1 (#90)
|
|
8
|
+
- README.md: Fix a link to opensearch-ruby (#85)
|
|
9
|
+
|
|
5
10
|
### 1.0.9
|
|
6
11
|
- Adjust GitHub workflows (#89)
|
|
7
12
|
- out\_opensearch: Provide service_name choices for handling serverless (#88)
|
data/README.OpenSearchInput.md
CHANGED
|
@@ -68,7 +68,7 @@ hosts host1:port1,host2:port2,host3:port3
|
|
|
68
68
|
|
|
69
69
|
You can specify multiple OpenSearch hosts with separator ",".
|
|
70
70
|
|
|
71
|
-
If you specify multiple hosts, this plugin will load balance updates to OpenSearch. This is an [opensearch-ruby](https://github.com/opensearch/opensearch-ruby) feature, the default strategy is round-robin.
|
|
71
|
+
If you specify multiple hosts, this plugin will load balance updates to OpenSearch. This is an [opensearch-ruby](https://github.com/opensearch-project/opensearch-ruby) feature, the default strategy is round-robin.
|
|
72
72
|
|
|
73
73
|
If you specify `hosts` option, `host` and `port` options are ignored.
|
|
74
74
|
|
|
@@ -3,7 +3,7 @@ $:.push File.expand_path('../lib', __FILE__)
|
|
|
3
3
|
|
|
4
4
|
Gem::Specification.new do |s|
|
|
5
5
|
s.name = 'fluent-plugin-opensearch'
|
|
6
|
-
s.version = '1.0.
|
|
6
|
+
s.version = '1.0.10'
|
|
7
7
|
s.authors = ['Hiroshi Hatake']
|
|
8
8
|
s.email = ['cosmo0920.wp@gmail.com']
|
|
9
9
|
s.description = %q{Opensearch output plugin for Fluent event collector}
|
|
@@ -27,8 +27,7 @@ Gem::Specification.new do |s|
|
|
|
27
27
|
s.add_runtime_dependency 'opensearch-ruby'
|
|
28
28
|
s.add_runtime_dependency "aws-sdk-core", "~> 3"
|
|
29
29
|
s.add_runtime_dependency "faraday", "~> 1.10"
|
|
30
|
-
s.add_runtime_dependency "faraday_middleware-aws-sigv4"
|
|
31
|
-
|
|
30
|
+
s.add_runtime_dependency "faraday_middleware-aws-sigv4", "~> 0.6.1"
|
|
32
31
|
|
|
33
32
|
s.add_development_dependency 'rake', '>= 0'
|
|
34
33
|
s.add_development_dependency 'webrick', '~> 1.7.0'
|
|
@@ -29,7 +29,7 @@ require_relative './opensearch_error'
|
|
|
29
29
|
|
|
30
30
|
module Fluent::OpenSearchIndexTemplate
|
|
31
31
|
def get_template(template_file)
|
|
32
|
-
if !File.
|
|
32
|
+
if !File.exist?(template_file)
|
|
33
33
|
raise "If you specify a template_name you must specify a valid template file (checked '#{template_file}')!"
|
|
34
34
|
end
|
|
35
35
|
file_contents = IO.read(template_file).gsub(/\n/,'')
|
|
@@ -37,7 +37,7 @@ module Fluent::OpenSearchIndexTemplate
|
|
|
37
37
|
end
|
|
38
38
|
|
|
39
39
|
def get_custom_template(template_file, customize_template)
|
|
40
|
-
if !File.
|
|
40
|
+
if !File.exist?(template_file)
|
|
41
41
|
raise "If you specify a template_name you must specify a valid template file (checked '#{template_file}')!"
|
|
42
42
|
end
|
|
43
43
|
file_contents = IO.read(template_file).gsub(/\n/,'')
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fluent-plugin-opensearch
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Hiroshi Hatake
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2023-02-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: fluentd
|
|
@@ -84,16 +84,16 @@ dependencies:
|
|
|
84
84
|
name: faraday_middleware-aws-sigv4
|
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
|
86
86
|
requirements:
|
|
87
|
-
- - "
|
|
87
|
+
- - "~>"
|
|
88
88
|
- !ruby/object:Gem::Version
|
|
89
|
-
version:
|
|
89
|
+
version: 0.6.1
|
|
90
90
|
type: :runtime
|
|
91
91
|
prerelease: false
|
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
|
93
93
|
requirements:
|
|
94
|
-
- - "
|
|
94
|
+
- - "~>"
|
|
95
95
|
- !ruby/object:Gem::Version
|
|
96
|
-
version:
|
|
96
|
+
version: 0.6.1
|
|
97
97
|
- !ruby/object:Gem::Dependency
|
|
98
98
|
name: rake
|
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -241,7 +241,7 @@ licenses:
|
|
|
241
241
|
- Apache-2.0
|
|
242
242
|
metadata:
|
|
243
243
|
changelog_uri: https://github.com/fluent/fluent-plugin-opensearch/blob/master/History.md
|
|
244
|
-
post_install_message:
|
|
244
|
+
post_install_message:
|
|
245
245
|
rdoc_options: []
|
|
246
246
|
require_paths:
|
|
247
247
|
- lib
|
|
@@ -256,8 +256,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
256
256
|
- !ruby/object:Gem::Version
|
|
257
257
|
version: '0'
|
|
258
258
|
requirements: []
|
|
259
|
-
rubygems_version: 3.
|
|
260
|
-
signing_key:
|
|
259
|
+
rubygems_version: 3.3.5
|
|
260
|
+
signing_key:
|
|
261
261
|
specification_version: 4
|
|
262
262
|
summary: Opensearch output plugin for Fluent event collector
|
|
263
263
|
test_files:
|