logstash-input-elasticsearch 4.9.0 → 4.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +1 -1
- data/docs/index.asciidoc +12 -16
- data/logstash-input-elasticsearch.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 70ea634a4cac65bd247f61462fc51679e7f331191879200061538f5996f3f832
|
4
|
+
data.tar.gz: c813467a5737330193d68c248e35cdc74fa1ba5150823e59530623ace7b62ed4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: acd8b8807b116d1b926a5d286edce78b4aee0c3d37c86df18933f973c8684b870a63b70626bcc21bcc29f5cb0ec8420b3b1e64715df24eccd9d091f6b7669334
|
7
|
+
data.tar.gz: 6b2c2b47af0b30881120a36118c9dac6b77ff6d01a2f0db396cc218977ad361fd8b9a56966ba623135709d74ad1fc2c6640dddb80148ecb44f5d5f24aef06b83
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
## 4.9.1
|
2
|
+
- [DOC] Replaced hard-coded links with shared attributes [#143](https://github.com/logstash-plugins/logstash-input-elasticsearch/pull/143)
|
3
|
+
- [DOC] Added missing quote to docinfo_fields example [#145](https://github.com/logstash-plugins/logstash-input-elasticsearch/pull/145)
|
4
|
+
|
1
5
|
## 4.9.0
|
2
6
|
- Added `target` option, allowing the hit's source to target a specific field instead of being expanded at the root of the event. This allows the input to play nicer with the Elastic Common Schema when the input does not follow the schema. [#117](https://github.com/logstash-plugins/logstash-input-elasticsearch/issues/117)
|
3
7
|
|
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# Logstash Plugin
|
2
2
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/logstash-input-elasticsearch.svg)](https://badge.fury.io/rb/logstash-input-elasticsearch)
|
4
|
-
[![Travis Build Status](https://travis-ci.
|
4
|
+
[![Travis Build Status](https://travis-ci.com/logstash-plugins/logstash-input-elasticsearch.svg)](https://travis-ci.com/logstash-plugins/logstash-input-elasticsearch)
|
5
5
|
|
6
6
|
This is a plugin for [Logstash](https://github.com/elastic/logstash).
|
7
7
|
|
data/docs/index.asciidoc
CHANGED
@@ -111,7 +111,7 @@ This plugin supports the following configuration options plus the <<plugins-{typ
|
|
111
111
|
| <<plugins-{type}s-{plugin}-slices>> |<<number,number>>|No
|
112
112
|
| <<plugins-{type}s-{plugin}-ssl>> |<<boolean,boolean>>|No
|
113
113
|
| <<plugins-{type}s-{plugin}-socket_timeout_seconds>> | <<number,number>>|No
|
114
|
-
| <<plugins-{type}s-{plugin}-target>> |
|
114
|
+
| <<plugins-{type}s-{plugin}-target>> | {logstash-ref}/field-references-deepdive.html[field reference] | No
|
115
115
|
| <<plugins-{type}s-{plugin}-user>> |<<string,string>>|No
|
116
116
|
|=======================================================================
|
117
117
|
|
@@ -130,7 +130,7 @@ Authenticate using Elasticsearch API key. Note that this option also requires en
|
|
130
130
|
|
131
131
|
Format is `id:api_key` where `id` and `api_key` are as returned by the
|
132
132
|
Elasticsearch
|
133
|
-
|
133
|
+
{ref}/security-api-create-api-key.html[Create
|
134
134
|
API key API].
|
135
135
|
|
136
136
|
[id="plugins-{type}s-{plugin}-ca_file"]
|
@@ -150,8 +150,7 @@ SSL Certificate Authority file in PEM encoded format, must also include any chai
|
|
150
150
|
Cloud authentication string ("<username>:<password>" format) is an alternative for the `user`/`password` pair.
|
151
151
|
|
152
152
|
For more info, check out the
|
153
|
-
|
154
|
-
documentation]
|
153
|
+
{logstash-ref}/connecting-to-cloud.html[Logstash-to-Cloud documentation].
|
155
154
|
|
156
155
|
[id="plugins-{type}s-{plugin}-cloud_id"]
|
157
156
|
===== `cloud_id`
|
@@ -162,8 +161,7 @@ documentation]
|
|
162
161
|
Cloud ID, from the Elastic Cloud web console. If set `hosts` should not be used.
|
163
162
|
|
164
163
|
For more info, check out the
|
165
|
-
|
166
|
-
documentation]
|
164
|
+
{logstash-ref}/connecting-to-cloud.html[Logstash-to-Cloud documentation].
|
167
165
|
|
168
166
|
[id="plugins-{type}s-{plugin}-connect_timeout_seconds"]
|
169
167
|
===== `connect_timeout_seconds`
|
@@ -217,7 +215,7 @@ Example
|
|
217
215
|
elasticsearch {
|
218
216
|
docinfo => true
|
219
217
|
add_field => {
|
220
|
-
identifier => %{[@metadata][_index]}:%{[@metadata][_type]}:%{[@metadata][_id]}"
|
218
|
+
identifier => "%{[@metadata][_index]}:%{[@metadata][_type]}:%{[@metadata][_id]}"
|
221
219
|
}
|
222
220
|
}
|
223
221
|
}
|
@@ -260,10 +258,9 @@ can be either IP, HOST, IP:port, or HOST:port. The port defaults to
|
|
260
258
|
* Value type is <<string,string>>
|
261
259
|
* Default value is `"logstash-*"`
|
262
260
|
|
263
|
-
The index or alias to search. See
|
264
|
-
|
265
|
-
|
266
|
-
multiple indices.
|
261
|
+
The index or alias to search. See {ref}/multi-index.html[Multi Indices
|
262
|
+
documentation] in the Elasticsearch documentation for more information on how to
|
263
|
+
reference multiple indices.
|
267
264
|
|
268
265
|
|
269
266
|
[id="plugins-{type}s-{plugin}-password"]
|
@@ -292,9 +289,8 @@ environment variables e.g. `proxy => '${LS_PROXY:}'`.
|
|
292
289
|
* Value type is <<string,string>>
|
293
290
|
* Default value is `'{ "sort": [ "_doc" ] }'`
|
294
291
|
|
295
|
-
The query to be executed. Read the
|
296
|
-
|
297
|
-
for more information.
|
292
|
+
The query to be executed. Read the {ref}/query-dsl.html[Elasticsearch query DSL
|
293
|
+
documentation] for more information.
|
298
294
|
|
299
295
|
[id="plugins-{type}s-{plugin}-request_timeout_seconds"]
|
300
296
|
===== `request_timeout_seconds`
|
@@ -345,7 +341,7 @@ This allows you to set the maximum number of hits returned per scroll.
|
|
345
341
|
|
346
342
|
In some cases, it is possible to improve overall throughput by consuming multiple
|
347
343
|
distinct slices of a query simultaneously using
|
348
|
-
|
344
|
+
{ref}/paginate-search-results.html#slice-scroll[sliced scrolls],
|
349
345
|
especially if the pipeline is spending significant time waiting on Elasticsearch
|
350
346
|
to provide results.
|
351
347
|
|
@@ -382,7 +378,7 @@ Socket timeouts usually occur while waiting for the first byte of a response, su
|
|
382
378
|
[id="plugins-{type}s-{plugin}-target"]
|
383
379
|
===== `target`
|
384
380
|
|
385
|
-
* Value type is
|
381
|
+
* Value type is {logstash-ref}/field-references-deepdive.html[field reference]
|
386
382
|
* There is no default value for this setting.
|
387
383
|
|
388
384
|
Without a `target`, events are created from each hit's `_source` at the root level.
|
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
|
3
3
|
s.name = 'logstash-input-elasticsearch'
|
4
|
-
s.version = '4.9.
|
4
|
+
s.version = '4.9.1'
|
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"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-input-elasticsearch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.9.
|
4
|
+
version: 4.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elastic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -245,7 +245,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
245
245
|
version: '0'
|
246
246
|
requirements: []
|
247
247
|
rubyforge_project:
|
248
|
-
rubygems_version: 2.
|
248
|
+
rubygems_version: 2.6.13
|
249
249
|
signing_key:
|
250
250
|
specification_version: 4
|
251
251
|
summary: Reads query results from an Elasticsearch cluster
|