logstash-output-pipe 3.0.2 → 3.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +8 -1
- data/docs/index.asciidoc +80 -0
- data/logstash-output-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: 15d5dc6089401d054755f5162f9ba2eba6671ffe
|
4
|
+
data.tar.gz: 0cd0d0a0b032a9764de38d055828944a4b786b73
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc4b706e9d0c6e63ecc541c1678f1d9d07189f76313f3e54b80d5a4c123eaa40de23467e1249049bac30fd0d18f7e6c77b86faa394c7ec28c089314d1f266624
|
7
|
+
data.tar.gz: aa4e65ac15ace040954488a1a41395bd4f1f2c7c1c5aff9f758a4561aefed0822e936ee4ec09496f056f6fec107cecbe65ce0aeeef680e18e0018e42f4a0351e
|
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,80 @@
|
|
1
|
+
:plugin: pipe
|
2
|
+
:type: output
|
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 output plugin
|
18
|
+
|
19
|
+
include::{include_path}/plugin_header.asciidoc[]
|
20
|
+
|
21
|
+
==== Description
|
22
|
+
|
23
|
+
Pipe output.
|
24
|
+
|
25
|
+
Pipe events to stdin of another program. You can use fields from the
|
26
|
+
event as parts of the command.
|
27
|
+
WARNING: This feature can cause logstash to fork off multiple children if you are not carefull with per-event commandline.
|
28
|
+
|
29
|
+
[id="plugins-{type}s-{plugin}-options"]
|
30
|
+
==== Pipe Output 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
|
+
| <<plugins-{type}s-{plugin}-message_format>> |<<string,string>>|No
|
39
|
+
| <<plugins-{type}s-{plugin}-ttl>> |<<number,number>>|No
|
40
|
+
|=======================================================================
|
41
|
+
|
42
|
+
Also see <<plugins-{type}s-{plugin}-common-options>> for a list of options supported by all
|
43
|
+
output plugins.
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
[id="plugins-{type}s-{plugin}-command"]
|
48
|
+
===== `command`
|
49
|
+
|
50
|
+
* This is a required setting.
|
51
|
+
* Value type is <<string,string>>
|
52
|
+
* There is no default value for this setting.
|
53
|
+
|
54
|
+
Command line to launch and pipe to
|
55
|
+
|
56
|
+
[id="plugins-{type}s-{plugin}-message_format"]
|
57
|
+
===== `message_format`
|
58
|
+
|
59
|
+
* Value type is <<string,string>>
|
60
|
+
* There is no default value for this setting.
|
61
|
+
|
62
|
+
The format to use when writing events to the pipe. This value
|
63
|
+
supports any string and can include `%{name}` and other dynamic
|
64
|
+
strings.
|
65
|
+
|
66
|
+
If this setting is omitted, the full json representation of the
|
67
|
+
event will be written as a single line.
|
68
|
+
|
69
|
+
[id="plugins-{type}s-{plugin}-ttl"]
|
70
|
+
===== `ttl`
|
71
|
+
|
72
|
+
* Value type is <<number,number>>
|
73
|
+
* Default value is `10`
|
74
|
+
|
75
|
+
Close pipe that hasn't been used for TTL seconds. -1 or 0 means never close.
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
[id="plugins-{type}s-{plugin}-common-options"]
|
80
|
+
include::{include_path}/{type}.asciidoc[]
|
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
|
3
3
|
s.name = 'logstash-output-pipe'
|
4
|
-
s.version = '3.0.
|
4
|
+
s.version = '3.0.3'
|
5
5
|
s.licenses = ['Apache License (2.0)']
|
6
6
|
s.summary = "Pipe events to stdin of another program."
|
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-output-pipe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.3
|
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
|
@@ -70,6 +70,7 @@ files:
|
|
70
70
|
- LICENSE
|
71
71
|
- NOTICE.TXT
|
72
72
|
- README.md
|
73
|
+
- docs/index.asciidoc
|
73
74
|
- lib/logstash/outputs/pipe.rb
|
74
75
|
- logstash-output-pipe.gemspec
|
75
76
|
- spec/outputs/pipe_spec.rb
|
@@ -96,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
96
97
|
version: '0'
|
97
98
|
requirements: []
|
98
99
|
rubyforge_project:
|
99
|
-
rubygems_version: 2.
|
100
|
+
rubygems_version: 2.4.8
|
100
101
|
signing_key:
|
101
102
|
specification_version: 4
|
102
103
|
summary: Pipe events to stdin of another program.
|