logstash-input-http_poller 3.0.2 → 3.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -2
- data/lib/logstash/inputs/http_poller.rb +26 -0
- data/logstash-input-http_poller.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a540e3224516716a40ccbad3b6c0006a689d0c8
|
4
|
+
data.tar.gz: 6771a22df2b09883e6e853add0c86c669289108c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee59e72aee1dad65d3df850cf2eb9bbada57562c7207d1e0c3695b2a2f6e1d7a7a895061e86bc554e072e29d9da5060e0374633818e27dbcfc284c8b36f20551
|
7
|
+
data.tar.gz: c46f4edcef1d326cdcf88c8b7ffddbd6b088244a76c4b09884f23ea13cee9201e7c523482ffc5555e9244b358440fea43def47b8c6ec9712e2af319db704018b
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
|
+
## 3.0.3
|
2
|
+
- Require logstash-mixin-http_client 4.0.3 which fixes error messaging around key/trust-stores when no password supplied
|
1
3
|
## 3.0.2
|
2
4
|
- Relax constraint on logstash-core-plugin-api to >= 1.60 <= 2.99
|
3
|
-
|
4
5
|
## 3.0.1
|
5
6
|
- Republish all the gems under jruby.
|
6
7
|
## 3.0.0
|
@@ -16,7 +17,7 @@
|
|
16
17
|
- Bump http_client mixin to default to 1 retry for idempotent actions
|
17
18
|
|
18
19
|
## 2.0.0
|
19
|
-
- Plugins were updated to follow the new shutdown semantic, this mainly allows Logstash to instruct input plugins to terminate gracefully,
|
20
|
+
- Plugins were updated to follow the new shutdown semantic, this mainly allows Logstash to instruct input plugins to terminate gracefully,
|
20
21
|
instead of using Thread.raise on the plugins' threads. Ref: https://github.com/elastic/logstash/pull/3895
|
21
22
|
- Dependency on logstash-core update to 2.0
|
22
23
|
|
@@ -46,6 +46,32 @@ require "manticore"
|
|
46
46
|
# }
|
47
47
|
# }
|
48
48
|
# ----------------------------------
|
49
|
+
#
|
50
|
+
# Using the HTTP poller with custom a custom CA or self signed cert.
|
51
|
+
#
|
52
|
+
# If you have a self signed cert you will need to convert your server's certificate to a valid# `.jks` or `.p12` file. An easy way to do it is to run the following one-liner, substituting your server's URL for the placeholder `MYURL` and `MYPORT`.
|
53
|
+
#
|
54
|
+
#....
|
55
|
+
# openssl s_client -showcerts -connect MYURL:MYPORT </dev/null 2>/dev/null|openssl x509 -outform PEM > downloaded_cert.pem; keytool -import -alias test -file downloaded_cert.pem -keystore downloaded_truststore.jks
|
56
|
+
#....
|
57
|
+
#
|
58
|
+
# The above snippet will create two files `downloaded_cert.pem` and `downloaded_truststore.jks`. You will be prompted to set a password for the `jks` file during this process. To configure logstash use a config like the one that follows.
|
59
|
+
#
|
60
|
+
#
|
61
|
+
# [source,ruby]
|
62
|
+
# ----------------------------------
|
63
|
+
#input {
|
64
|
+
# http_poller {
|
65
|
+
# urls => {
|
66
|
+
# myurl => "https://myhostname:1234"
|
67
|
+
# }
|
68
|
+
# truststore => "/path/to/downloaded_truststore.jks"
|
69
|
+
# truststore_password => "mypassword"
|
70
|
+
# interval => 30
|
71
|
+
# }
|
72
|
+
#}
|
73
|
+
#
|
74
|
+
|
49
75
|
|
50
76
|
class LogStash::Inputs::HTTP_Poller < LogStash::Inputs::Base
|
51
77
|
include LogStash::PluginMixins::HttpClient
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'logstash-input-http_poller'
|
3
|
-
s.version = '3.0.
|
3
|
+
s.version = '3.0.3'
|
4
4
|
s.licenses = ['Apache License (2.0)']
|
5
5
|
s.summary = "Poll HTTP endpoints with Logstash."
|
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: 3.0.
|
4
|
+
version: 3.0.3
|
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: 2016-07-
|
12
|
+
date: 2016-07-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
@@ -157,7 +157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
157
157
|
version: '0'
|
158
158
|
requirements: []
|
159
159
|
rubyforge_project:
|
160
|
-
rubygems_version: 2.
|
160
|
+
rubygems_version: 2.4.8
|
161
161
|
signing_key:
|
162
162
|
specification_version: 4
|
163
163
|
summary: Poll HTTP endpoints with Logstash.
|