logstash-output-tcp 3.0.1 → 3.1.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: b27c9addb71b4142e2905ea33aeddef514c7869a
4
- data.tar.gz: 0dd30273d3a8654624bf5ddc8d8ec6de63625405
3
+ metadata.gz: 74e0474b7a4e935ba8952b80b5b4169f2b472730
4
+ data.tar.gz: bb736f1d5f6ff2c3cf870262d24c10f7f400df79
5
5
  SHA512:
6
- metadata.gz: e68217a66bf2b0adfc85f6fbd33c79c6317e5e5d11ce588426ed04970a82a486c9236d578eef29ca7edd54895b70664b8ad0fffc1a50b2b0030f7ddef7d9d627
7
- data.tar.gz: ed6f61e747e61abb6bae536af7d4903286b17c296c211434c787cdb24360583f29d111327ec2bc1424e02a779904c48694b533f9d7f77480f50c1672f5731a79
6
+ metadata.gz: 3dd3dc38a97f307321cbdaeebe0a3410c3df4fcc3d5c15d2f7c959788b350e3faad77a17eb87209693c06b7a47bd5c58e725e2056972d905cd01d697a1527721
7
+ data.tar.gz: bbbe0a64aca9112bc5f9db6fdc6a467957f1078c7e17efb8144afff94f2705e834baeb6f66882a0e1feddd6f98912fe7f8f6912991950d57cad8a4c60f217fb6
data/CHANGELOG.md CHANGED
@@ -1,11 +1,21 @@
1
+ ## 3.1.1
2
+ - Relax constraint on logstash-core-plugin-api to >= 1.60 <= 2.99
3
+
4
+ ## 3.1.0
5
+ - breaking,config: Remove deprecated config `message_format`
6
+
1
7
  ## 3.0.1
2
- - Republish all the gems under jruby.
8
+ - Republish all the gems under jruby.
9
+
3
10
  ## 3.0.0
4
- - Update the plugin to the version 2.0 of the plugin api, this change is required for Logstash 5.0 compatibility. See https://github.com/elastic/logstash/issues/5141
5
- # 2.0.4
6
- - Depend on logstash-core-plugin-api instead of logstash-core, removing the need to mass update plugins on major releases of logstash
7
- # 2.0.3
8
- - New dependency requirements for logstash-core for the 5.0 release
11
+ - Update the plugin to the version 2.0 of the plugin api, this change is required for Logstash 5.0 compatibility. See https://github.com/elastic/logstash/issues/5141
12
+
13
+ ## 2.0.4
14
+ - Depend on logstash-core-plugin-api instead of logstash-core, removing the need to mass update plugins on major releases of logstash
15
+
16
+ ## 2.0.3
17
+ - New dependency requirements for logstash-core for the 5.0 release
18
+
9
19
  ## 2.0.0
10
20
  - Plugins were updated to follow the new shutdown semantic, this mainly allows Logstash to instruct input plugins to terminate gracefully,
11
21
  instead of using Thread.raise on the plugins' threads. Ref: https://github.com/elastic/logstash/pull/3895
@@ -22,7 +22,7 @@ class LogStash::Outputs::Tcp < LogStash::Outputs::Base
22
22
  # When mode is `server`, the port to listen on.
23
23
  # When mode is `client`, the port to connect to.
24
24
  config :port, :validate => :number, :required => true
25
-
25
+
26
26
  # When connect failed,retry interval in sec.
27
27
  config :reconnect_interval, :validate => :number, :default => 10
28
28
 
@@ -30,14 +30,6 @@ class LogStash::Outputs::Tcp < LogStash::Outputs::Base
30
30
  # `client` connects to a server.
31
31
  config :mode, :validate => ["server", "client"], :default => "client"
32
32
 
33
- # The format to use when writing events to the file. This value
34
- # supports any string and can include `%{name}` and other dynamic
35
- # strings.
36
- #
37
- # If this setting is omitted, the full json representation of the
38
- # event will be written as a single line.
39
- config :message_format, :validate => :string, :deprecated => true
40
-
41
33
  class Client
42
34
  public
43
35
  def initialize(socket, logger)
@@ -132,14 +124,6 @@ class LogStash::Outputs::Tcp < LogStash::Outputs::Base
132
124
 
133
125
  public
134
126
  def receive(event)
135
-
136
-
137
- #if @message_format
138
- #output = event.sprintf(@message_format) + "\n"
139
- #else
140
- #output = event.to_hash.to_json + "\n"
141
- #end
142
-
143
127
  @codec.encode(event)
144
128
  end # def receive
145
129
  end # class LogStash::Outputs::Tcp
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-output-tcp'
4
- s.version = '3.0.1'
4
+ s.version = '3.1.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"
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
20
20
  s.metadata = { "logstash_plugin" => "true", "logstash_group" => "output" }
21
21
 
22
22
  # Gem dependencies
23
- s.add_runtime_dependency "logstash-core-plugin-api", "~> 2.0"
23
+ s.add_runtime_dependency "logstash-core-plugin-api", ">= 1.60", "<= 2.99"
24
24
 
25
25
  s.add_runtime_dependency 'logstash-codec-json'
26
26
  s.add_runtime_dependency 'stud'
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-tcp
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1
4
+ version: 3.1.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-05-09 00:00:00.000000000 Z
11
+ date: 2016-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
15
15
  requirements:
16
- - - "~>"
16
+ - - ">="
17
+ - !ruby/object:Gem::Version
18
+ version: '1.60'
19
+ - - "<="
17
20
  - !ruby/object:Gem::Version
18
- version: '2.0'
21
+ version: '2.99'
19
22
  name: logstash-core-plugin-api
20
23
  prerelease: false
21
24
  type: :runtime
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '1.60'
30
+ - - "<="
25
31
  - !ruby/object:Gem::Version
26
- version: '2.0'
32
+ version: '2.99'
27
33
  - !ruby/object:Gem::Dependency
28
34
  requirement: !ruby/object:Gem::Requirement
29
35
  requirements:
@@ -103,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
109
  version: '0'
104
110
  requirements: []
105
111
  rubyforge_project:
106
- rubygems_version: 2.4.8
112
+ rubygems_version: 2.6.3
107
113
  signing_key:
108
114
  specification_version: 4
109
115
  summary: Write events over a TCP socket.