logstash-output-elasticsearch 2.3.1-java → 2.3.2-java

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6720dcfb29582b30e380f7b7cec59a36186ae993
4
- data.tar.gz: 7fba87e883aacde019ae11a7e4f8704bf1f1ef2d
3
+ metadata.gz: 6adf3c643188045a088ba2644b722587058c4ede
4
+ data.tar.gz: bcc360c9005ac58487c1b77bb34656c34f94dc07
5
5
  SHA512:
6
- metadata.gz: cdefe2121f56174c9a1dd7b73b37469a7e685e2d1ec70afc8ac40e3ac5ed79f80517a1315db577e247c9ec6b59efc3137229e6a38b1c52462fc5637899917fa4
7
- data.tar.gz: fcbdf578c75aa22449ffb77a6887ff4e2aee67228ab84e7d12bd9d6bbf456dac54a83a8ca44b020ad01cc6ca2af274f18fd94f338fe2a00d33646a88274e0f80
6
+ metadata.gz: 6219cecf9a5087d54264f7554361f1bed8ead48f4d86f509f39ec47a421b629d4ecbadd2df171ac39bedbaae6c8d5f7f0b46183e920a96bf8ffdbc5850762b3a
7
+ data.tar.gz: 5159a07fcc22e82f4bc6c711f51d95e46cdca302758bb6f51e19dc1897ba4c2df2243bba3b6adcd7372e41c371cbaf7c3f5cade6d99a15d21e342b9b5cca1377
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 2.3.2
2
+ - Fix bug where max_retry_interval was not respected for HTTP error codes
3
+
1
4
  ## 2.3.1
2
5
  - Bump manticore dependenvy to 0.5.2
3
6
 
@@ -77,7 +77,7 @@ module LogStash; module Outputs; class ElasticSearch;
77
77
  # Initially we submit the full list of actions
78
78
  submit_actions = actions
79
79
 
80
- while submit_actions && submit_actions.length
80
+ while submit_actions && submit_actions.length > 0
81
81
  return if !submit_actions || submit_actions.empty? # If everything's a success we move along
82
82
  # We retry with whatever is didn't succeed
83
83
  begin
@@ -88,6 +88,8 @@ module LogStash; module Outputs; class ElasticSearch;
88
88
  :class => e.class.name,
89
89
  :backtrace => e.backtrace)
90
90
  end
91
+
92
+ sleep @retry_max_interval if submit_actions && submit_actions.length > 0
91
93
  end
92
94
  end
93
95
 
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-output-elasticsearch'
4
- s.version = '2.3.1'
4
+ s.version = '2.3.2'
5
5
  s.licenses = ['apache-2.0']
6
6
  s.summary = "Logstash Output to Elasticsearch"
7
7
  s.description = "Output events to elasticsearch"
metadata CHANGED
@@ -1,30 +1,39 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-elasticsearch
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.1
4
+ version: 2.3.2
5
5
  platform: java
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-22 00:00:00.000000000 Z
11
+ date: 2016-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
+ name: concurrent-ruby
15
+ version_requirements: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
14
20
  requirement: !ruby/object:Gem::Requirement
15
21
  requirements:
16
22
  - - '>='
17
23
  - !ruby/object:Gem::Version
18
24
  version: '0'
19
- name: concurrent-ruby
20
25
  prerelease: false
21
26
  type: :runtime
27
+ - !ruby/object:Gem::Dependency
28
+ name: elasticsearch
22
29
  version_requirements: !ruby/object:Gem::Requirement
23
30
  requirements:
24
31
  - - '>='
25
32
  - !ruby/object:Gem::Version
26
- version: '0'
27
- - !ruby/object:Gem::Dependency
33
+ version: 1.0.13
34
+ - - ~>
35
+ - !ruby/object:Gem::Version
36
+ version: '1.0'
28
37
  requirement: !ruby/object:Gem::Requirement
29
38
  requirements:
30
39
  - - '>='
@@ -33,18 +42,18 @@ dependencies:
33
42
  - - ~>
34
43
  - !ruby/object:Gem::Version
35
44
  version: '1.0'
36
- name: elasticsearch
37
45
  prerelease: false
38
46
  type: :runtime
47
+ - !ruby/object:Gem::Dependency
48
+ name: stud
39
49
  version_requirements: !ruby/object:Gem::Requirement
40
50
  requirements:
41
51
  - - '>='
42
52
  - !ruby/object:Gem::Version
43
- version: 1.0.13
53
+ version: 0.0.17
44
54
  - - ~>
45
55
  - !ruby/object:Gem::Version
46
- version: '1.0'
47
- - !ruby/object:Gem::Dependency
56
+ version: '0.0'
48
57
  requirement: !ruby/object:Gem::Requirement
49
58
  requirements:
50
59
  - - '>='
@@ -53,33 +62,25 @@ dependencies:
53
62
  - - ~>
54
63
  - !ruby/object:Gem::Version
55
64
  version: '0.0'
56
- name: stud
57
65
  prerelease: false
58
66
  type: :runtime
67
+ - !ruby/object:Gem::Dependency
68
+ name: cabin
59
69
  version_requirements: !ruby/object:Gem::Requirement
60
70
  requirements:
61
- - - '>='
62
- - !ruby/object:Gem::Version
63
- version: 0.0.17
64
71
  - - ~>
65
72
  - !ruby/object:Gem::Version
66
- version: '0.0'
67
- - !ruby/object:Gem::Dependency
73
+ version: '0.6'
68
74
  requirement: !ruby/object:Gem::Requirement
69
75
  requirements:
70
76
  - - ~>
71
77
  - !ruby/object:Gem::Version
72
78
  version: '0.6'
73
- name: cabin
74
79
  prerelease: false
75
80
  type: :runtime
76
- version_requirements: !ruby/object:Gem::Requirement
77
- requirements:
78
- - - ~>
79
- - !ruby/object:Gem::Version
80
- version: '0.6'
81
81
  - !ruby/object:Gem::Dependency
82
- requirement: !ruby/object:Gem::Requirement
82
+ name: logstash-core
83
+ version_requirements: !ruby/object:Gem::Requirement
83
84
  requirements:
84
85
  - - '>='
85
86
  - !ruby/object:Gem::Version
@@ -87,10 +88,7 @@ dependencies:
87
88
  - - <
88
89
  - !ruby/object:Gem::Version
89
90
  version: 3.0.0
90
- name: logstash-core
91
- prerelease: false
92
- type: :runtime
93
- version_requirements: !ruby/object:Gem::Requirement
91
+ requirement: !ruby/object:Gem::Requirement
94
92
  requirements:
95
93
  - - '>='
96
94
  - !ruby/object:Gem::Version
@@ -98,35 +96,46 @@ dependencies:
98
96
  - - <
99
97
  - !ruby/object:Gem::Version
100
98
  version: 3.0.0
99
+ prerelease: false
100
+ type: :runtime
101
101
  - !ruby/object:Gem::Dependency
102
+ name: ftw
103
+ version_requirements: !ruby/object:Gem::Requirement
104
+ requirements:
105
+ - - ~>
106
+ - !ruby/object:Gem::Version
107
+ version: 0.0.42
102
108
  requirement: !ruby/object:Gem::Requirement
103
109
  requirements:
104
110
  - - ~>
105
111
  - !ruby/object:Gem::Version
106
112
  version: 0.0.42
107
- name: ftw
108
113
  prerelease: false
109
114
  type: :development
115
+ - !ruby/object:Gem::Dependency
116
+ name: logstash-codec-plain
110
117
  version_requirements: !ruby/object:Gem::Requirement
111
118
  requirements:
112
- - - ~>
119
+ - - '>='
113
120
  - !ruby/object:Gem::Version
114
- version: 0.0.42
115
- - !ruby/object:Gem::Dependency
121
+ version: '0'
116
122
  requirement: !ruby/object:Gem::Requirement
117
123
  requirements:
118
124
  - - '>='
119
125
  - !ruby/object:Gem::Version
120
126
  version: '0'
121
- name: logstash-codec-plain
122
127
  prerelease: false
123
128
  type: :development
129
+ - !ruby/object:Gem::Dependency
130
+ name: manticore
124
131
  version_requirements: !ruby/object:Gem::Requirement
125
132
  requirements:
126
133
  - - '>='
127
134
  - !ruby/object:Gem::Version
128
- version: '0'
129
- - !ruby/object:Gem::Dependency
135
+ version: 0.5.2
136
+ - - <
137
+ - !ruby/object:Gem::Version
138
+ version: 1.0.0
130
139
  requirement: !ruby/object:Gem::Requirement
131
140
  requirements:
132
141
  - - '>='
@@ -135,59 +144,50 @@ dependencies:
135
144
  - - <
136
145
  - !ruby/object:Gem::Version
137
146
  version: 1.0.0
138
- name: manticore
139
147
  prerelease: false
140
148
  type: :runtime
149
+ - !ruby/object:Gem::Dependency
150
+ name: logstash-devutils
141
151
  version_requirements: !ruby/object:Gem::Requirement
142
152
  requirements:
143
153
  - - '>='
144
154
  - !ruby/object:Gem::Version
145
- version: 0.5.2
146
- - - <
147
- - !ruby/object:Gem::Version
148
- version: 1.0.0
149
- - !ruby/object:Gem::Dependency
155
+ version: '0'
150
156
  requirement: !ruby/object:Gem::Requirement
151
157
  requirements:
152
158
  - - '>='
153
159
  - !ruby/object:Gem::Version
154
160
  version: '0'
155
- name: logstash-devutils
156
161
  prerelease: false
157
162
  type: :development
163
+ - !ruby/object:Gem::Dependency
164
+ name: longshoreman
158
165
  version_requirements: !ruby/object:Gem::Requirement
159
166
  requirements:
160
167
  - - '>='
161
168
  - !ruby/object:Gem::Version
162
169
  version: '0'
163
- - !ruby/object:Gem::Dependency
164
170
  requirement: !ruby/object:Gem::Requirement
165
171
  requirements:
166
172
  - - '>='
167
173
  - !ruby/object:Gem::Version
168
174
  version: '0'
169
- name: longshoreman
170
175
  prerelease: false
171
176
  type: :development
177
+ - !ruby/object:Gem::Dependency
178
+ name: flores
172
179
  version_requirements: !ruby/object:Gem::Requirement
173
180
  requirements:
174
181
  - - '>='
175
182
  - !ruby/object:Gem::Version
176
183
  version: '0'
177
- - !ruby/object:Gem::Dependency
178
184
  requirement: !ruby/object:Gem::Requirement
179
185
  requirements:
180
186
  - - '>='
181
187
  - !ruby/object:Gem::Version
182
188
  version: '0'
183
- name: flores
184
189
  prerelease: false
185
190
  type: :development
186
- version_requirements: !ruby/object:Gem::Requirement
187
- requirements:
188
- - - '>='
189
- - !ruby/object:Gem::Version
190
- version: '0'
191
191
  description: Output events to elasticsearch
192
192
  email: info@elastic.co
193
193
  executables: []
@@ -246,7 +246,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
246
246
  version: '0'
247
247
  requirements: []
248
248
  rubyforge_project:
249
- rubygems_version: 2.4.5
249
+ rubygems_version: 2.4.8
250
250
  signing_key:
251
251
  specification_version: 4
252
252
  summary: Logstash Output to Elasticsearch