logstash-input-cloudwatch 2.2.2 → 2.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -1
- data/docs/index.asciidoc +8 -8
- data/lib/logstash/inputs/cloudwatch.rb +0 -1
- data/logstash-input-cloudwatch.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a510dd0fdae41fa3f90b430beea28b6a19927861b5137bfd6965af7155b61797
|
4
|
+
data.tar.gz: e34c11c48c1566686479861d292f18c4ed11221287de3fe0efb53fa3afb28dae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b250a0540c6d2eb54c8e5d1bfcc4ecfeedd6b7c8491f7bebdcca7733fad76e263196cf21e8ac35cc41899281917bdd30768da28c2b4fd2340070a2079cd99533
|
7
|
+
data.tar.gz: 71f11bf11b1c342fba686c6eb2f0aa6108197f4323e9f1b65b0f12c00a4ac36833d550a7ada04c972bf33b0e89bc6b1d2182943618f3096674c26155a1999490
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
|
+
## 2.2.3
|
2
|
+
- Fixed issue where metric timestamp was being lost due to over-writing by end_time [#38](https://github.com/logstash-plugins/logstash-input-cloudwatch/pull/38)
|
3
|
+
|
1
4
|
## 2.2.2
|
2
|
-
- Added ability to use AWS/EC2 namespace without requiring filters
|
5
|
+
- Added ability to use AWS/EC2 namespace without requiring filters [#36](https://github.com/logstash-plugins/logstash-input-cloudwatch/pull/36)
|
3
6
|
|
4
7
|
## 2.2.1
|
5
8
|
- Fixed README.md link to request metric support to point to this repo [#34](https://github.com/logstash-plugins/logstash-input-cloudwatch/pull/34)
|
data/docs/index.asciidoc
CHANGED
@@ -53,7 +53,7 @@ A sample policy for EC2 metrics is as follows:
|
|
53
53
|
|
54
54
|
See http://aws.amazon.com/iam/ for more details on setting up AWS identities.
|
55
55
|
|
56
|
-
===== Configuration
|
56
|
+
===== Configuration examples
|
57
57
|
[source, ruby]
|
58
58
|
input {
|
59
59
|
cloudwatch {
|
@@ -174,15 +174,15 @@ guaranteed to work correctly with the AWS SDK.
|
|
174
174
|
* Value type is <<array,array>>
|
175
175
|
* There is no default value for this setting.
|
176
176
|
|
177
|
-
NOTE: This setting is optional when the namespace is `AWS/EC2
|
177
|
+
NOTE: This setting is optional when the namespace is `AWS/EC2`. Otherwise this is a required field.
|
178
178
|
|
179
|
-
Specify the filters to apply when fetching resources:
|
179
|
+
Specify the filters to apply when fetching resources. Follow the AWS convention:
|
180
180
|
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
Each namespace uniquely support
|
181
|
+
* Instances: { 'instance-id' => 'i-12344321' }
|
182
|
+
* Tags: { "tag:Environment" => "Production" }
|
183
|
+
* Volumes: { 'attachment.status' => 'attached' }
|
184
|
+
|
185
|
+
Each namespace uniquely support certain dimensions. Please consult the documentation
|
186
186
|
to ensure you're using valid filters.
|
187
187
|
|
188
188
|
[id="plugins-{type}s-{plugin}-interval"]
|
@@ -229,7 +229,6 @@ class LogStash::Inputs::CloudWatch < LogStash::Inputs::Base
|
|
229
229
|
event.delete :dimensions
|
230
230
|
event[:start_time] = Time.parse(event[:start_time]).utc
|
231
231
|
event[:end_time] = Time.parse(event[:end_time]).utc
|
232
|
-
event[:timestamp] = event[:end_time]
|
233
232
|
LogStash::Util.stringify_symbols(event)
|
234
233
|
end
|
235
234
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'logstash-input-cloudwatch'
|
3
|
-
s.version = '2.2.
|
3
|
+
s.version = '2.2.3'
|
4
4
|
s.licenses = ['Apache-2.0']
|
5
5
|
s.summary = "Pulls events from the Amazon Web Services CloudWatch API "
|
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/logstash-plugin install gemname. This gem is not a stand-alone program"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-input-cloudwatch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jurgens du Toit
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-09-
|
11
|
+
date: 2018-09-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|