logstash-input-http_poller 5.0.1 → 5.0.2
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 -1
- data/LICENSE +3 -3
- data/docs/index.asciidoc +49 -20
- data/logstash-input-http_poller.gemspec +1 -1
- data/spec/inputs/http_poller_spec.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50ae088dbf54c3b101fdbb36f6743d9525c4664ef9dc592ba3d351580a8712a8
|
4
|
+
data.tar.gz: 0ea8ab2cfae1a16dd3faadf4a1af9ccac2b9e235d1ac0a83353ed21e95c70b78
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47457f51157fb74494d11b03567af00c7855f1824b020740c836977fd99f3b91a06bbde2724148205971c4ff02dc539580537e90088dd36a14e5daf09311d94d
|
7
|
+
data.tar.gz: 982dd17052f30f21f8a4d6d1e852260f0955d11f0d42eae0dcc003a3478522fb4cb4a8310e57db821238127aefbe728cd758154e689045dc7dbc221ca29f617b
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
## 5.0.2
|
2
|
+
- [DOC]Expanded url option to include Manticore keys [#119](https://github.com/logstash-plugins/logstash-input-http_poller/pull/119)
|
3
|
+
|
1
4
|
## 5.0.1
|
2
5
|
- Fixed minor doc and doc formatting issues [#107](https://github.com/logstash-plugins/logstash-input-http_poller/pull/107)
|
3
6
|
|
@@ -18,7 +21,7 @@
|
|
18
21
|
- Docs: Remove row in overview table to fix build error
|
19
22
|
|
20
23
|
## 4.0.2
|
21
|
-
- Don't bleed URLs credentials on startup and on exception #82
|
24
|
+
- Don't bleed URLs credentials on startup and on exception [#82](https://github.com/logstash-plugins/logstash-input-http_poller/pull/82)
|
22
25
|
|
23
26
|
## 4.0.1
|
24
27
|
- Fix some documentation issues
|
data/LICENSE
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
|
1
2
|
Apache License
|
2
3
|
Version 2.0, January 2004
|
3
4
|
http://www.apache.org/licenses/
|
@@ -178,7 +179,7 @@
|
|
178
179
|
APPENDIX: How to apply the Apache License to your work.
|
179
180
|
|
180
181
|
To apply the Apache License to your work, attach the following
|
181
|
-
boilerplate notice, with the fields enclosed by brackets "
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
182
183
|
replaced with your own identifying information. (Don't include
|
183
184
|
the brackets!) The text should be enclosed in the appropriate
|
184
185
|
comment syntax for the file format. We also recommend that a
|
@@ -186,7 +187,7 @@
|
|
186
187
|
same "printed page" as the copyright notice for easier
|
187
188
|
identification within third-party archives.
|
188
189
|
|
189
|
-
Copyright
|
190
|
+
Copyright 2020 Elastic and contributors
|
190
191
|
|
191
192
|
Licensed under the Apache License, Version 2.0 (the "License");
|
192
193
|
you may not use this file except in compliance with the License.
|
@@ -199,4 +200,3 @@
|
|
199
200
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
200
201
|
See the License for the specific language governing permissions and
|
201
202
|
limitations under the License.
|
202
|
-
|
data/docs/index.asciidoc
CHANGED
@@ -95,8 +95,6 @@ This plugin supports the following configuration options plus the <<plugins-{typ
|
|
95
95
|
[cols="<,<,<",options="header",]
|
96
96
|
|=======================================================================
|
97
97
|
|Setting |Input type|Required
|
98
|
-
| <<plugins-{type}s-{plugin}-user>> |<<string,string>>|no
|
99
|
-
| <<plugins-{type}s-{plugin}-password>> |<<password,password>>|No
|
100
98
|
| <<plugins-{type}s-{plugin}-automatic_retries>> |<<number,number>>|No
|
101
99
|
| <<plugins-{type}s-{plugin}-cacert>> |a valid filesystem path|No
|
102
100
|
| <<plugins-{type}s-{plugin}-client_cert>> |a valid filesystem path|No
|
@@ -109,6 +107,7 @@ This plugin supports the following configuration options plus the <<plugins-{typ
|
|
109
107
|
| <<plugins-{type}s-{plugin}-keystore_password>> |<<password,password>>|No
|
110
108
|
| <<plugins-{type}s-{plugin}-keystore_type>> |<<string,string>>|No
|
111
109
|
| <<plugins-{type}s-{plugin}-metadata_target>> |<<string,string>>|No
|
110
|
+
| <<plugins-{type}s-{plugin}-password>> |<<password,password>>|No
|
112
111
|
| <<plugins-{type}s-{plugin}-pool_max>> |<<number,number>>|No
|
113
112
|
| <<plugins-{type}s-{plugin}-pool_max_per_route>> |<<number,number>>|No
|
114
113
|
| <<plugins-{type}s-{plugin}-proxy>> |<<,>>|No
|
@@ -121,6 +120,7 @@ This plugin supports the following configuration options plus the <<plugins-{typ
|
|
121
120
|
| <<plugins-{type}s-{plugin}-truststore_password>> |<<password,password>>|No
|
122
121
|
| <<plugins-{type}s-{plugin}-truststore_type>> |<<string,string>>|No
|
123
122
|
| <<plugins-{type}s-{plugin}-urls>> |<<hash,hash>>|Yes
|
123
|
+
| <<plugins-{type}s-{plugin}-user>> |<<string,string>>|No
|
124
124
|
| <<plugins-{type}s-{plugin}-validate_after_inactivity>> |<<number,number>>|No
|
125
125
|
|=======================================================================
|
126
126
|
|
@@ -129,23 +129,6 @@ input plugins.
|
|
129
129
|
|
130
130
|
|
131
131
|
|
132
|
-
[id="plugins-{type}s-{plugin}-user"]
|
133
|
-
===== `user`
|
134
|
-
|
135
|
-
* Value type is <<string,string>>
|
136
|
-
* There is no default value for this setting.
|
137
|
-
|
138
|
-
Username to use with HTTP authentication for ALL requests. Note that you can also set this per-URL.
|
139
|
-
If you set this you must also set the `password` option.
|
140
|
-
|
141
|
-
[id="plugins-{type}s-{plugin}-password"]
|
142
|
-
===== `password`
|
143
|
-
|
144
|
-
* Value type is <<password,password>>
|
145
|
-
* There is no default value for this setting.
|
146
|
-
|
147
|
-
Password to be used in conjunction with the username for HTTP authentication.
|
148
|
-
|
149
132
|
[id="plugins-{type}s-{plugin}-automatic_retries"]
|
150
133
|
===== `automatic_retries`
|
151
134
|
|
@@ -249,6 +232,14 @@ If you'd like to work with the request/response metadata.
|
|
249
232
|
Set this value to the name of the field you'd like to store a nested
|
250
233
|
hash of metadata.
|
251
234
|
|
235
|
+
[id="plugins-{type}s-{plugin}-password"]
|
236
|
+
===== `password`
|
237
|
+
|
238
|
+
* Value type is <<password,password>>
|
239
|
+
* There is no default value for this setting.
|
240
|
+
|
241
|
+
Password to be used in conjunction with <<plugins-{type}s-{plugin}-user>> for HTTP authentication.
|
242
|
+
|
252
243
|
[id="plugins-{type}s-{plugin}-pool_max"]
|
253
244
|
===== `pool_max`
|
254
245
|
|
@@ -357,7 +348,45 @@ Specify the truststore type here. One of `JKS` or `PKCS12`. Default is `JKS`
|
|
357
348
|
* There is no default value for this setting.
|
358
349
|
|
359
350
|
A Hash of urls in this format : `"name" => "url"`.
|
360
|
-
The name and the url will be passed in the
|
351
|
+
The name and the url will be passed in the outputted event.
|
352
|
+
|
353
|
+
The values in urls can be either:
|
354
|
+
|
355
|
+
* a string url (which will be issued as an HTTP GET).
|
356
|
+
* a sub-hash containing many useful keys provided by the Manticore backend:
|
357
|
+
** url: the String url
|
358
|
+
** method: (optional) the HTTP method to use (defaults to GET)
|
359
|
+
** user: (optional) the HTTP Basic Auth user. The user must be under
|
360
|
+
an auth sub-hash for Manticore, but this plugin also accepts it either way.
|
361
|
+
** password: (optional) the HTTP Basic Auth password. The password
|
362
|
+
must be under an auth sub-hash for Manticore, but this plugin accepts it either way.
|
363
|
+
** headers: a hash containing key-value pairs of headers.
|
364
|
+
** body: a string (supported only on POST and PUT requests)
|
365
|
+
** possibly other options mentioned in the
|
366
|
+
https://www.rubydoc.info/github/cheald/manticore/Manticore/Client#http-instance_method[Manticore docs].
|
367
|
+
Note that Manticore options that are not explicitly documented above are not
|
368
|
+
thoroughly tested and therefore liable to break in unexpected ways if we
|
369
|
+
replace the backend.
|
370
|
+
|
371
|
+
*Notes:*
|
372
|
+
|
373
|
+
* Passwords specified as a part of `urls` are prone to exposure in plugin log output.
|
374
|
+
The plugin does not declare them as passwords, and therefore doesn't wrap them in
|
375
|
+
leak-reducing wrappers as we do elsewhere.
|
376
|
+
* We don't guarantee that boolean-type options like Manticore's `follow_redirects` are supported
|
377
|
+
correctly. The strings `true` or `false` may get passed through, and in ruby any
|
378
|
+
string is "truthy."
|
379
|
+
* Our implementation of this plugin precludes the ability to specify auth[:eager]
|
380
|
+
as anything other than true
|
381
|
+
|
382
|
+
[id="plugins-{type}s-{plugin}-user"]
|
383
|
+
===== `user`
|
384
|
+
|
385
|
+
* Value type is <<string,string>>
|
386
|
+
* There is no default value for this setting.
|
387
|
+
|
388
|
+
Username to use with HTTP authentication for ALL requests. Note that you can also set this per-URL.
|
389
|
+
If you set this you must also set the <<plugins-{type}s-{plugin}-password>> option.
|
361
390
|
|
362
391
|
[id="plugins-{type}s-{plugin}-validate_after_inactivity"]
|
363
392
|
===== `validate_after_inactivity`
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'logstash-input-http_poller'
|
3
|
-
s.version = '5.0.
|
3
|
+
s.version = '5.0.2'
|
4
4
|
s.licenses = ['Apache License (2.0)']
|
5
5
|
s.summary = "Decodes the output of an HTTP API into events"
|
6
6
|
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,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-input-http_poller
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.0.
|
4
|
+
version: 5.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elastic
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2020-08-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|