logstash-input-http 3.0.3 → 3.0.4
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 -1
- data/lib/logstash/inputs/http.rb +7 -1
- data/logstash-input-http.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: 3b6df5f5ebcf0f2172c269e953c2549cbeef495e
|
4
|
+
data.tar.gz: 99c89fba08c7c9c99ef8ac437eef42c2cc063b41
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 045de7cd58937dfb729f186cd391dda8cde60437a49d4c0f37d6f3701475dd1d9263195a9cf2a981446e06a5fb79c52288e94550c8c75767eec73adab033adfe
|
7
|
+
data.tar.gz: 46ef7af956b61165ab0deeada236a52bbfb203fabfff5e678602f5922cc2bec243725a3afa8d19d9665df87ebc7d58f2c90cb57df40815a06011a9e1fbe072c3
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,8 @@
|
|
1
|
+
## 3.0.4
|
2
|
+
- Improve error logging to log more details, including stack trace, for true bugs.
|
3
|
+
This makes debugging broken codecs much easier.
|
1
4
|
## 3.0.3
|
2
5
|
- Relax constraint on logstash-core-plugin-api to >= 1.60 <= 2.99
|
3
|
-
|
4
6
|
## 3.0.2
|
5
7
|
- Use a new class as redefined Puma::Server class as we need to mock one method and only need it for this plugin, but not for all parts using puma in logstash.Fixes https://github.com/logstash-plugins/logstash-input-http/issues/51.
|
6
8
|
## 3.0.1
|
data/lib/logstash/inputs/http.rb
CHANGED
@@ -145,7 +145,13 @@ class LogStash::Inputs::Http < LogStash::Inputs::Base
|
|
145
145
|
end
|
146
146
|
['200', @response_headers, ['ok']]
|
147
147
|
rescue => e
|
148
|
-
@logger.error(
|
148
|
+
@logger.error(
|
149
|
+
"unable to process event.",
|
150
|
+
:request => req,
|
151
|
+
:message => e.message,
|
152
|
+
:class => e.class.name,
|
153
|
+
:backtrace => e.backtrace
|
154
|
+
)
|
149
155
|
['500', @response_headers, ['internal error']]
|
150
156
|
end
|
151
157
|
end
|
data/logstash-input-http.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'logstash-input-http'
|
3
|
-
s.version = '3.0.
|
3
|
+
s.version = '3.0.4'
|
4
4
|
s.licenses = ['Apache License (2.0)']
|
5
5
|
s.summary = "Logstash Input plugin that receives HTTP requests"
|
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,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-input-http
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.4
|
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: 2017-03-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -172,7 +172,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
172
172
|
version: '0'
|
173
173
|
requirements: []
|
174
174
|
rubyforge_project:
|
175
|
-
rubygems_version: 2.
|
175
|
+
rubygems_version: 2.4.8
|
176
176
|
signing_key:
|
177
177
|
specification_version: 4
|
178
178
|
summary: Logstash Input plugin that receives HTTP requests
|