logstash-input-pipe 3.0.2 → 3.0.4
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/CHANGELOG.md +3 -0
- data/Gemfile +8 -1
- data/docs/index.asciidoc +61 -0
- data/lib/logstash/inputs/pipe.rb +1 -1
- data/logstash-input-pipe.gemspec +2 -2
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7862036f00cd916afe33efb94c6bb676583137c0
|
4
|
+
data.tar.gz: 979189e168402df524ce5ef3d3fb97341d81dc90
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a757e09a161b7e576d1a017268e412bfadc68e21872b6735491756a10b623b6cedc01f46837eebd775441eb05d7ea097992d70ce0544c69688e3f8644efe975
|
7
|
+
data.tar.gz: 558f2f683df67f139424cbafc1de8c6c3cb7356d1ce9b22a40a7d8f3c78496b51e413de2c9fbc16c10924b4661a5928c015c80183e2390ae322b6cc337760dd7
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
@@ -1,4 +1,11 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
|
3
|
-
# Specify your gem's dependencies in logstash-mass_effect.gemspec
|
4
3
|
gemspec
|
4
|
+
|
5
|
+
logstash_path = ENV["LOGSTASH_PATH"] || "../../logstash"
|
6
|
+
use_logstash_source = ENV["LOGSTASH_SOURCE"] && ENV["LOGSTASH_SOURCE"].to_s == "1"
|
7
|
+
|
8
|
+
if Dir.exist?(logstash_path) && use_logstash_source
|
9
|
+
gem 'logstash-core', :path => "#{logstash_path}/logstash-core"
|
10
|
+
gem 'logstash-core-plugin-api', :path => "#{logstash_path}/logstash-core-plugin-api"
|
11
|
+
end
|
data/docs/index.asciidoc
ADDED
@@ -0,0 +1,61 @@
|
|
1
|
+
:plugin: pipe
|
2
|
+
:type: input
|
3
|
+
|
4
|
+
///////////////////////////////////////////
|
5
|
+
START - GENERATED VARIABLES, DO NOT EDIT!
|
6
|
+
///////////////////////////////////////////
|
7
|
+
:version: %VERSION%
|
8
|
+
:release_date: %RELEASE_DATE%
|
9
|
+
:changelog_url: %CHANGELOG_URL%
|
10
|
+
:include_path: ../../../../logstash/docs/include
|
11
|
+
///////////////////////////////////////////
|
12
|
+
END - GENERATED VARIABLES, DO NOT EDIT!
|
13
|
+
///////////////////////////////////////////
|
14
|
+
|
15
|
+
[id="plugins-{type}-{plugin}"]
|
16
|
+
|
17
|
+
=== Pipe input plugin
|
18
|
+
|
19
|
+
include::{include_path}/plugin_header.asciidoc[]
|
20
|
+
|
21
|
+
==== Description
|
22
|
+
|
23
|
+
Stream events from a long running command pipe.
|
24
|
+
|
25
|
+
By default, each event is assumed to be one line. If you
|
26
|
+
want to join lines, you'll want to use the multiline codec.
|
27
|
+
|
28
|
+
|
29
|
+
[id="plugins-{type}s-{plugin}-options"]
|
30
|
+
==== Pipe Input Configuration Options
|
31
|
+
|
32
|
+
This plugin supports the following configuration options plus the <<plugins-{type}s-{plugin}-common-options>> described later.
|
33
|
+
|
34
|
+
[cols="<,<,<",options="header",]
|
35
|
+
|=======================================================================
|
36
|
+
|Setting |Input type|Required
|
37
|
+
| <<plugins-{type}s-{plugin}-command>> |<<string,string>>|Yes
|
38
|
+
|=======================================================================
|
39
|
+
|
40
|
+
Also see <<plugins-{type}s-{plugin}-common-options>> for a list of options supported by all
|
41
|
+
input plugins.
|
42
|
+
|
43
|
+
|
44
|
+
|
45
|
+
[id="plugins-{type}s-{plugin}-command"]
|
46
|
+
===== `command`
|
47
|
+
|
48
|
+
* This is a required setting.
|
49
|
+
* Value type is <<string,string>>
|
50
|
+
* There is no default value for this setting.
|
51
|
+
|
52
|
+
Command to run and read events from, one line at a time.
|
53
|
+
|
54
|
+
Example:
|
55
|
+
[source,ruby]
|
56
|
+
command => "echo hello world"
|
57
|
+
|
58
|
+
|
59
|
+
|
60
|
+
[id="plugins-{type}s-{plugin}-common-options"]
|
61
|
+
include::{include_path}/{type}.asciidoc[]
|
data/lib/logstash/inputs/pipe.rb
CHANGED
@@ -11,7 +11,7 @@ require "stud/interval"
|
|
11
11
|
# Stream events from a long running command pipe.
|
12
12
|
#
|
13
13
|
# By default, each event is assumed to be one line. If you
|
14
|
-
# want to join lines, you'll want to use the multiline
|
14
|
+
# want to join lines, you'll want to use the multiline codec.
|
15
15
|
#
|
16
16
|
class LogStash::Inputs::Pipe < LogStash::Inputs::Base
|
17
17
|
config_name "pipe"
|
data/logstash-input-pipe.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
|
3
3
|
s.name = 'logstash-input-pipe'
|
4
|
-
s.version = '3.0.
|
4
|
+
s.version = '3.0.4'
|
5
5
|
s.licenses = ['Apache License (2.0)']
|
6
6
|
s.summary = "Stream events from a long running command pipe"
|
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/logstash-plugin install gemname. This gem is not a stand-alone program"
|
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
|
|
11
11
|
s.require_paths = ["lib"]
|
12
12
|
|
13
13
|
# Files
|
14
|
-
s.files = Dir[
|
14
|
+
s.files = Dir["lib/**/*","spec/**/*","*.gemspec","*.md","CONTRIBUTORS","Gemfile","LICENSE","NOTICE.TXT", "vendor/jar-dependencies/**/*.jar", "vendor/jar-dependencies/**/*.rb", "VERSION", "docs/**/*"]
|
15
15
|
|
16
16
|
# Tests
|
17
17
|
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-input-pipe
|
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-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -84,6 +84,7 @@ files:
|
|
84
84
|
- LICENSE
|
85
85
|
- NOTICE.TXT
|
86
86
|
- README.md
|
87
|
+
- docs/index.asciidoc
|
87
88
|
- lib/logstash/inputs/pipe.rb
|
88
89
|
- logstash-input-pipe.gemspec
|
89
90
|
- spec/inputs/pipe_spec.rb
|
@@ -109,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
109
110
|
version: '0'
|
110
111
|
requirements: []
|
111
112
|
rubyforge_project:
|
112
|
-
rubygems_version: 2.
|
113
|
+
rubygems_version: 2.4.8
|
113
114
|
signing_key:
|
114
115
|
specification_version: 4
|
115
116
|
summary: Stream events from a long running command pipe
|