logstash-input-elasticsearch 4.0.4 → 4.0.5
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 +4 -4
- data/CHANGELOG.md +3 -0
- data/docs/index.asciidoc +28 -18
- data/logstash-input-elasticsearch.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3b5f704f5b8a52398cc719f21fc06a86be0169a2
|
|
4
|
+
data.tar.gz: 495ae9955ec5c1ad60703164271ac568d1b776d3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: efffda61f2fbcc59ea1d57818c29c35fd5558f1b54b2ce34c0eb98160234b15ff5ad2ebc5cf2428ffd2cd724a67bc0b2ae65e19645ac8d369e526e0026f1f809
|
|
7
|
+
data.tar.gz: 64e1e4058af406959f555c5c3ddd3f5a37d8952cc2593655c4f1ee88bc74ae074eac6c3a7defc1c161a3e2e92f2be6e9b23d73028645b72a791a240f3bb57dfe
|
data/CHANGELOG.md
CHANGED
data/docs/index.asciidoc
CHANGED
|
@@ -12,7 +12,7 @@ START - GENERATED VARIABLES, DO NOT EDIT!
|
|
|
12
12
|
END - GENERATED VARIABLES, DO NOT EDIT!
|
|
13
13
|
///////////////////////////////////////////
|
|
14
14
|
|
|
15
|
-
[id="plugins-{type}-{plugin}"]
|
|
15
|
+
[id="plugins-{type}s-{plugin}"]
|
|
16
16
|
|
|
17
17
|
=== Elasticsearch input plugin
|
|
18
18
|
|
|
@@ -88,7 +88,8 @@ input plugins.
|
|
|
88
88
|
* Value type is <<path,path>>
|
|
89
89
|
* There is no default value for this setting.
|
|
90
90
|
|
|
91
|
-
SSL Certificate Authority file in PEM encoded format, must also
|
|
91
|
+
SSL Certificate Authority file in PEM encoded format, must also
|
|
92
|
+
include any chain certificates as necessary.
|
|
92
93
|
|
|
93
94
|
[id="plugins-{type}s-{plugin}-docinfo"]
|
|
94
95
|
===== `docinfo`
|
|
@@ -111,7 +112,7 @@ Example
|
|
|
111
112
|
elasticsearch {
|
|
112
113
|
hosts => "es.production.mysite.org"
|
|
113
114
|
index => "mydata-2018.09.*"
|
|
114
|
-
query => "*"
|
|
115
|
+
query => '{ "query": { "query_string": { "query": "*" } } }'
|
|
115
116
|
size => 500
|
|
116
117
|
scroll => "5m"
|
|
117
118
|
docinfo => true
|
|
@@ -132,9 +133,11 @@ Example
|
|
|
132
133
|
* Value type is <<array,array>>
|
|
133
134
|
* Default value is `["_index", "_type", "_id"]`
|
|
134
135
|
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
136
|
+
If document metadata storage is requested by enabling the `docinfo`
|
|
137
|
+
option, this option lists the metadata fields to save in the current
|
|
138
|
+
event. See
|
|
139
|
+
[Document Metadata](http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/_document_metadata.html)
|
|
140
|
+
in the Elasticsearch documentation for more information.
|
|
138
141
|
|
|
139
142
|
[id="plugins-{type}s-{plugin}-docinfo_target"]
|
|
140
143
|
===== `docinfo_target`
|
|
@@ -142,7 +145,9 @@ http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/_document_meta
|
|
|
142
145
|
* Value type is <<string,string>>
|
|
143
146
|
* Default value is `"@metadata"`
|
|
144
147
|
|
|
145
|
-
|
|
148
|
+
If document metadata storage is requested by enabling the `docinfo`
|
|
149
|
+
option, this option names the field under which to store the metadata
|
|
150
|
+
fields as subfields.
|
|
146
151
|
|
|
147
152
|
[id="plugins-{type}s-{plugin}-hosts"]
|
|
148
153
|
===== `hosts`
|
|
@@ -150,9 +155,9 @@ Where to move the Elasticsearch document information by default we use the @meta
|
|
|
150
155
|
* Value type is <<array,array>>
|
|
151
156
|
* There is no default value for this setting.
|
|
152
157
|
|
|
153
|
-
List of
|
|
154
|
-
|
|
155
|
-
|
|
158
|
+
List of one or more Elasticsearch hosts to use for querying. Each host
|
|
159
|
+
can be either IP, HOST, IP:port, or HOST:port. The port defaults to
|
|
160
|
+
9200.
|
|
156
161
|
|
|
157
162
|
[id="plugins-{type}s-{plugin}-index"]
|
|
158
163
|
===== `index`
|
|
@@ -168,17 +173,19 @@ The index or alias to search.
|
|
|
168
173
|
* Value type is <<password,password>>
|
|
169
174
|
* There is no default value for this setting.
|
|
170
175
|
|
|
171
|
-
|
|
176
|
+
The password to use together with the username in the `user` option
|
|
177
|
+
when authenticating to the Elasticsearch server. If set to an empty
|
|
178
|
+
string authentication will be disabled.
|
|
172
179
|
|
|
173
180
|
[id="plugins-{type}s-{plugin}-query"]
|
|
174
181
|
===== `query`
|
|
175
182
|
|
|
176
183
|
* Value type is <<string,string>>
|
|
177
|
-
* Default value is `
|
|
184
|
+
* Default value is `'{ "sort": [ "_doc" ] }'`
|
|
178
185
|
|
|
179
|
-
The query to be executed. Read the
|
|
180
|
-
|
|
181
|
-
|
|
186
|
+
The query to be executed. Read the
|
|
187
|
+
[Elasticsearch query DSL documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl.html)
|
|
188
|
+
for more information.
|
|
182
189
|
|
|
183
190
|
[id="plugins-{type}s-{plugin}-scroll"]
|
|
184
191
|
===== `scroll`
|
|
@@ -204,7 +211,8 @@ This allows you to set the maximum number of hits returned per scroll.
|
|
|
204
211
|
* Value type is <<boolean,boolean>>
|
|
205
212
|
* Default value is `false`
|
|
206
213
|
|
|
207
|
-
SSL
|
|
214
|
+
If enabled, SSL will be used when communicating with the Elasticsearch
|
|
215
|
+
server (i.e. HTTPS will be used instead of plain HTTP).
|
|
208
216
|
|
|
209
217
|
[id="plugins-{type}s-{plugin}-user"]
|
|
210
218
|
===== `user`
|
|
@@ -212,9 +220,11 @@ SSL
|
|
|
212
220
|
* Value type is <<string,string>>
|
|
213
221
|
* There is no default value for this setting.
|
|
214
222
|
|
|
215
|
-
|
|
223
|
+
The username to use together with the password in the `password`
|
|
224
|
+
option when authenticating to the Elasticsearch server. If set to an
|
|
225
|
+
empty string authentication will be disabled.
|
|
216
226
|
|
|
217
227
|
|
|
218
228
|
|
|
219
229
|
[id="plugins-{type}s-{plugin}-common-options"]
|
|
220
|
-
include::{include_path}/{type}.asciidoc[]
|
|
230
|
+
include::{include_path}/{type}.asciidoc[]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
|
|
3
3
|
s.name = 'logstash-input-elasticsearch'
|
|
4
|
-
s.version = '4.0.
|
|
4
|
+
s.version = '4.0.5'
|
|
5
5
|
s.licenses = ['Apache License (2.0)']
|
|
6
6
|
s.summary = "Read from an Elasticsearch cluster, based on search query results"
|
|
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.0.
|
|
4
|
+
version: 4.0.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Elastic
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-08-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|