logstash-input-cloudwatch 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/logstash/inputs/cloudwatch.rb +3 -3
- data/logstash-input-cloudwatch.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1e27e4cb4953e22e6bad0470efcb63c55b88a3f1
|
|
4
|
+
data.tar.gz: 2787278c3e1faa5bae2b2b01493c67a8aea50484
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cccdadc721acc8d8991eab38e69d3636ddf8ec644a7e2ffdc16a65cd4c11c058f4eefe62ef074a49f0824e22739618f83abfb962286bf3093fa99be65c512b47
|
|
7
|
+
data.tar.gz: 319dcd2c086a52fd456230a607382669ec0b6582f36f80fbd01361d61a10b3935898cc511a2f6a85f51ace2559adf38ece4e5f992841295a0296d31727005f3b
|
|
@@ -243,11 +243,11 @@ class LogStash::Inputs::CloudWatch < LogStash::Inputs::Base
|
|
|
243
243
|
private
|
|
244
244
|
def aws_filters
|
|
245
245
|
@filters.collect do |key, value|
|
|
246
|
-
if
|
|
246
|
+
if @combined
|
|
247
|
+
{ name: key, value: value }
|
|
248
|
+
else
|
|
247
249
|
value = [value] unless value.is_a? Array
|
|
248
250
|
{ name: key, values: value }
|
|
249
|
-
else
|
|
250
|
-
{ name: key, value: value }
|
|
251
251
|
end
|
|
252
252
|
end
|
|
253
253
|
end
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = 'logstash-input-cloudwatch'
|
|
3
|
-
s.version = '1.0.
|
|
3
|
+
s.version = '1.0.4'
|
|
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"
|