logstash-output-tcp 4.0.0 → 4.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3ac491b4801b8860dff6b4864d0854b15a365d7b
4
- data.tar.gz: cf51a4dab3eb2436a5a77622564719b8f7a98a35
3
+ metadata.gz: 663fc3458ef8028c0c8e80b10dcabecbaabde8b8
4
+ data.tar.gz: 72bb4f62f675df1f3d18cd0a1d8be548c05df504
5
5
  SHA512:
6
- metadata.gz: 3d27fc4675b75ff1078a896bc97c3e09c4e5457217999ee39339c59d5e368900a27b509fee7516fb2b91241352bbec3476bfaf6e02f0ec62c688b5267ac24d7c
7
- data.tar.gz: c2194f56e236d5711d47a06d089f3adf046532d8619348e158f8aad4718a7abebdc5266fd56932093071e11b2fb7a5db6ef825fb35912bf1792c090e986702e0
6
+ metadata.gz: 80e98dc35c2555874de454399cf515e9315888c50dceffdc6e8f04721b6617e00beff4356dbb602d191314ccdbb409735c6bcd44cfc31ff932d1952915968ed5
7
+ data.tar.gz: 1b271a20df0c25d1b64fc5eb536d4d42e7196ec1ad7097ead0e5cc5970115ddbcc5ddfc34acf2c14265382aa38f0592ab866a90576628539e27deed36003e8e9
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
@@ -0,0 +1,158 @@
1
+ :plugin: tcp
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
+ === Tcp output plugin
18
+
19
+ include::{include_path}/plugin_header.asciidoc[]
20
+
21
+ ==== Description
22
+
23
+ Write events over a TCP socket.
24
+
25
+ Each event json is separated by a newline.
26
+
27
+ Can either accept connections from clients or connect to a server,
28
+ depending on `mode`.
29
+
30
+ [id="plugins-{type}s-{plugin}-options"]
31
+ ==== Tcp Output Configuration Options
32
+
33
+ This plugin supports the following configuration options plus the <<plugins-{type}s-{plugin}-common-options>> described later.
34
+
35
+ [cols="<,<,<",options="header",]
36
+ |=======================================================================
37
+ |Setting |Input type|Required
38
+ | <<plugins-{type}s-{plugin}-host>> |<<string,string>>|Yes
39
+ | <<plugins-{type}s-{plugin}-mode>> |<<string,string>>, one of `["server", "client"]`|No
40
+ | <<plugins-{type}s-{plugin}-port>> |<<number,number>>|Yes
41
+ | <<plugins-{type}s-{plugin}-reconnect_interval>> |<<number,number>>|No
42
+ | <<plugins-{type}s-{plugin}-ssl_cacert>> |a valid filesystem path|No
43
+ | <<plugins-{type}s-{plugin}-ssl_cert>> |a valid filesystem path|No
44
+ | <<plugins-{type}s-{plugin}-ssl_enable>> |<<boolean,boolean>>|No
45
+ | <<plugins-{type}s-{plugin}-ssl_key>> |a valid filesystem path|No
46
+ | <<plugins-{type}s-{plugin}-ssl_key_passphrase>> |<<password,password>>|No
47
+ | <<plugins-{type}s-{plugin}-ssl_verify>> |<<boolean,boolean>>|No
48
+ |=======================================================================
49
+
50
+ Also see <<plugins-{type}s-{plugin}-common-options>> for a list of options supported by all
51
+ output plugins.
52
+
53
+ &nbsp;
54
+
55
+ [id="plugins-{type}s-{plugin}-host"]
56
+ ===== `host`
57
+
58
+ * This is a required setting.
59
+ * Value type is <<string,string>>
60
+ * There is no default value for this setting.
61
+
62
+ When mode is `server`, the address to listen on.
63
+ When mode is `client`, the address to connect to.
64
+
65
+ [id="plugins-{type}s-{plugin}-message_format"]
66
+ ===== `message_format` (DEPRECATED)
67
+
68
+ * DEPRECATED WARNING: This configuration item is deprecated and may not be available in future versions.
69
+ * Value type is <<string,string>>
70
+ * There is no default value for this setting.
71
+
72
+ The format to use when writing events to the file. This value
73
+ supports any string and can include `%{name}` and other dynamic
74
+ strings.
75
+
76
+ If this setting is omitted, the full json representation of the
77
+ event will be written as a single line.
78
+
79
+ [id="plugins-{type}s-{plugin}-mode"]
80
+ ===== `mode`
81
+
82
+ * Value can be any of: `server`, `client`
83
+ * Default value is `"client"`
84
+
85
+ Mode to operate in. `server` listens for client connections,
86
+ `client` connects to a server.
87
+
88
+ [id="plugins-{type}s-{plugin}-port"]
89
+ ===== `port`
90
+
91
+ * This is a required setting.
92
+ * Value type is <<number,number>>
93
+ * There is no default value for this setting.
94
+
95
+ When mode is `server`, the port to listen on.
96
+ When mode is `client`, the port to connect to.
97
+
98
+ [id="plugins-{type}s-{plugin}-reconnect_interval"]
99
+ ===== `reconnect_interval`
100
+
101
+ * Value type is <<number,number>>
102
+ * Default value is `10`
103
+
104
+ When connect failed,retry interval in sec.
105
+
106
+ [id="plugins-{type}s-{plugin}-ssl_cacert"]
107
+ ===== `ssl_cacert`
108
+
109
+ * Value type is <<path,path>>
110
+ * There is no default value for this setting.
111
+
112
+ The SSL CA certificate, chainfile or CA path. The system CA path is automatically included.
113
+
114
+ [id="plugins-{type}s-{plugin}-ssl_cert"]
115
+ ===== `ssl_cert`
116
+
117
+ * Value type is <<path,path>>
118
+ * There is no default value for this setting.
119
+
120
+ SSL certificate path
121
+
122
+ [id="plugins-{type}s-{plugin}-ssl_enable"]
123
+ ===== `ssl_enable`
124
+
125
+ * Value type is <<boolean,boolean>>
126
+ * Default value is `false`
127
+
128
+ Enable SSL (must be set for other `ssl_` options to take effect).
129
+
130
+ [id="plugins-{type}s-{plugin}-ssl_key"]
131
+ ===== `ssl_key`
132
+
133
+ * Value type is <<path,path>>
134
+ * There is no default value for this setting.
135
+
136
+ SSL key path
137
+
138
+ [id="plugins-{type}s-{plugin}-ssl_key_passphrase"]
139
+ ===== `ssl_key_passphrase`
140
+
141
+ * Value type is <<password,password>>
142
+ * Default value is `nil`
143
+
144
+ SSL key passphrase
145
+
146
+ [id="plugins-{type}s-{plugin}-ssl_verify"]
147
+ ===== `ssl_verify`
148
+
149
+ * Value type is <<boolean,boolean>>
150
+ * Default value is `false`
151
+
152
+ Verify the identity of the other end of the SSL connection against the CA.
153
+ For input, sets the field `sslsubject` to that of the client certificate.
154
+
155
+
156
+
157
+ [id="plugins-{type}s-{plugin}-common-options"]
158
+ include::{include_path}/{type}.asciidoc[]
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-output-tcp'
4
- s.version = '4.0.0'
4
+ s.version = '4.0.1'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Write events over a TCP socket."
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['lib/**/*','spec/**/*','vendor/**/*','*.gemspec','*.md','CONTRIBUTORS','Gemfile','LICENSE','NOTICE.TXT']
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-tcp
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
4
+ version: 4.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-13 00:00:00.000000000 Z
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/outputs/tcp.rb
88
89
  - logstash-output-tcp.gemspec
89
90
  - spec/outputs/tcp_spec.rb