You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The maximum amount of time, in seconds, to wait while establishing a connection to Elasticsearch.
200
201
Connect timeouts tend to occur when Elasticsearch or an intermediate proxy is overloaded with requests and has exhausted its connection pool.
201
202
203
+
[id="plugins-{type}s-{plugin}-custom_headers"]
204
+
===== `custom_headers`
205
+
206
+
* Value type is <<hash,hash>>
207
+
* Default value is empty
208
+
209
+
Pass a set of key value pairs as the headers sent in each request to an elasticsearch node.
210
+
The headers will be used for any kind of request.
211
+
These custom headers will override any headers previously set by the plugin such as the User Agent or Authorization headers.
212
+
202
213
[id="plugins-{type}s-{plugin}-docinfo"]
203
-
===== `docinfo`
214
+
===== `docinfo`
204
215
205
216
* Value type is <<boolean,boolean>>
206
217
* Default value is `false`
@@ -251,7 +262,7 @@ Example
251
262
252
263
253
264
[id="plugins-{type}s-{plugin}-docinfo_fields"]
254
-
===== `docinfo_fields`
265
+
===== `docinfo_fields`
255
266
256
267
* Value type is <<array,array>>
257
268
* Default value is `["_index", "_type", "_id"]`
@@ -262,7 +273,7 @@ option lists the metadata fields to save in the current event. See
262
273
more information.
263
274
264
275
[id="plugins-{type}s-{plugin}-docinfo_target"]
265
-
===== `docinfo_target`
276
+
===== `docinfo_target`
266
277
267
278
* Value type is <<string,string>>
268
279
* Default value depends on whether <<plugins-{type}s-{plugin}-ecs_compatibility>> is enabled:
@@ -286,7 +297,7 @@ this option names the field under which to store the metadata fields as subfield
286
297
Controls this plugin's compatibility with the {ecs-ref}[Elastic Common Schema (ECS)].
287
298
288
299
[id="plugins-{type}s-{plugin}-hosts"]
289
-
===== `hosts`
300
+
===== `hosts`
290
301
291
302
* Value type is <<array,array>>
292
303
* There is no default value for this setting.
@@ -296,18 +307,18 @@ can be either IP, HOST, IP:port, or HOST:port. The port defaults to
296
307
9200.
297
308
298
309
[id="plugins-{type}s-{plugin}-index"]
299
-
===== `index`
310
+
===== `index`
300
311
301
312
* Value type is <<string,string>>
302
313
* Default value is `"logstash-*"`
303
314
304
-
The index or alias to search.
315
+
The index or alias to search.
305
316
Check out {ref}/api-conventions.html#api-multi-index[Multi Indices
306
317
documentation] in the Elasticsearch documentation for info on
307
318
referencing multiple indices.
308
319
309
320
[id="plugins-{type}s-{plugin}-password"]
310
-
===== `password`
321
+
===== `password`
311
322
312
323
* Value type is <<password,password>>
313
324
* There is no default value for this setting.
@@ -327,7 +338,7 @@ An empty string is treated as if proxy was not set, this is useful when using
327
338
environment variables e.g. `proxy => '${LS_PROXY:}'`.
328
339
329
340
[id="plugins-{type}s-{plugin}-query"]
330
-
===== `query`
341
+
===== `query`
331
342
332
343
* Value type is <<string,string>>
333
344
* Default value is `'{ "sort": [ "_doc" ] }'`
@@ -375,7 +386,7 @@ The default is 0 (no retry). This value should be equal to or greater than zero.
375
386
NOTE: Partial failures - such as errors in a subset of all slices - can result in the entire query being retried, which can lead to duplication of data. Avoiding this would require Logstash to store the entire result set of a query in memory which is often not possible.
376
387
377
388
[id="plugins-{type}s-{plugin}-schedule"]
378
-
===== `schedule`
389
+
===== `schedule`
379
390
380
391
* Value type is <<string,string>>
381
392
* There is no default value for this setting.
@@ -387,7 +398,7 @@ There is no schedule by default. If no schedule is given, then the statement is
387
398
exactly once.
388
399
389
400
[id="plugins-{type}s-{plugin}-scroll"]
390
-
===== `scroll`
401
+
===== `scroll`
391
402
392
403
* Value type is <<string,string>>
393
404
* Default value is `"1m"`
@@ -410,7 +421,7 @@ The query requires at least one `sort` field, as described in the <<plugins-{typ
410
421
`scroll` uses {ref}/paginate-search-results.html#scroll-search-results[scroll] API to search, which is no longer recommended.
411
422
412
423
[id="plugins-{type}s-{plugin}-size"]
413
-
===== `size`
424
+
===== `size`
414
425
415
426
* Value type is <<number,number>>
416
427
* Default value is `1000`
@@ -598,7 +609,7 @@ It is also possible to target an entry in the event's metadata, which will be av
Copy file name to clipboardExpand all lines: logstash-input-elasticsearch.gemspec
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
Gem::Specification.newdo |s|
2
2
3
3
s.name='logstash-input-elasticsearch'
4
-
s.version='4.20.5'
4
+
s.version='4.21.0'
5
5
s.licenses=['Apache License (2.0)']
6
6
s.summary="Reads query results from an Elasticsearch cluster"
7
7
s.description="This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"
0 commit comments