logstash-input-rackspace 3.0.0 → 3.0.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6c25925f5f1747c4ea10c3974250cb09d605d656
4
- data.tar.gz: 63a99a0d55fd39868c8cb514e2c57d7001cde50e
3
+ metadata.gz: ba76f1b978cbbc7c021f3950060ea0fd0f201401
4
+ data.tar.gz: 1a531db092d01f6126e55148346c47e962edfdff
5
5
  SHA512:
6
- metadata.gz: 0772e756a3e3dfecbe082102e01495cf8d3ac70f311dc9dd627d2485f2aebe07a0813da548f32d438af9ec72e4f4c92090035a8690e1d659cc4edd2ea512b594
7
- data.tar.gz: cb22f9405d31f903c76dd2ecd79d315167a82dc73691240f1a91a076764112d5f9489c55becae3a3f287ea93e584a1afc45b97d0720b5667c1ac83de87a9083e
6
+ metadata.gz: dd8a06fccbcc483bd00e3f2dafbdc41d4b60bca74ea0af5bf8dc96dcb4e6e65e3cf9061d5781f2c778b7fc9c5767c3030e0abbf47998e22e23a8f4f1319a8379
7
+ data.tar.gz: 2314aa449be1e709e6e932370e5fee95276071b875a48d46be8ef226564284b8b6c256427e4baf8cac40817f11df9a34db29255b781f5529d987ed0d0795eb9e
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,102 @@
1
+ :plugin: rackspace
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
+ === Rackspace input plugin
18
+
19
+ include::{include_path}/plugin_header.asciidoc[]
20
+
21
+ ==== Description
22
+
23
+
24
+
25
+ [id="plugins-{type}s-{plugin}-options"]
26
+ ==== Rackspace 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}-api_key>> |<<string,string>>|Yes
34
+ | <<plugins-{type}s-{plugin}-claim>> |<<number,number>>|No
35
+ | <<plugins-{type}s-{plugin}-queue>> |<<string,string>>|No
36
+ | <<plugins-{type}s-{plugin}-region>> |<<string,string>>|No
37
+ | <<plugins-{type}s-{plugin}-ttl>> |<<number,number>>|No
38
+ | <<plugins-{type}s-{plugin}-username>> |<<string,string>>|Yes
39
+ |=======================================================================
40
+
41
+ Also see <<plugins-{type}s-{plugin}-common-options>> for a list of options supported by all
42
+ input plugins.
43
+
44
+ &nbsp;
45
+
46
+ [id="plugins-{type}s-{plugin}-api_key"]
47
+ ===== `api_key`
48
+
49
+ * This is a required setting.
50
+ * Value type is <<string,string>>
51
+ * There is no default value for this setting.
52
+
53
+ Rackspace Cloud API Key
54
+
55
+ [id="plugins-{type}s-{plugin}-claim"]
56
+ ===== `claim`
57
+
58
+ * Value type is <<number,number>>
59
+ * Default value is `1`
60
+
61
+ number of messages to claim
62
+ Min: 1, Max: 10
63
+
64
+ [id="plugins-{type}s-{plugin}-queue"]
65
+ ===== `queue`
66
+
67
+ * Value type is <<string,string>>
68
+ * Default value is `"logstash"`
69
+
70
+ Rackspace Queue Name
71
+
72
+ [id="plugins-{type}s-{plugin}-region"]
73
+ ===== `region`
74
+
75
+ * Value type is <<string,string>>
76
+ * Default value is `"dfw"`
77
+
78
+ Rackspace region
79
+ `ord, dfw, lon, syd,` etc
80
+
81
+ [id="plugins-{type}s-{plugin}-ttl"]
82
+ ===== `ttl`
83
+
84
+ * Value type is <<number,number>>
85
+ * Default value is `60`
86
+
87
+ length of time to hold claim
88
+ Min: 60
89
+
90
+ [id="plugins-{type}s-{plugin}-username"]
91
+ ===== `username`
92
+
93
+ * This is a required setting.
94
+ * Value type is <<string,string>>
95
+ * There is no default value for this setting.
96
+
97
+ Rackspace Cloud Username
98
+
99
+
100
+
101
+ [id="plugins-{type}s-{plugin}-common-options"]
102
+ include::{include_path}/{type}.asciidoc[]
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-input-rackspace'
4
- s.version = '3.0.0'
4
+ s.version = '3.0.1'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Pull events from rackspace cloud queue"
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-rackspace
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.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-09 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
@@ -112,6 +112,7 @@ files:
112
112
  - LICENSE
113
113
  - NOTICE.TXT
114
114
  - README.md
115
+ - docs/index.asciidoc
115
116
  - lib/logstash/inputs/rackspace.rb
116
117
  - logstash-input-rackspace.gemspec
117
118
  - spec/inputs/rackspace_spec.rb