logstash-input-lumberjack 0.1.8 → 0.1.9
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/README.md +1 -1
- data/lib/logstash/inputs/lumberjack.rb +6 -2
- data/logstash-input-lumberjack.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: da715b62794c6355a47c844a678f452afd568478
|
|
4
|
+
data.tar.gz: 866e0a9fcfcdecd61a018fdc33c991393aa65216
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c9a7534c7192428a7169eada97f06a6ec40f10bdee769764ab7d059af2eff2f8b12a68c1fe6da3d5148bda4b679715d13422573cf291c19f4b8907145d4289ea
|
|
7
|
+
data.tar.gz: c6357995a2a4bc630e49ecab1b9d23703264579915b7ffbdc70d9dc858f7e645c7cd0630a5a2e5a196e95f2faf3c1e2845748877fc7667081b5f239c8f739b8e
|
data/README.md
CHANGED
|
@@ -13,7 +13,7 @@ Logstash provides infrastructure to automatically generate documentation for thi
|
|
|
13
13
|
|
|
14
14
|
## Need Help?
|
|
15
15
|
|
|
16
|
-
Need help? Try #logstash on freenode IRC or the logstash
|
|
16
|
+
Need help? Try #logstash on freenode IRC or the https://discuss.elastic.co/c/logstash discussion forum.
|
|
17
17
|
|
|
18
18
|
## Developing
|
|
19
19
|
|
|
@@ -89,8 +89,12 @@ class LogStash::Inputs::Lumberjack < LogStash::Inputs::Base
|
|
|
89
89
|
|
|
90
90
|
def invoke(connection, codec, &block)
|
|
91
91
|
@threadpool.post do
|
|
92
|
-
|
|
93
|
-
|
|
92
|
+
begin
|
|
93
|
+
connection.run do |fields|
|
|
94
|
+
block.call(codec, fields.delete("line"), fields)
|
|
95
|
+
end
|
|
96
|
+
rescue => e
|
|
97
|
+
@logger.error("Exception in lumberjack input thread", :exception => e)
|
|
94
98
|
end
|
|
95
99
|
end
|
|
96
100
|
end
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
|
|
3
3
|
s.name = 'logstash-input-lumberjack'
|
|
4
|
-
s.version = '0.1.
|
|
4
|
+
s.version = '0.1.9'
|
|
5
5
|
s.licenses = ['Apache License (2.0)']
|
|
6
6
|
s.summary = "Receive events using the lumberjack protocol."
|
|
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/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-lumberjack
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Elastic
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-06-
|
|
11
|
+
date: 2015-06-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: logstash-core
|