Any help on this is appreciated, I am using metricbeat to get the data from aws cloud watch and cost explorer, from Elasticsearch and to kibana dashboard i was able successfully get the all metrics for ec2 from aws. But when coming billing i was not able to filter it out by cost center.
Reference
aws.yml looks like
Blockquote
- module: aws
period: 300s
metricsets:- ec2
access_key_id: '<access_key_id>'
secret_access_key: '<secret_access_key>'
tags_filter: - key: "CostCenter"
value: "xxxxx"
- ec2
Blockquote
Preformatted text
- module: aws
period: 24h
metricsets:- billing
tags_filter: - key: "CostCenter"
value: "xxxxx"
cost_explorer_config:
group_by_dimension_keys:- "AZ"
- "INSTANCE_TYPE"
- "SERVICE"
group_by_tag_keys: - "aws:createdBy"
- billing
Blockquote
By doing this i was able to get the estimated cost for all the account but not able to filter it out in the kibana dashboard. no values displayed.