cloudwatch fetching empty values of billing metrics by service name

141 views
Skip to first unread message

jaganmohan budda

unread,
Feb 23, 2017, 6:21:32 AM2/23/17
to Fluentd Google Group
<source>
  @type cloudwatch
  tag  cloudwatch
  aws_key_id  XXXXXXXXXXXXXX
  aws_sec_keyXXXXXXXXXXXXXXXXXX
  interval 5
  namespace AWS/Billing
  metric_name EstimatedCharges
  dimensions_name ServiceName
  dimensions_value AmazonEC2
</source>
<match cloudwatch>
 @type record_reformer
tag timex
<record>
test_time ${time.strftime('%Y-%m-%dT%H:%M:%S%z')}
</record>
</match>
<match timex>
@type elasticsearch
logstash_format false
host 192.168.1.36
port 9200
index_name EstimatedCostMonthtoDate
type_name metrics
</match>


logs are:

 fluentd worker is now running worker=0
2017-02-23 16:41:29 +0530 [warn]: #0 cloudwatch: AWS/Billing ServiceName AmazonEC2 EstimatedCharges Average datapoints is empty
2017-02-23 16:41:36 +0530 [warn]: #0 cloudwatch: AWS/Billing ServiceName AmazonEC2 EstimatedCharges Average datapoints is empty

jaganmohan budda

unread,
Mar 1, 2017, 8:34:53 AM3/1/17
to Fluentd Google Group
is my conf is correct?
thanks in advance 

Mr. Fiber

unread,
Mar 2, 2017, 12:54:36 AM3/2/17
to Fluentd Google Group
2017-02-23 16:41:29 +0530 [warn]: #0 cloudwatch: AWS/Billing ServiceName AmazonEC2 EstimatedCharges Average datapoints is empty

I'm not familiar with CloudWatch spec.


I read the document and it says "Currency| The monetary currency to bill the account. This dimension is required. Unit: USD".
How about adding this dimension to dimensions_name/dimensions_value?


Masahiro

On Wed, Mar 1, 2017 at 10:34 PM, jaganmohan budda <budda.ja...@gmail.com> wrote:
is my conf is correct?
thanks in advance 

--
You received this message because you are subscribed to the Google Groups "Fluentd Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fluentd+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages