fluent-plugin-elasticsearch 4.1.1 → 4.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.md +3 -0
- data/README.md +6 -4
- data/fluent-plugin-elasticsearch.gemspec +1 -1
- data/lib/fluent/plugin/out_elasticsearch.rb +4 -1
- data/test/plugin/test_out_elasticsearch.rb +8 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 367f610faf1266994e676a07ca2fc391bf0951036f356fd4a95a6a7d7cce1b61
|
4
|
+
data.tar.gz: 56fc5e47f6dd8e63df03f6190fc0f3dfff2e1fae548b38cc9cdb328f75246ade
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 812b336dcf870a4dbb2ecfbc87304b8c6b6cfafb561d2cf6eece11f35e29e9aa484ab8365fa9245a578c51ec540fcaf09925dc68668820ce3ab7c71041720dd2
|
7
|
+
data.tar.gz: da2c1b8bbbdd364ff5a3df1214a54151a7e9e809230b12e75e06b42a0eb7df790124898cd6c137c82edede8c94f5e8adc9d7eea05134bff0a084d1de11b5269e
|
data/History.md
CHANGED
data/README.md
CHANGED
@@ -121,10 +121,12 @@ Current maintainers: @cosmo0920
|
|
121
121
|
|
122
122
|
## Requirements
|
123
123
|
|
124
|
-
| fluent-plugin-elasticsearch | fluentd
|
125
|
-
|
126
|
-
| >=
|
127
|
-
|
|
124
|
+
| fluent-plugin-elasticsearch | fluentd | ruby |
|
125
|
+
|:----------------------------:|:-----------:|:------:|
|
126
|
+
| >= 4.0.1 | >= v0.14.22 | >= 2.3 |
|
127
|
+
| >= 3.2.4 && < 4.0.1 | >= v0.14.22 | >= 2.1 |
|
128
|
+
| >= 2.0.0 && < 3.2.3 | >= v0.14.20 | >= 2.1 |
|
129
|
+
| < 2.0.0 | >= v0.12.0 | >= 1.9 |
|
128
130
|
|
129
131
|
NOTE: For v0.12 version, you should use 1.x.y version. Please send patch into v0.12 branch if you encountered 1.x version's bug.
|
130
132
|
|
@@ -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-elasticsearch'
|
6
|
-
s.version = '4.1.
|
6
|
+
s.version = '4.1.2'
|
7
7
|
s.authors = ['diogo', 'pitr', 'Hiroshi Hatake']
|
8
8
|
s.email = ['pitr.vern@gmail.com', 'me@diogoterror.com', 'cosmo0920.wp@gmail.com']
|
9
9
|
s.description = %q{Elasticsearch output plugin for Fluent event collector}
|
@@ -461,7 +461,10 @@ EOC
|
|
461
461
|
|
462
462
|
def detect_es_major_version
|
463
463
|
@_es_info ||= client.info
|
464
|
-
@_es_info
|
464
|
+
unless version = @_es_info.dig("version", "number")
|
465
|
+
version = @default_elasticsearch_version
|
466
|
+
end
|
467
|
+
version.to_i
|
465
468
|
end
|
466
469
|
|
467
470
|
def client_library_version
|
@@ -707,7 +707,10 @@ class ElasticsearchOutputTest < Test::Unit::TestCase
|
|
707
707
|
Fluent::Plugin::ElasticsearchOutput.module_eval(<<-CODE)
|
708
708
|
def detect_es_major_version
|
709
709
|
@_es_info ||= client.info
|
710
|
-
@_es_info
|
710
|
+
unless version = @_es_info.dig("version", "number")
|
711
|
+
version = @default_elasticsearch_version
|
712
|
+
end
|
713
|
+
version.to_i
|
711
714
|
end
|
712
715
|
CODE
|
713
716
|
Fluent::Plugin::ElasticsearchOutput.module_eval(<<-CODE)
|
@@ -753,7 +756,10 @@ class ElasticsearchOutputTest < Test::Unit::TestCase
|
|
753
756
|
Fluent::Plugin::ElasticsearchOutput.module_eval(<<-CODE)
|
754
757
|
def detect_es_major_version
|
755
758
|
@_es_info ||= client.info
|
756
|
-
@_es_info
|
759
|
+
unless version = @_es_info.dig("version", "number")
|
760
|
+
version = @default_elasticsearch_version
|
761
|
+
end
|
762
|
+
version.to_i
|
757
763
|
end
|
758
764
|
CODE
|
759
765
|
Fluent::Plugin::ElasticsearchOutput.module_eval(<<-CODE)
|
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-elasticsearch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.1.
|
4
|
+
version: 4.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- diogo
|
8
8
|
- pitr
|
9
9
|
- Hiroshi Hatake
|
10
|
-
autorequire:
|
10
|
+
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2020-
|
13
|
+
date: 2020-08-19 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: fluentd
|
@@ -188,7 +188,7 @@ licenses:
|
|
188
188
|
- Apache-2.0
|
189
189
|
metadata:
|
190
190
|
changelog_uri: https://github.com/uken/fluent-plugin-elasticsearch/blob/master/History.md
|
191
|
-
post_install_message:
|
191
|
+
post_install_message:
|
192
192
|
rdoc_options: []
|
193
193
|
require_paths:
|
194
194
|
- lib
|
@@ -204,7 +204,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
204
204
|
version: '0'
|
205
205
|
requirements: []
|
206
206
|
rubygems_version: 3.1.2
|
207
|
-
signing_key:
|
207
|
+
signing_key:
|
208
208
|
specification_version: 4
|
209
209
|
summary: Elasticsearch output plugin for Fluent event collector
|
210
210
|
test_files:
|