fluent-plugin-elasticsearch 2.2.0.rc.1 → 2.2.0
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: df3fc320b12a8944666a94ef4191c2c4f54596fe
|
|
4
|
+
data.tar.gz: 8e9542c23f48771a1b8c4f9b58d48c3a88368808
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 442135842951fd0b3a747a979f52e3093cdc3f3d5eaaceb168b4a422d0dd616998e974b197d69750f9527a5a1372ef2416d5145ba709489dd301bd63af85de54
|
|
7
|
+
data.tar.gz: 49c2a393a950e02c53f8734ded656deb683c955f70018e565b6fffd6fb4facd107e2d56d1f7231e3120140d8701e76622c8041cb0664abcb3137e19c53af6c47
|
data/History.md
CHANGED
data/README.md
CHANGED
|
@@ -561,7 +561,7 @@ The bundled elasticsearch_genid filter can generate a unique _hash key for each
|
|
|
561
561
|
Here is a sample config:
|
|
562
562
|
|
|
563
563
|
```
|
|
564
|
-
<filter
|
|
564
|
+
<filter **>
|
|
565
565
|
@type elasticsearch_genid
|
|
566
566
|
hash_id_key _hash # storing generated hash id key (default is _hash)
|
|
567
567
|
</filter>
|
|
@@ -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 = '2.2.0
|
|
6
|
+
s.version = '2.2.0'
|
|
7
7
|
s.authors = ['diogo', 'pitr']
|
|
8
8
|
s.email = ['pitr.vern@gmail.com', 'me@diogoterror.com']
|
|
9
9
|
s.description = %q{ElasticSearch output plugin for Fluent event collector}
|
|
@@ -8,7 +8,7 @@ module Fluent
|
|
|
8
8
|
klass.instance_eval {
|
|
9
9
|
config_section :hash, param_name: :hash_config, required: false, multi: false do
|
|
10
10
|
config_param :hash_id_key, :string, default: '_hash',
|
|
11
|
-
obsoleted: "Use bundled
|
|
11
|
+
obsoleted: "Use bundled filter-elasticsearch-genid instead."
|
|
12
12
|
end
|
|
13
13
|
}
|
|
14
14
|
end
|
|
@@ -228,7 +228,7 @@ class ElasticsearchOutput < Test::Unit::TestCase
|
|
|
228
228
|
end
|
|
229
229
|
|
|
230
230
|
test 'with invaild generate id config' do
|
|
231
|
-
assert_raise_message(/Use bundled
|
|
231
|
+
assert_raise_message(/Use bundled filter-elasticsearch-genid instead./) do
|
|
232
232
|
driver.configure(Fluent::Config::Element.new(
|
|
233
233
|
'ROOT', '', {
|
|
234
234
|
'@type' => 'elasticsearch',
|
|
@@ -585,7 +585,7 @@ class ElasticsearchOutput < Test::Unit::TestCase
|
|
|
585
585
|
"custom hash_id_key" => {"hash_id_key" => '_hash_id'},
|
|
586
586
|
)
|
|
587
587
|
def test_writes_with_genrate_hash(data)
|
|
588
|
-
assert_raise_message(/Use bundled
|
|
588
|
+
assert_raise_message(/Use bundled filter-elasticsearch-genid instead./) do
|
|
589
589
|
driver.configure(Fluent::Config::Element.new(
|
|
590
590
|
'ROOT', '', {
|
|
591
591
|
'@type' => 'elasticsearch',
|
|
@@ -323,7 +323,7 @@ class ElasticsearchOutputDynamic < Test::Unit::TestCase
|
|
|
323
323
|
"custom hash_id_key" => {"hash_id_key" => '_hash_id'},
|
|
324
324
|
)
|
|
325
325
|
def test_writes_with_genrate_hash(data)
|
|
326
|
-
assert_raise_message(/Use bundled
|
|
326
|
+
assert_raise_message(/Use bundled filter-elasticsearch-genid instead./) do
|
|
327
327
|
driver.configure(Fluent::Config::Element.new(
|
|
328
328
|
'ROOT', '', {
|
|
329
329
|
'@type' => 'elasticsearch',
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fluent-plugin-elasticsearch
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.2.0
|
|
4
|
+
version: 2.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- diogo
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2017-11-
|
|
12
|
+
date: 2017-11-27 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: fluentd
|
|
@@ -170,9 +170,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
170
170
|
version: '2.0'
|
|
171
171
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
172
172
|
requirements:
|
|
173
|
-
- - "
|
|
173
|
+
- - ">="
|
|
174
174
|
- !ruby/object:Gem::Version
|
|
175
|
-
version:
|
|
175
|
+
version: '0'
|
|
176
176
|
requirements: []
|
|
177
177
|
rubyforge_project:
|
|
178
178
|
rubygems_version: 2.6.13
|