logstash-input-nsq 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +30 -1
- data/lib/logstash/inputs/nsq.rb +1 -1
- data/logstash-input-nsq.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: 7c06007313ed83ea2422df5b0252200357b348a1
|
4
|
+
data.tar.gz: eaecbbf6f2598dee9101912f5518428bf898d65d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1670932bf3eb5c44c057b3e9babcb796db4dd6b5b7a4541c4f32ae4c64669a72c3d6c078de35129c133954bf5b674e0aafb55471b4dddb17d8b0db96988eb93a
|
7
|
+
data.tar.gz: 96b318965efcc69865903ea2b381caaca6c69cee642c23fe02e5f76172bba3edc7034acf58e10d282912d9643edff6a59fd65fb35ad74033ba055b129910c986
|
data/README.md
CHANGED
@@ -4,6 +4,35 @@ This is a plugin for [Logstash](https://github.com/elasticsearch/logstash).
|
|
4
4
|
|
5
5
|
It is fully free and fully open source. The license is Apache 2.0, meaning you are pretty much free to use it however you want in whatever way.
|
6
6
|
|
7
|
+
logstash-input-nsq
|
8
|
+
====================
|
9
|
+
|
10
|
+
NSQ input for Logstash. This input will consume messages from a nsq topic using nsq-ruby.
|
11
|
+
|
12
|
+
For more information about NSQ, refer to this [documentation](http://nsq.io)
|
13
|
+
|
14
|
+
Install
|
15
|
+
====================
|
16
|
+
|
17
|
+
/opt/logstash/bin/plugin install logstash-input-nsq
|
18
|
+
|
19
|
+
Logstash Configuration
|
20
|
+
====================
|
21
|
+
|
22
|
+
input {
|
23
|
+
nsq {
|
24
|
+
nsqlookupd => ["127.0.0.1:4161","1.2.3.4:4161"]
|
25
|
+
topic => "testtopic"
|
26
|
+
channel => "testchannel"
|
27
|
+
max_in_flight => 200
|
28
|
+
}
|
29
|
+
}
|
30
|
+
|
31
|
+
Dependencies
|
32
|
+
====================
|
33
|
+
|
34
|
+
* nsq-ruby
|
35
|
+
|
7
36
|
## Documentation
|
8
37
|
|
9
38
|
Logstash provides infrastructure to automatically generate documentation for this plugin. We use the asciidoc format to write documentation so any comments in the source code will be first converted into asciidoc and then into html. All plugin documentation are placed under one [central location](http://www.elasticsearch.org/guide/en/logstash/current/).
|
@@ -83,4 +112,4 @@ Programming is not a required skill. Whatever you've seen about open source and
|
|
83
112
|
|
84
113
|
It is more important to the community that you are able to contribute.
|
85
114
|
|
86
|
-
For more information about contributing, see the [CONTRIBUTING](https://github.com/elasticsearch/logstash/blob/master/CONTRIBUTING.md) file.
|
115
|
+
For more information about contributing, see the [CONTRIBUTING](https://github.com/elasticsearch/logstash/blob/master/CONTRIBUTING.md) file.
|
data/lib/logstash/inputs/nsq.rb
CHANGED
@@ -52,7 +52,7 @@ class LogStash::Inputs::Nsq < LogStash::Inputs::Base
|
|
52
52
|
def queue_event(body, output_queue)
|
53
53
|
begin
|
54
54
|
#@logger.info('processing:', :body => body)
|
55
|
-
event = LogStash::Event.new("message" => body
|
55
|
+
event = LogStash::Event.new("message" => body)
|
56
56
|
decorate(event)
|
57
57
|
output_queue << event
|
58
58
|
rescue => e # parse or event creation error
|
data/logstash-input-nsq.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
|
3
3
|
s.name = 'logstash-input-nsq'
|
4
|
-
s.version = '1.0.
|
4
|
+
s.version = '1.0.3'
|
5
5
|
s.licenses = ['Apache License (2.0)']
|
6
6
|
s.summary = 'This input will read events from a nsq topic.'
|
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-nsq
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthias Schneider
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-07-
|
11
|
+
date: 2015-07-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logstash-core
|