logstash-input-cloudwatch 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/logstash/inputs/cloudwatch.rb +32 -2
- data/logstash-input-cloudwatch.gemspec +3 -3
- metadata +48 -50
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 28f0baff0d52fe044b7ff065ee8e6b1a43b02b5a
|
4
|
+
data.tar.gz: 5e85ae4afdb328a48186956061bac044ca0ae677
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8e96b39a27a7578fb484d6b84a2c4b384c1ffeee311a1d70ea367a87d0b0a6c0123ffdc81a796b8de9ec4a6c0ef78f1f41f7d4df0a2adbdc3bfff5d76b4dc89
|
7
|
+
data.tar.gz: b26cdb6115046cd6ca2be80fdea6890647d92edc8642727b559b18abd1d33a3b57c4d867ed0d7a4858c0e48d0dd37a81912a78fa3e180cb60961089dcbef8532
|
@@ -10,7 +10,36 @@ require "stud/interval"
|
|
10
10
|
#
|
11
11
|
# CloudWatch provides various metrics on EC2, EBS and SNS.
|
12
12
|
#
|
13
|
-
# To use this plugin, you *must* have an AWS account
|
13
|
+
# To use this plugin, you *must* have an AWS account, and the following policy
|
14
|
+
#
|
15
|
+
# Typically, you should setup an IAM policy, create a user and apply the IAM policy to the user.
|
16
|
+
# A sample policy is as follows:
|
17
|
+
# [source,json]
|
18
|
+
# {
|
19
|
+
# "Version": "2012-10-17",
|
20
|
+
# "Statement": [
|
21
|
+
# {
|
22
|
+
# "Sid": "Stmt1444715676000",
|
23
|
+
# "Effect": "Allow",
|
24
|
+
# "Action": [
|
25
|
+
# "cloudwatch:GetMetricStatistics",
|
26
|
+
# "cloudwatch:ListMetrics"
|
27
|
+
# ],
|
28
|
+
# "Resource": "*"
|
29
|
+
# },
|
30
|
+
# {
|
31
|
+
# "Sid": "Stmt1444716576170",
|
32
|
+
# "Effect": "Allow",
|
33
|
+
# "Action": [
|
34
|
+
# "ec2:DescribeInstances"
|
35
|
+
# ],
|
36
|
+
# "Resource": "*"
|
37
|
+
# }
|
38
|
+
# ]
|
39
|
+
# }
|
40
|
+
#
|
41
|
+
# See http://aws.amazon.com/iam/ for more details on setting up AWS identities.
|
42
|
+
#
|
14
43
|
|
15
44
|
class LogStash::Inputs::CloudWatch < LogStash::Inputs::Base
|
16
45
|
include LogStash::PluginMixins::AwsConfig
|
@@ -22,7 +51,8 @@ class LogStash::Inputs::CloudWatch < LogStash::Inputs::Base
|
|
22
51
|
|
23
52
|
# Set how frequently CloudWatch should be queried
|
24
53
|
#
|
25
|
-
# The default, `900`, means check every 15 minutes
|
54
|
+
# The default, `900`, means check every 15 minutes. Setting this value too low
|
55
|
+
# (generally less than 300) results in no metrics being returned from CloudWatch.
|
26
56
|
config :interval, :validate => :number, :default => (60 * 15)
|
27
57
|
|
28
58
|
# Set the granularity of the returned datapoints.
|
@@ -1,12 +1,12 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'logstash-input-cloudwatch'
|
3
|
-
s.version = '0.2.
|
3
|
+
s.version = '0.2.2'
|
4
4
|
s.licenses = ['Apache License (2.0)']
|
5
5
|
s.summary = "Retrieve stats from AWS CloudWatch."
|
6
6
|
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
7
|
s.authors = ["Jurgens du Toit"]
|
8
|
-
s.email = 'jrgns@
|
9
|
-
s.homepage = "http://
|
8
|
+
s.email = 'jrgns@eagerelk.com'
|
9
|
+
s.homepage = "http://eagerelk.com"
|
10
10
|
s.require_paths = ["lib"]
|
11
11
|
|
12
12
|
# Files
|
metadata
CHANGED
@@ -1,114 +1,112 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-input-cloudwatch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jurgens du Toit
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-10-
|
11
|
+
date: 2015-10-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logstash-core
|
15
|
-
|
15
|
+
version_requirements: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 1.4.0
|
20
|
-
- -
|
20
|
+
- - <
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.0.0
|
23
|
-
|
24
|
-
prerelease: false
|
25
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirement: !ruby/object:Gem::Requirement
|
26
24
|
requirements:
|
27
|
-
- -
|
25
|
+
- - '>='
|
28
26
|
- !ruby/object:Gem::Version
|
29
27
|
version: 1.4.0
|
30
|
-
- -
|
28
|
+
- - <
|
31
29
|
- !ruby/object:Gem::Version
|
32
30
|
version: 2.0.0
|
31
|
+
prerelease: false
|
32
|
+
type: :runtime
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: logstash-codec-plain
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - '>='
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '0'
|
35
40
|
requirement: !ruby/object:Gem::Requirement
|
36
41
|
requirements:
|
37
|
-
- -
|
42
|
+
- - '>='
|
38
43
|
- !ruby/object:Gem::Version
|
39
44
|
version: '0'
|
40
|
-
type: :runtime
|
41
45
|
prerelease: false
|
46
|
+
type: :runtime
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: stud
|
42
49
|
version_requirements: !ruby/object:Gem::Requirement
|
43
50
|
requirements:
|
44
|
-
- -
|
51
|
+
- - '>='
|
45
52
|
- !ruby/object:Gem::Version
|
46
53
|
version: '0'
|
47
|
-
- !ruby/object:Gem::Dependency
|
48
|
-
name: stud
|
49
54
|
requirement: !ruby/object:Gem::Requirement
|
50
55
|
requirements:
|
51
|
-
- -
|
56
|
+
- - '>='
|
52
57
|
- !ruby/object:Gem::Version
|
53
58
|
version: '0'
|
54
|
-
type: :runtime
|
55
59
|
prerelease: false
|
60
|
+
type: :runtime
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: logstash-mixin-aws
|
56
63
|
version_requirements: !ruby/object:Gem::Requirement
|
57
64
|
requirements:
|
58
|
-
- -
|
65
|
+
- - '>='
|
59
66
|
- !ruby/object:Gem::Version
|
60
67
|
version: '0'
|
61
|
-
- !ruby/object:Gem::Dependency
|
62
|
-
name: logstash-mixin-aws
|
63
68
|
requirement: !ruby/object:Gem::Requirement
|
64
69
|
requirements:
|
65
|
-
- -
|
70
|
+
- - '>='
|
66
71
|
- !ruby/object:Gem::Version
|
67
72
|
version: '0'
|
68
|
-
type: :runtime
|
69
73
|
prerelease: false
|
74
|
+
type: :runtime
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
name: aws-sdk
|
70
77
|
version_requirements: !ruby/object:Gem::Requirement
|
71
78
|
requirements:
|
72
|
-
- -
|
79
|
+
- - '>='
|
73
80
|
- !ruby/object:Gem::Version
|
74
81
|
version: '0'
|
75
|
-
- !ruby/object:Gem::Dependency
|
76
|
-
name: aws-sdk
|
77
82
|
requirement: !ruby/object:Gem::Requirement
|
78
83
|
requirements:
|
79
|
-
- -
|
84
|
+
- - '>='
|
80
85
|
- !ruby/object:Gem::Version
|
81
86
|
version: '0'
|
82
|
-
type: :runtime
|
83
87
|
prerelease: false
|
88
|
+
type: :runtime
|
89
|
+
- !ruby/object:Gem::Dependency
|
90
|
+
name: logstash-devutils
|
84
91
|
version_requirements: !ruby/object:Gem::Requirement
|
85
92
|
requirements:
|
86
|
-
- -
|
93
|
+
- - '>='
|
87
94
|
- !ruby/object:Gem::Version
|
88
95
|
version: '0'
|
89
|
-
- !ruby/object:Gem::Dependency
|
90
|
-
name: logstash-devutils
|
91
96
|
requirement: !ruby/object:Gem::Requirement
|
92
97
|
requirements:
|
93
|
-
- -
|
98
|
+
- - '>='
|
94
99
|
- !ruby/object:Gem::Version
|
95
100
|
version: '0'
|
96
|
-
type: :development
|
97
101
|
prerelease: false
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
version: '0'
|
103
|
-
description: This gem is a logstash plugin required to be installed on top of the
|
104
|
-
Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not
|
105
|
-
a stand-alone program
|
106
|
-
email: jrgns@jadeit.co.za
|
102
|
+
type: :development
|
103
|
+
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
|
104
|
+
email: jrgns@eagerelk.com
|
107
105
|
executables: []
|
108
106
|
extensions: []
|
109
107
|
extra_rdoc_files: []
|
110
108
|
files:
|
111
|
-
-
|
109
|
+
- .gitignore
|
112
110
|
- CHANGELOG.md
|
113
111
|
- DEVELOPER.md
|
114
112
|
- Gemfile
|
@@ -118,30 +116,30 @@ files:
|
|
118
116
|
- lib/logstash/inputs/cloudwatch.rb
|
119
117
|
- logstash-input-cloudwatch.gemspec
|
120
118
|
- spec/inputs/cloudwatch_spec.rb
|
121
|
-
homepage: http://
|
119
|
+
homepage: http://eagerelk.com
|
122
120
|
licenses:
|
123
121
|
- Apache License (2.0)
|
124
122
|
metadata:
|
125
123
|
logstash_plugin: 'true'
|
126
124
|
logstash_group: input
|
127
|
-
post_install_message:
|
125
|
+
post_install_message:
|
128
126
|
rdoc_options: []
|
129
127
|
require_paths:
|
130
128
|
- lib
|
131
129
|
required_ruby_version: !ruby/object:Gem::Requirement
|
132
130
|
requirements:
|
133
|
-
- -
|
131
|
+
- - '>='
|
134
132
|
- !ruby/object:Gem::Version
|
135
133
|
version: '0'
|
136
134
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
137
135
|
requirements:
|
138
|
-
- -
|
136
|
+
- - '>='
|
139
137
|
- !ruby/object:Gem::Version
|
140
138
|
version: '0'
|
141
139
|
requirements: []
|
142
|
-
rubyforge_project:
|
143
|
-
rubygems_version: 2.4.
|
144
|
-
signing_key:
|
140
|
+
rubyforge_project:
|
141
|
+
rubygems_version: 2.4.5
|
142
|
+
signing_key:
|
145
143
|
specification_version: 4
|
146
144
|
summary: Retrieve stats from AWS CloudWatch.
|
147
145
|
test_files:
|