logstash-input-acquia 1.6.0 → 2.0.0

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: 9436f4cd00f374d9089a65020fd587e6b7b244d5
4
- data.tar.gz: 3d4ca97ba2ce0dec8a66a94b17a2c058319a2466
3
+ metadata.gz: efb4f90124a9b7066eadbc5cbc4eabfc9f70f07a
4
+ data.tar.gz: e512b66a65c692e1cba7c76a0e1efa841e969f74
5
5
  SHA512:
6
- metadata.gz: d0e439f17026d6e6d4b049942778512100fa2c77e0a21ba2ef593197cbee3a4ca2549b605042d1ce90bc4ba4d81b8b5b192884216db05ab13211e3893df49531
7
- data.tar.gz: 81600a01b0fddc4498af121452502462f74fdfa47362741a5e6d307e7ca5aee0fb3053a6b98ab9a1edcf20e5af97fe6279043ed098d3ae1688788fcede15e6b8
6
+ metadata.gz: 036d12f3fcc314c34ba8a447d5bfe3c5d3680a074b0c0083575d398ae97d77ca1c2639a3db13f0416abf76370f695a2039ab87a77e6b6f935e5eae22c3665216
7
+ data.tar.gz: 430fca90fd97757267ab65b87376936d89021d17f85fa9afb30c66de267af51c2a05fd06bc5c0a3c2ce0e07bc973839c9f895783e17ff34653a880424d419b46
@@ -0,0 +1,5 @@
1
+ FROM logstash:1
2
+ MAINTAINER Equiem Sysadmin <sysadmin@equiem.com.au>
3
+
4
+ COPY VERSION /tmp/acquia-version
5
+ RUN plugin install --version $(cat /tmp/acquia-version) logstash-input-acquia
@@ -0,0 +1,29 @@
1
+ # logstash-input-acquia
2
+
3
+ [![Dependency Status](https://gemnasium.com/Equiem/logstash-input-acquia.svg)](https://gemnasium.com/Equiem/logstash-input-acquia)
4
+
5
+ **Source:** [https://github.com/Equiem/logstash-input-acquia](https://github.com/Equiem/logstash-input-acquia)
6
+ **Author:** [Equiem](http://equiem.com.au/)
7
+ **Contributors:** [See contributors on GitHub][gh-contrib]
8
+ **Bugs/Support:** [Github Issues][gh-issues]
9
+ **Copyright:** 2015-2016
10
+ **License:** [MIT license][license]
11
+ **Status:** Active
12
+
13
+ ## Synopsis
14
+
15
+ Logstash input that utilises the `acquia-cloud` gem to manage log streaming from Acquia Cloud.
16
+
17
+ ## Installation
18
+
19
+ In your logstash folder there should be an executable called `plugin`.
20
+
21
+ $ ./bin/plugin install logstash-input-acquia
22
+
23
+ ## Usage
24
+
25
+ > TODO: Write this.
26
+
27
+ [gh-contrib]: https://github.com/Equiem/logstash-input-acquia/graphs/contributors
28
+ [gh-issues]: https://github.com/Equiem/logstash-input-acquia/issues
29
+ [license]: https://github.com/Equiem/logstash-input-acquia/blob/master/LICENSE
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.6.0
1
+ 2.0.0
@@ -9,14 +9,14 @@ class LogStash::Inputs::Acquia < LogStash::Inputs::Base
9
9
  config_name 'acquia'
10
10
 
11
11
  default :codec, 'plain'
12
- VERSION = File.read(File.join(File.dirname(__FILE__), '../../../VERSION')).strip
12
+ VERSION = File.read(File.expand_path(__FILE__, '../../../../VERSION')).strip
13
13
 
14
14
  config :username, :validate => :string, :required => true
15
15
  config :api_key, :validate => :string, :required => true
16
16
  config :site, :validate => :string, :required => true
17
17
  config :environments, :validate => :array, :default => ['prod']
18
18
  config :types, :validate => :array, :default => ['drupal-watchdog', 'php-error']
19
- config :interval, :validate => :number, :default => 5
19
+ config :interval, :validate => :number, :default => 10
20
20
  config :debug, :validate => :boolean, :default => false
21
21
 
22
22
  public
@@ -17,10 +17,11 @@ Gem::Specification.new do |s|
17
17
  s.metadata = { "logstash_plugin" => "true", "logstash_group" => "input" }
18
18
 
19
19
  # Gem dependencies
20
- s.add_runtime_dependency 'logstash-core', '~> 1.5'
20
+ s.add_runtime_dependency 'logstash-core', '~> 2.0'
21
21
  s.add_runtime_dependency 'logstash-codec-plain'
22
- s.add_runtime_dependency 'stud'
23
- s.add_runtime_dependency 'acquia-cloud', '>= 0.2.1', '< 2.0.0'
22
+ s.add_runtime_dependency 'stud', '>= 0.0.22'
23
+ s.add_runtime_dependency 'acquia-cloud', '~> 0.5'
24
24
 
25
- s.add_development_dependency 'logstash-devutils'
25
+ s.add_development_dependency 'logstash-devutils', '>= 0.0.16'
26
+ s.add_development_dependency 'rubocop'
26
27
  end
metadata CHANGED
@@ -1,33 +1,33 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-acquia
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Equiem
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-25 00:00:00.000000000 Z
11
+ date: 2016-10-13 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.5'
18
+ version: '2.0'
19
19
  name: logstash-core
20
20
  prerelease: false
21
21
  type: :runtime
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.5'
26
+ version: '2.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  requirement: !ruby/object:Gem::Requirement
29
29
  requirements:
30
- - - '>='
30
+ - - ">="
31
31
  - !ruby/object:Gem::Version
32
32
  version: '0'
33
33
  name: logstash-codec-plain
@@ -35,55 +35,63 @@ dependencies:
35
35
  type: :runtime
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  requirement: !ruby/object:Gem::Requirement
43
43
  requirements:
44
- - - '>='
44
+ - - ">="
45
45
  - !ruby/object:Gem::Version
46
- version: '0'
46
+ version: 0.0.22
47
47
  name: stud
48
48
  prerelease: false
49
49
  type: :runtime
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: '0'
54
+ version: 0.0.22
55
55
  - !ruby/object:Gem::Dependency
56
56
  requirement: !ruby/object:Gem::Requirement
57
57
  requirements:
58
- - - '>='
58
+ - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: 0.2.1
61
- - - <
62
- - !ruby/object:Gem::Version
63
- version: 2.0.0
60
+ version: '0.5'
64
61
  name: acquia-cloud
65
62
  prerelease: false
66
63
  type: :runtime
67
64
  version_requirements: !ruby/object:Gem::Requirement
68
65
  requirements:
69
- - - '>='
66
+ - - "~>"
70
67
  - !ruby/object:Gem::Version
71
- version: 0.2.1
72
- - - <
68
+ version: '0.5'
69
+ - !ruby/object:Gem::Dependency
70
+ requirement: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ">="
73
73
  - !ruby/object:Gem::Version
74
- version: 2.0.0
74
+ version: 0.0.16
75
+ name: logstash-devutils
76
+ prerelease: false
77
+ type: :development
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: 0.0.16
75
83
  - !ruby/object:Gem::Dependency
76
84
  requirement: !ruby/object:Gem::Requirement
77
85
  requirements:
78
- - - '>='
86
+ - - ">="
79
87
  - !ruby/object:Gem::Version
80
88
  version: '0'
81
- name: logstash-devutils
89
+ name: rubocop
82
90
  prerelease: false
83
91
  type: :development
84
92
  version_requirements: !ruby/object:Gem::Requirement
85
93
  requirements:
86
- - - '>='
94
+ - - ">="
87
95
  - !ruby/object:Gem::Version
88
96
  version: '0'
89
97
  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
@@ -92,10 +100,12 @@ executables: []
92
100
  extensions: []
93
101
  extra_rdoc_files: []
94
102
  files:
95
- - .gitignore
96
- - .ruby-version
103
+ - ".gitignore"
104
+ - ".ruby-version"
105
+ - Dockerfile
97
106
  - Gemfile
98
107
  - LICENSE
108
+ - README.md
99
109
  - Rakefile
100
110
  - VERSION
101
111
  - lib/logstash/inputs/acquia.rb
@@ -112,17 +122,17 @@ require_paths:
112
122
  - lib
113
123
  required_ruby_version: !ruby/object:Gem::Requirement
114
124
  requirements:
115
- - - '>='
125
+ - - ">="
116
126
  - !ruby/object:Gem::Version
117
127
  version: '0'
118
128
  required_rubygems_version: !ruby/object:Gem::Requirement
119
129
  requirements:
120
- - - '>='
130
+ - - ">="
121
131
  - !ruby/object:Gem::Version
122
132
  version: '0'
123
133
  requirements: []
124
134
  rubyforge_project:
125
- rubygems_version: 2.4.5
135
+ rubygems_version: 2.4.8
126
136
  signing_key:
127
137
  specification_version: 4
128
138
  summary: Logstash Input plugin that streams logs from Acquia Cloud