fluent-plugin-es-mohit 1.9.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.coveralls.yml +2 -0
- data/.editorconfig +9 -0
- data/.gitignore +18 -0
- data/.travis.yml +9 -0
- data/Gemfile +8 -0
- data/History.md +112 -0
- data/ISSUE_TEMPLATE.md +11 -0
- data/LICENSE.txt +22 -0
- data/PULL_REQUEST_TEMPLATE.md +10 -0
- data/README.md +520 -0
- data/Rakefile +11 -0
- data/fluent-plugin-elasticsearch.gemspec +30 -0
- data/lib/fluent/plugin/elasticsearch_index_template.rb +37 -0
- data/lib/fluent/plugin/out_elasticsearch.rb +371 -0
- data/lib/fluent/plugin/out_elasticsearch_dynamic.rb +269 -0
- data/test/helper.rb +24 -0
- data/test/plugin/test_out_elasticsearch.rb +1138 -0
- data/test/plugin/test_out_elasticsearch_dynamic.rb +647 -0
- data/test/plugin/test_template.json +23 -0
- metadata +165 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: cb30d99a573b6a5dda3def886ae8b8e5876e1165
|
4
|
+
data.tar.gz: 116e05b181c792994be6da78a9f824a91c773a23
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 97fbcd01165b4adfd39b6815209fd2b5edd126553fd7e3ff19fc24651ea13fafa97b85ed92edd662812929a89756b0e48b07e584b28cc485644384ca0803dafe
|
7
|
+
data.tar.gz: d0f29032ff2927cac254ebcafe2d87668e5e3c6c41fda109f25781d19f7244acbe8a472e277954fbe911f06d05cef48a1451e656f4bea50436029900ca2e90ba
|
data/.coveralls.yml
ADDED
data/.editorconfig
ADDED
data/.gitignore
ADDED
data/.travis.yml
ADDED
data/Gemfile
ADDED
@@ -0,0 +1,8 @@
|
|
1
|
+
source 'https://rubygems.org'
|
2
|
+
|
3
|
+
# Specify your gem's dependencies in fluent-plugin-elasticsearch.gemspec
|
4
|
+
gemspec
|
5
|
+
|
6
|
+
gem 'simplecov', require: false
|
7
|
+
gem 'coveralls', require: false
|
8
|
+
gem 'strptime', require: false if RUBY_ENGINE == "ruby" && RUBY_VERSION =~ /^2/
|
data/History.md
ADDED
@@ -0,0 +1,112 @@
|
|
1
|
+
## Changelog [[tags]](https://github.com/uken/fluent-plugin-elasticsearch/tags)
|
2
|
+
|
3
|
+
### [Unreleased]
|
4
|
+
|
5
|
+
### 1.9.1
|
6
|
+
- Cast `reload_*` configs in out_elasticsearch_dynamic to bool (#220)
|
7
|
+
|
8
|
+
### 1.9.0
|
9
|
+
- add `time_parse_error_tag` (#211)
|
10
|
+
- add `reconnect_on_error` (#214)
|
11
|
+
|
12
|
+
### 1.9.0.rc.1
|
13
|
+
- Optimize output plugins (#203)
|
14
|
+
|
15
|
+
### 1.8.0
|
16
|
+
- fix typo in defaults for ssl_verify on elasticsearch_dynamic (#202)
|
17
|
+
- add support for `templates` (#196)
|
18
|
+
- rename `send` method to `send_bulk` (#206)
|
19
|
+
|
20
|
+
### 1.7.0
|
21
|
+
- add support for `template_name` and `template_file` (#194)
|
22
|
+
|
23
|
+
### 1.6.0
|
24
|
+
- add support for dot separated `target_index_key` and `target_type_key` (#175)
|
25
|
+
- add `remove_keys_on_update` and `remove_keys_on_update_key` (#189)
|
26
|
+
- fix support for fluentd v0.14 (#191)
|
27
|
+
- remove support for elasticsearch v2 for now (#177)
|
28
|
+
|
29
|
+
### 1.5.0
|
30
|
+
- add `routing_key` (#158)
|
31
|
+
- add `time_key_exclude_timestamp` to exclude `@timestamp` (#161)
|
32
|
+
- convert index names to lowercase (#163)
|
33
|
+
- add `remove_keys` (#164)
|
34
|
+
- add `flatten_hashes` (#168)
|
35
|
+
- add `target_type_key` (#169)
|
36
|
+
|
37
|
+
### 1.4.0
|
38
|
+
- add `target_index_key` to specify target index (#153)
|
39
|
+
- add `time_key_format` for faster time format parsing (#154)
|
40
|
+
|
41
|
+
### 1.3.0
|
42
|
+
- add `write_operation`
|
43
|
+
|
44
|
+
### 1.2.1
|
45
|
+
- fix `resurrect_after` in out_elasticsearch_dynamic
|
46
|
+
|
47
|
+
### 1.2.0
|
48
|
+
- out_elasticsearch_dynamic get memory improvement and fix for race condition (#133)
|
49
|
+
- Add `resurrect_after` option (#136)
|
50
|
+
|
51
|
+
### 1.1.0
|
52
|
+
- Support SSL client verification and custom CA file (#123)
|
53
|
+
- Release experimental `type elasticsearch_dynamic` (#127)
|
54
|
+
|
55
|
+
### 1.0.0
|
56
|
+
- password config param is now marked as secret and won't be displayed in logs.
|
57
|
+
|
58
|
+
### 0.9.0
|
59
|
+
- Add `ssl_verify` option (#108)
|
60
|
+
|
61
|
+
### 0.8.0
|
62
|
+
- Replace Patron with Excon HTTP client (#93)
|
63
|
+
|
64
|
+
### 0.7.0
|
65
|
+
- Add new option `time_key` (#85)
|
66
|
+
|
67
|
+
### 0.6.1
|
68
|
+
- 0.10.43 is minimum version required of fluentd (#79)
|
69
|
+
|
70
|
+
### 0.6.0
|
71
|
+
- added `reload_on_failure` and `reload_connections` flags (#78)
|
72
|
+
|
73
|
+
### 0.5.1
|
74
|
+
- fix legacy hosts option, port should be optional (#75)
|
75
|
+
|
76
|
+
### 0.5.0
|
77
|
+
- add full connection URI support (#65)
|
78
|
+
- use `@timestamp` for index (#41)
|
79
|
+
- add support for elasticsearch gem version 1 (#71)
|
80
|
+
- fix connection reset & retry when connection is lost (#67)
|
81
|
+
|
82
|
+
### 0.4.0
|
83
|
+
- add `request_timeout` config (#59)
|
84
|
+
- fix lockup when non-hash values are sent (#52)
|
85
|
+
|
86
|
+
### 0.3.1
|
87
|
+
- force using patron (#46)
|
88
|
+
- do not generate @timestamp if already part of message (#35)
|
89
|
+
|
90
|
+
### 0.3.0
|
91
|
+
- add `parent_key` option (#28)
|
92
|
+
- have travis-ci build on multiple rubies (#30)
|
93
|
+
- add `utc_index` and `hosts` options, switch to using `elasticsearch` gem (#26, #29)
|
94
|
+
|
95
|
+
### 0.2.0
|
96
|
+
- fix encoding issues with JSON conversion and again when sending to elasticsearch (#19, #21)
|
97
|
+
- add logstash_dateformat option (#20)
|
98
|
+
|
99
|
+
### 0.1.4
|
100
|
+
- add logstash_prefix option
|
101
|
+
|
102
|
+
### 0.1.3
|
103
|
+
- raising an exception on non-success response from elasticsearch
|
104
|
+
|
105
|
+
### 0.1.2
|
106
|
+
- add id_key option
|
107
|
+
|
108
|
+
### 0.1.1
|
109
|
+
- fix timezone in logstash key
|
110
|
+
|
111
|
+
### 0.1.0
|
112
|
+
- Initial gem release.
|
data/ISSUE_TEMPLATE.md
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2012 Uken Games
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
@@ -0,0 +1,10 @@
|
|
1
|
+
DESCRIPTION HERE
|
2
|
+
|
3
|
+
(check all that apply)
|
4
|
+
- [ ] tests added
|
5
|
+
- [ ] tests passing
|
6
|
+
- [ ] README updated (if needed)
|
7
|
+
- [ ] README Table of Contents updated (if needed)
|
8
|
+
- [ ] History.md and `version` in gemspec are untouched
|
9
|
+
- [ ] backward compatible
|
10
|
+
- [ ] feature works in `elasticsearch_dynamic` (not required but recommended)
|