logstash-output-stdout 2.0.3 → 2.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 -0
- data/README.md +2 -3
- data/lib/logstash/outputs/stdout.rb +6 -0
- data/logstash-output-stdout.gemspec +1 -2
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 723fa778c62793fd04bb757be09866c3f1cc826c
|
4
|
+
data.tar.gz: 3e10634848dc326be5357d0592bd98975a8b8085
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ceb71773463dab94fb1e1b80111dfec56b20ac98eb5972212f2cd35c3e05de77fbd5f0cb4a5ba9927cfe442b3d323ca44181f1551cae8516a3f2c8f7b87bd0ee
|
7
|
+
data.tar.gz: ac83a40e86c3767e24f98dcb66cf506aedf4966300b9f929e788fefc4e3c78d5ca339159017378019cb6d24cdaee7d745f39321cdc133f0578c21f22f87bddc6
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
# Logstash Plugin
|
2
2
|
|
3
|
-
[![Build
|
4
|
-
Status](http://build-eu-00.elastic.co/view/LS%20Plugins/view/LS%20Outputs/job/logstash-plugin-output-stdout-unit/badge/icon)](http://build-eu-00.elastic.co/view/LS%20Plugins/view/LS%20Outputs/job/logstash-plugin-output-stdout-unit/)
|
3
|
+
[![Travis Build Status](https://travis-ci.org/logstash-plugins/logstash-output-stdout.svg)](https://travis-ci.org/logstash-plugins/logstash-output-stdout)
|
5
4
|
|
6
5
|
This is a plugin for [Logstash](https://github.com/elastic/logstash).
|
7
6
|
|
@@ -86,4 +85,4 @@ Programming is not a required skill. Whatever you've seen about open source and
|
|
86
85
|
|
87
86
|
It is more important to the community that you are able to contribute.
|
88
87
|
|
89
|
-
For more information about contributing, see the [CONTRIBUTING](https://github.com/elastic/logstash/blob/master/CONTRIBUTING.md) file.
|
88
|
+
For more information about contributing, see the [CONTRIBUTING](https://github.com/elastic/logstash/blob/master/CONTRIBUTING.md) file.
|
@@ -36,8 +36,14 @@ class LogStash::Outputs::Stdout < LogStash::Outputs::Base
|
|
36
36
|
|
37
37
|
default :codec, "line"
|
38
38
|
|
39
|
+
if self.respond_to?(:workers_not_supported!) # Check for v2.2+ API
|
40
|
+
declare_workers_not_supported!("Stdout only supports one worker to prevent text overlap!")
|
41
|
+
end
|
42
|
+
|
39
43
|
public
|
40
44
|
def register
|
45
|
+
workers_not_supported # < v2.2 API
|
46
|
+
|
41
47
|
@codec.on_event do |event, data|
|
42
48
|
$stdout.write(data)
|
43
49
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
|
3
3
|
s.name = 'logstash-output-stdout'
|
4
|
-
s.version = '2.0.
|
4
|
+
s.version = '2.0.4'
|
5
5
|
s.licenses = ['Apache License (2.0)']
|
6
6
|
s.summary = "A simple output which prints to the STDOUT of the shell running Logstash."
|
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"
|
@@ -25,4 +25,3 @@ Gem::Specification.new do |s|
|
|
25
25
|
|
26
26
|
s.add_development_dependency 'logstash-devutils'
|
27
27
|
end
|
28
|
-
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-output-stdout
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.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: 2016-01-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logstash-core
|
@@ -64,16 +64,16 @@ executables: []
|
|
64
64
|
extensions: []
|
65
65
|
extra_rdoc_files: []
|
66
66
|
files:
|
67
|
-
- lib/logstash/outputs/stdout.rb
|
68
|
-
- spec/spec_helper.rb
|
69
|
-
- spec/outputs/stdout_spec.rb
|
70
|
-
- logstash-output-stdout.gemspec
|
71
67
|
- CHANGELOG.md
|
72
|
-
- README.md
|
73
68
|
- CONTRIBUTORS
|
74
69
|
- Gemfile
|
75
70
|
- LICENSE
|
76
71
|
- NOTICE.TXT
|
72
|
+
- README.md
|
73
|
+
- lib/logstash/outputs/stdout.rb
|
74
|
+
- logstash-output-stdout.gemspec
|
75
|
+
- spec/outputs/stdout_spec.rb
|
76
|
+
- spec/spec_helper.rb
|
77
77
|
homepage: http://www.elastic.co/guide/en/logstash/current/index.html
|
78
78
|
licenses:
|
79
79
|
- Apache License (2.0)
|
@@ -96,10 +96,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
96
96
|
version: '0'
|
97
97
|
requirements: []
|
98
98
|
rubyforge_project:
|
99
|
-
rubygems_version: 2.
|
99
|
+
rubygems_version: 2.4.8
|
100
100
|
signing_key:
|
101
101
|
specification_version: 4
|
102
102
|
summary: A simple output which prints to the STDOUT of the shell running Logstash.
|
103
103
|
test_files:
|
104
|
-
- spec/spec_helper.rb
|
105
104
|
- spec/outputs/stdout_spec.rb
|
105
|
+
- spec/spec_helper.rb
|