logstash-output-rackspace 0.1.4 → 2.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +9 -0
- data/Gemfile +10 -1
- data/LICENSE +1 -1
- data/NOTICE.TXT +5 -0
- data/README.md +18 -6
- data/docs/index.asciidoc +91 -0
- data/lib/logstash/outputs/rackspace.rb +1 -1
- data/logstash-output-rackspace.gemspec +4 -4
- metadata +20 -23
- data/.gitignore +0 -4
- data/Rakefile +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 3e0fc4c1b723f795af738337d0ac61eaea510d3127e98cd6bbbf5a574f5ff417
|
4
|
+
data.tar.gz: fc2eea999570c4957cc2ac728d3c3e3c8857f51205003498f0bae462a61b22ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8090b886aa06b13789042c8c12998ef0956a40a9e408041f272129f805fd06127c0992cc4458aa9ff8609b9799c7ff2b223a0efb49018e45e437f12ba856f6b
|
7
|
+
data.tar.gz: 7c65efc262059552faa8ddd22444151d2753f4aa511094e009ec0cb01dd055460fac0f65d54b4133a836663d00859f40199ca5a6d907461d2a66988ab90e8d9f
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
# 2.0.4
|
2
|
+
- Depend on logstash-core-plugin-api instead of logstash-core, removing the need to mass update plugins on major releases of logstash
|
3
|
+
# 2.0.3
|
4
|
+
- New dependency requirements for logstash-core for the 5.0 release
|
5
|
+
## 2.0.0
|
6
|
+
- Plugins were updated to follow the new shutdown semantic, this mainly allows Logstash to instruct input plugins to terminate gracefully,
|
7
|
+
instead of using Thread.raise on the plugins' threads. Ref: https://github.com/elastic/logstash/pull/3895
|
8
|
+
- Dependency on logstash-core update to 2.0
|
9
|
+
|
data/Gemfile
CHANGED
@@ -1,2 +1,11 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
|
-
|
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
|
data/LICENSE
CHANGED
data/NOTICE.TXT
ADDED
data/README.md
CHANGED
@@ -1,19 +1,21 @@
|
|
1
1
|
# Logstash Plugin
|
2
2
|
|
3
|
-
|
3
|
+
[![Travis Build Status](https://travis-ci.org/logstash-plugins/logstash-output-rackspace.svg)](https://travis-ci.org/logstash-plugins/logstash-output-rackspace)
|
4
|
+
|
5
|
+
This is a plugin for [Logstash](https://github.com/elastic/logstash).
|
4
6
|
|
5
7
|
It is fully free and fully open source. The license is Apache 2.0, meaning you are pretty much free to use it however you want in whatever way.
|
6
8
|
|
7
9
|
## Documentation
|
8
10
|
|
9
|
-
Logstash provides infrastructure to automatically generate documentation for this plugin. We use the asciidoc format to write documentation so any comments in the source code will be first converted into asciidoc and then into html. All plugin documentation are placed under one [central location](http://www.
|
11
|
+
Logstash provides infrastructure to automatically generate documentation for this plugin. We use the asciidoc format to write documentation so any comments in the source code will be first converted into asciidoc and then into html. All plugin documentation are placed under one [central location](http://www.elastic.co/guide/en/logstash/current/).
|
10
12
|
|
11
13
|
- For formatting code or config example, you can use the asciidoc `[source,ruby]` directive
|
12
|
-
- For more asciidoc formatting tips, see the excellent reference here https://github.com/
|
14
|
+
- For more asciidoc formatting tips, see the excellent reference here https://github.com/elastic/docs#asciidoc-guide
|
13
15
|
|
14
16
|
## Need Help?
|
15
17
|
|
16
|
-
Need help? Try #logstash on freenode IRC or the logstash
|
18
|
+
Need help? Try #logstash on freenode IRC or the https://discuss.elastic.co/c/logstash discussion forum.
|
17
19
|
|
18
20
|
## Developing
|
19
21
|
|
@@ -53,7 +55,12 @@ gem "logstash-filter-awesome", :path => "/your/local/logstash-filter-awesome"
|
|
53
55
|
```
|
54
56
|
- Install plugin
|
55
57
|
```sh
|
58
|
+
# Logstash 2.3 and higher
|
59
|
+
bin/logstash-plugin install --no-verify
|
60
|
+
|
61
|
+
# Prior to Logstash 2.3
|
56
62
|
bin/plugin install --no-verify
|
63
|
+
|
57
64
|
```
|
58
65
|
- Run Logstash with your plugin
|
59
66
|
```sh
|
@@ -71,7 +78,12 @@ gem build logstash-filter-awesome.gemspec
|
|
71
78
|
```
|
72
79
|
- Install the plugin from the Logstash home
|
73
80
|
```sh
|
74
|
-
|
81
|
+
# Logstash 2.3 and higher
|
82
|
+
bin/logstash-plugin install --no-verify
|
83
|
+
|
84
|
+
# Prior to Logstash 2.3
|
85
|
+
bin/plugin install --no-verify
|
86
|
+
|
75
87
|
```
|
76
88
|
- Start Logstash and proceed to test the plugin
|
77
89
|
|
@@ -83,4 +95,4 @@ Programming is not a required skill. Whatever you've seen about open source and
|
|
83
95
|
|
84
96
|
It is more important to the community that you are able to contribute.
|
85
97
|
|
86
|
-
For more information about contributing, see the [CONTRIBUTING](https://github.com/
|
98
|
+
For more information about contributing, see the [CONTRIBUTING](https://github.com/elastic/logstash/blob/master/CONTRIBUTING.md) file.
|
data/docs/index.asciidoc
ADDED
@@ -0,0 +1,91 @@
|
|
1
|
+
:plugin: rackspace
|
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
|
+
=== Rackspace output plugin
|
18
|
+
|
19
|
+
include::{include_path}/plugin_header.asciidoc[]
|
20
|
+
|
21
|
+
==== Description
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
[id="plugins-{type}s-{plugin}-options"]
|
26
|
+
==== Rackspace Output 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}-queue>> |<<string,string>>|No
|
35
|
+
| <<plugins-{type}s-{plugin}-region>> |<<string,string>>|No
|
36
|
+
| <<plugins-{type}s-{plugin}-ttl>> |<<number,number>>|No
|
37
|
+
| <<plugins-{type}s-{plugin}-username>> |<<string,string>>|Yes
|
38
|
+
|=======================================================================
|
39
|
+
|
40
|
+
Also see <<plugins-{type}s-{plugin}-common-options>> for a list of options supported by all
|
41
|
+
output plugins.
|
42
|
+
|
43
|
+
|
44
|
+
|
45
|
+
[id="plugins-{type}s-{plugin}-api_key"]
|
46
|
+
===== `api_key`
|
47
|
+
|
48
|
+
* This is a required setting.
|
49
|
+
* Value type is <<string,string>>
|
50
|
+
* There is no default value for this setting.
|
51
|
+
|
52
|
+
Rackspace Cloud API Key
|
53
|
+
|
54
|
+
[id="plugins-{type}s-{plugin}-queue"]
|
55
|
+
===== `queue`
|
56
|
+
|
57
|
+
* Value type is <<string,string>>
|
58
|
+
* Default value is `"logstash"`
|
59
|
+
|
60
|
+
Rackspace Queue Name
|
61
|
+
|
62
|
+
[id="plugins-{type}s-{plugin}-region"]
|
63
|
+
===== `region`
|
64
|
+
|
65
|
+
* Value type is <<string,string>>
|
66
|
+
* Default value is `"dfw"`
|
67
|
+
|
68
|
+
Rackspace region
|
69
|
+
ord, dfw, lon, syd, etc
|
70
|
+
|
71
|
+
[id="plugins-{type}s-{plugin}-ttl"]
|
72
|
+
===== `ttl`
|
73
|
+
|
74
|
+
* Value type is <<number,number>>
|
75
|
+
* Default value is `360`
|
76
|
+
|
77
|
+
time for item to live in queue
|
78
|
+
|
79
|
+
[id="plugins-{type}s-{plugin}-username"]
|
80
|
+
===== `username`
|
81
|
+
|
82
|
+
* This is a required setting.
|
83
|
+
* Value type is <<string,string>>
|
84
|
+
* There is no default value for this setting.
|
85
|
+
|
86
|
+
Rackspace Cloud Username
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
[id="plugins-{type}s-{plugin}-common-options"]
|
91
|
+
include::{include_path}/{type}.asciidoc[]
|
@@ -1,17 +1,17 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
|
3
3
|
s.name = 'logstash-output-rackspace'
|
4
|
-
s.version = '0.
|
4
|
+
s.version = '2.0.5'
|
5
5
|
s.licenses = ['Apache License (2.0)']
|
6
6
|
s.summary = "Send events to Rackspace's Cloud Queue service"
|
7
|
-
s.description = "This gem is a
|
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"
|
8
8
|
s.authors = ["Elastic"]
|
9
9
|
s.email = 'info@elastic.co'
|
10
10
|
s.homepage = "http://www.elastic.co/guide/en/logstash/current/index.html"
|
11
11
|
s.require_paths = ["lib"]
|
12
12
|
|
13
13
|
# Files
|
14
|
-
s.files =
|
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)/})
|
@@ -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",
|
23
|
+
s.add_runtime_dependency "logstash-core-plugin-api", "~> 1.0"
|
24
24
|
|
25
25
|
s.add_runtime_dependency 'logstash-codec-json'
|
26
26
|
s.add_runtime_dependency 'fog', ['1.20.0']
|
metadata
CHANGED
@@ -1,39 +1,33 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-output-rackspace
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 2.0.5
|
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
|
15
15
|
requirements:
|
16
|
-
- -
|
16
|
+
- - "~>"
|
17
17
|
- !ruby/object:Gem::Version
|
18
|
-
version: 1.
|
19
|
-
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: 2.0.0
|
22
|
-
name: logstash-core
|
18
|
+
version: '1.0'
|
19
|
+
name: logstash-core-plugin-api
|
23
20
|
prerelease: false
|
24
21
|
type: :runtime
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
|
-
- -
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: 1.4.0
|
30
|
-
- - <
|
24
|
+
- - "~>"
|
31
25
|
- !ruby/object:Gem::Version
|
32
|
-
version:
|
26
|
+
version: '1.0'
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
28
|
requirement: !ruby/object:Gem::Requirement
|
35
29
|
requirements:
|
36
|
-
- -
|
30
|
+
- - ">="
|
37
31
|
- !ruby/object:Gem::Version
|
38
32
|
version: '0'
|
39
33
|
name: logstash-codec-json
|
@@ -41,7 +35,7 @@ dependencies:
|
|
41
35
|
type: :runtime
|
42
36
|
version_requirements: !ruby/object:Gem::Requirement
|
43
37
|
requirements:
|
44
|
-
- -
|
38
|
+
- - ">="
|
45
39
|
- !ruby/object:Gem::Version
|
46
40
|
version: '0'
|
47
41
|
- !ruby/object:Gem::Dependency
|
@@ -61,7 +55,7 @@ dependencies:
|
|
61
55
|
- !ruby/object:Gem::Dependency
|
62
56
|
requirement: !ruby/object:Gem::Requirement
|
63
57
|
requirements:
|
64
|
-
- -
|
58
|
+
- - ">="
|
65
59
|
- !ruby/object:Gem::Version
|
66
60
|
version: '0'
|
67
61
|
name: logstash-devutils
|
@@ -69,21 +63,24 @@ dependencies:
|
|
69
63
|
type: :development
|
70
64
|
version_requirements: !ruby/object:Gem::Requirement
|
71
65
|
requirements:
|
72
|
-
- -
|
66
|
+
- - ">="
|
73
67
|
- !ruby/object:Gem::Version
|
74
68
|
version: '0'
|
75
|
-
description: This gem is a
|
69
|
+
description: This gem is a Logstash plugin required to be installed on top of the
|
70
|
+
Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This
|
71
|
+
gem is not a stand-alone program
|
76
72
|
email: info@elastic.co
|
77
73
|
executables: []
|
78
74
|
extensions: []
|
79
75
|
extra_rdoc_files: []
|
80
76
|
files:
|
81
|
-
- .
|
77
|
+
- CHANGELOG.md
|
82
78
|
- CONTRIBUTORS
|
83
79
|
- Gemfile
|
84
80
|
- LICENSE
|
81
|
+
- NOTICE.TXT
|
85
82
|
- README.md
|
86
|
-
-
|
83
|
+
- docs/index.asciidoc
|
87
84
|
- lib/logstash/outputs/rackspace.rb
|
88
85
|
- logstash-output-rackspace.gemspec
|
89
86
|
- spec/outputs/rackspace_spec.rb
|
@@ -99,17 +96,17 @@ require_paths:
|
|
99
96
|
- lib
|
100
97
|
required_ruby_version: !ruby/object:Gem::Requirement
|
101
98
|
requirements:
|
102
|
-
- -
|
99
|
+
- - ">="
|
103
100
|
- !ruby/object:Gem::Version
|
104
101
|
version: '0'
|
105
102
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
106
103
|
requirements:
|
107
|
-
- -
|
104
|
+
- - ">="
|
108
105
|
- !ruby/object:Gem::Version
|
109
106
|
version: '0'
|
110
107
|
requirements: []
|
111
108
|
rubyforge_project:
|
112
|
-
rubygems_version: 2.
|
109
|
+
rubygems_version: 2.6.11
|
113
110
|
signing_key:
|
114
111
|
specification_version: 4
|
115
112
|
summary: Send events to Rackspace's Cloud Queue service
|
data/.gitignore
DELETED