logstash-input-websocket 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: eeddcff2d4faa4f842d64c199cf3a12b586e52d8
4
- data.tar.gz: 8359ec81cc46c917692b8c3f2af80cebfb9cc00f
3
+ metadata.gz: 7b504a4046eca9aab9cfbc61361c9b6aba2f8803
4
+ data.tar.gz: e2bd005609657855fde2df2d1e6e526573f0f0ed
5
5
  SHA512:
6
- metadata.gz: 95338ecb4c46297453597cf71147c970663e008d7852127fe34ffb7385d03b92d014ae6d4b61eea53637a6f698d465b1b61b63f84f54dea61fde575d47bd4a68
7
- data.tar.gz: 532b9b36d09c9f8fc4b2744c15d2dd55365f346067fff214dbfc9298545680ccd215ec84547b8f20a82d6538bab648e8db4ebd91322abfb29423cbec6371b08d
6
+ metadata.gz: f50075c78cc46095e6ab1d734c8b6f74e273d893b4259c578067f1e6c615f482a28aedc7bf2eaa9ae867c4943fa833851f13b119cce2d9a526175aef2af10586
7
+ data.tar.gz: de8fbc8c2afddb75e76e0775ec7917b6b9f90593a2f0c4a5d9fc223237d004a90903f3ff4632d363480a53865c2a81b510a527fb9c88724c2575080232fa7e46
data/Gemfile CHANGED
@@ -1,2 +1,11 @@
1
1
  source 'https://rubygems.org'
2
- gemspec
2
+
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,64 @@
1
+ :plugin: websocket
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
+ === Websocket input plugin
18
+
19
+ include::{include_path}/plugin_header.asciidoc[]
20
+
21
+ ==== Description
22
+
23
+ Read events over the websocket protocol.
24
+
25
+ [id="plugins-{type}s-{plugin}-options"]
26
+ ==== Websocket Input Configuration Options
27
+
28
+ This plugin supports the following configuration options plus the <<plugins-{type}s-{plugin}-common-options>> described later.
29
+
30
+ [cols="<,<,<",options="header",]
31
+ |=======================================================================
32
+ |Setting |Input type|Required
33
+ | <<plugins-{type}s-{plugin}-mode>> |<<string,string>>, one of `["client"]`|No
34
+ | <<plugins-{type}s-{plugin}-url>> |<<string,string>>|Yes
35
+ |=======================================================================
36
+
37
+ Also see <<plugins-{type}s-{plugin}-common-options>> for a list of options supported by all
38
+ input plugins.
39
+
40
+ &nbsp;
41
+
42
+ [id="plugins-{type}s-{plugin}-mode"]
43
+ ===== `mode`
44
+
45
+ * Value can be any of: `client`
46
+ * Default value is `"client"`
47
+
48
+ Select the plugin's mode of operation. Right now only client mode
49
+ is supported, i.e. this plugin connects to a websocket server and
50
+ receives events from the server as websocket messages.
51
+
52
+ [id="plugins-{type}s-{plugin}-url"]
53
+ ===== `url`
54
+
55
+ * This is a required setting.
56
+ * Value type is <<string,string>>
57
+ * There is no default value for this setting.
58
+
59
+ The URL to connect to.
60
+
61
+
62
+
63
+ [id="plugins-{type}s-{plugin}-common-options"]
64
+ include::{include_path}/{type}.asciidoc[]
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-input-websocket'
4
- s.version = '4.0.0'
4
+ s.version = '4.0.1'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Read events over the websocket protocol."
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-input-websocket
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: 2017-01-10 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/inputs/websocket.rb
88
89
  - logstash-input-websocket.gemspec
89
90
  - spec/inputs/websocket_spec.rb