fluent-plugin-elasticsearch 1.12.0.rc.1 → 1.12.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: dd8184a5b89190d9004101efa043bb86fa28b917
|
4
|
+
data.tar.gz: 357d028cdc8fadaecdbb70a766f0925258c3045c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16697587184032cb71ba05add339aceff404c53ba66e9403fdd9d533d8148f38fbccc5304a97ce71ec98ebff41fd989b0f02fec618eaf273a36fc34ddd509229
|
7
|
+
data.tar.gz: f09260ba5ae763a0a18a53c8e6191f477e8dea3bf42cdafa489e1db5275c573d4e5539807c5e14bd66a02baa4b63455a12487aefcf10d642e65e5b800b72d6b4
|
data/History.md
CHANGED
data/README.md
CHANGED
@@ -521,7 +521,7 @@ The bundled elasticsearch_genid filter can generate a unique _hash key for each
|
|
521
521
|
Here is a sample config:
|
522
522
|
|
523
523
|
```
|
524
|
-
<filter
|
524
|
+
<filter **>
|
525
525
|
@type elasticsearch_genid
|
526
526
|
hash_id_key _hash # storing generated hash id key (default is _hash)
|
527
527
|
</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 = '1.12.0
|
6
|
+
s.version = '1.12.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}
|
@@ -7,7 +7,7 @@ module Fluent
|
|
7
7
|
klass.instance_eval {
|
8
8
|
config_section :hash, param_name: :hash_config, required: false, multi: false do
|
9
9
|
config_param :hash_id_key, :string, default: '_hash',
|
10
|
-
obsoleted: "Use bundled
|
10
|
+
obsoleted: "Use bundled filter-elasticsearch-genid instead."
|
11
11
|
|
12
12
|
end
|
13
13
|
}
|
@@ -205,7 +205,7 @@ class ElasticsearchOutput < Test::Unit::TestCase
|
|
205
205
|
end
|
206
206
|
|
207
207
|
def test_configure_with_invaild_generate_id_config
|
208
|
-
assert_raise_message(/Use bundled
|
208
|
+
assert_raise_message(/Use bundled filter-elasticsearch-genid instead./) do
|
209
209
|
driver.configure(Fluent::Config::Element.new(
|
210
210
|
'ROOT', '', {
|
211
211
|
'@type' => 'elasticsearch',
|
@@ -558,7 +558,7 @@ class ElasticsearchOutput < Test::Unit::TestCase
|
|
558
558
|
"custom hash_id_key" => {"hash_id_key" => '_hash_id'},
|
559
559
|
)
|
560
560
|
def test_writes_with_genrate_hash(data)
|
561
|
-
assert_raise_message(/Use bundled
|
561
|
+
assert_raise_message(/Use bundled filter-elasticsearch-genid instead./) do
|
562
562
|
driver.configure(Fluent::Config::Element.new(
|
563
563
|
'ROOT', '', {
|
564
564
|
'@type' => 'elasticsearch',
|
@@ -313,7 +313,7 @@ class ElasticsearchOutputDynamic < Test::Unit::TestCase
|
|
313
313
|
"custom hash_id_key" => {"hash_id_key" => '_hash_id'},
|
314
314
|
)
|
315
315
|
def test_writes_with_genrate_hash(data)
|
316
|
-
assert_raise_message(/Use bundled
|
316
|
+
assert_raise_message(/Use bundled filter-elasticsearch-genid instead./) do
|
317
317
|
driver.configure(Fluent::Config::Element.new(
|
318
318
|
'ROOT', '', {
|
319
319
|
'@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: 1.12.0
|
4
|
+
version: 1.12.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
|
@@ -171,9 +171,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
171
171
|
version: '2.0'
|
172
172
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
173
173
|
requirements:
|
174
|
-
- - "
|
174
|
+
- - ">="
|
175
175
|
- !ruby/object:Gem::Version
|
176
|
-
version:
|
176
|
+
version: '0'
|
177
177
|
requirements: []
|
178
178
|
rubyforge_project:
|
179
179
|
rubygems_version: 2.6.13
|