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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 0c2559d756e8165f0dedc8a60f2eed6f3d5bef03
4
- data.tar.gz: 7f6b02c73f04093a3668529bee443253f4f5a0d2
2
+ SHA256:
3
+ metadata.gz: 3e0fc4c1b723f795af738337d0ac61eaea510d3127e98cd6bbbf5a574f5ff417
4
+ data.tar.gz: fc2eea999570c4957cc2ac728d3c3e3c8857f51205003498f0bae462a61b22ec
5
5
  SHA512:
6
- metadata.gz: aa4c1514c301af6ff504333deb59924a2edabd3d1ddd0fcd7f0a4ee2a703ed6d5d6af7b243bcafee8be6c846641c8e0ea2dbf7fe11283547bb2d296c5fb03c3c
7
- data.tar.gz: 0ca9236559d27165c536aa819513327cbe564b25e911c433707f71a36627c9a36092419d68fc47b2f4c63d50293ca0f6662c7f0259db55f74bdf63992b2abef3
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
- 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
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2012–2015 Elasticsearch <http://www.elastic.co>
1
+ Copyright (c) 2012–2016 Elasticsearch <http://www.elastic.co>
2
2
 
3
3
  Licensed under the Apache License, Version 2.0 (the "License");
4
4
  you may not use this file except in compliance with the License.
data/NOTICE.TXT ADDED
@@ -0,0 +1,5 @@
1
+ Elasticsearch
2
+ Copyright 2012-2015 Elasticsearch
3
+
4
+ This product includes software developed by The Apache Software
5
+ Foundation (http://www.apache.org/).
data/README.md CHANGED
@@ -1,19 +1,21 @@
1
1
  # Logstash Plugin
2
2
 
3
- This is a plugin for [Logstash](https://github.com/elasticsearch/logstash).
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.elasticsearch.org/guide/en/logstash/current/).
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/elasticsearch/docs#asciidoc-guide
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-users@googlegroups.com mailing list.
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
- bin/plugin install /your/local/plugin/logstash-filter-awesome.gem
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/elasticsearch/logstash/blob/master/CONTRIBUTING.md) file.
98
+ For more information about contributing, see the [CONTRIBUTING](https://github.com/elastic/logstash/blob/master/CONTRIBUTING.md) file.
@@ -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
+ &nbsp;
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[]
@@ -54,7 +54,7 @@ class LogStash::Outputs::Rackspace < LogStash::Outputs::Base
54
54
 
55
55
  public
56
56
  def receive(event)
57
- return unless output?(event)
57
+
58
58
 
59
59
  begin
60
60
  @rackspace_queue.messages.create :body => event, :ttl => @ttl
@@ -1,17 +1,17 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-output-rackspace'
4
- s.version = '0.1.4'
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 logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not a stand-alone program"
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 = `git ls-files`.split($\)+::Dir.glob('vendor/*')
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", '>= 1.4.0', '< 2.0.0'
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.1.4
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: 2015-04-20 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
15
15
  requirements:
16
- - - '>='
16
+ - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: 1.4.0
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: 2.0.0
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 logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not a stand-alone program
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
- - .gitignore
77
+ - CHANGELOG.md
82
78
  - CONTRIBUTORS
83
79
  - Gemfile
84
80
  - LICENSE
81
+ - NOTICE.TXT
85
82
  - README.md
86
- - Rakefile
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.1.9
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
@@ -1,4 +0,0 @@
1
- *.gem
2
- Gemfile.lock
3
- .bundle
4
- vendor
data/Rakefile DELETED
@@ -1,7 +0,0 @@
1
- @files=[]
2
-
3
- task :default do
4
- system("rake -T")
5
- end
6
-
7
- require "logstash/devutils/rake"