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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 62466bcf82aa9ead9c7b348572f537a814ab3061a7d8788186679a8f8e9f212c
4
- data.tar.gz: ca93c360fd186bb7b1e81da1541b0b9670be8a5e626d296676cd437e3c9e1d0e
3
+ metadata.gz: a510dd0fdae41fa3f90b430beea28b6a19927861b5137bfd6965af7155b61797
4
+ data.tar.gz: e34c11c48c1566686479861d292f18c4ed11221287de3fe0efb53fa3afb28dae
5
5
  SHA512:
6
- metadata.gz: ac855312c07e22f78f8451b17d837746f10d4bd5bf3656b53800c2853dd033d676876fb4a1eb2827552fd31f4df057602a611f3dd1adff0290a9213264147c9d
7
- data.tar.gz: 17a4eb451e7a5acd26c392e64aa7917a51bbf5b15080e4a6015092488e889c55928e19712d4562e856e8e5c8f99d7dfdb362afe6328fcde93ef4626634770317
6
+ metadata.gz: b250a0540c6d2eb54c8e5d1bfcc4ecfeedd6b7c8491f7bebdcca7733fad76e263196cf21e8ac35cc41899281917bdd30768da28c2b4fd2340070a2079cd99533
7
+ data.tar.gz: 71f11bf11b1c342fba686c6eb2f0aa6108197f4323e9f1b65b0f12c00a4ac36833d550a7ada04c972bf33b0e89bc6b1d2182943618f3096674c26155a1999490
@@ -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)
@@ -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 Example
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` - otherwise this is a required field.
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
- This needs to follow the AWS convention of specifiying filters.
182
- Instances: { 'instance-id' => 'i-12344321' }
183
- Tags: { "tag:Environment" => "Production" }
184
- Volumes: { 'attachment.status' => 'attached' }
185
- Each namespace uniquely support certian dimensions. Please consult the documentation
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.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.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-10 00:00:00.000000000 Z
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