Home > Software engineering >  Grafana Query to list only the AWS Linked accounts
Grafana Query to list only the AWS Linked accounts

Time:10-13

How can I query cloudwatch to show only the linked accounts? I want to display linked accounts as a variable but I'm not sure how to query and list the linked accounts.

enter image description here

Here is how a query for the graph looks like with linked accounts and currency set.

enter image description here

CodePudding user response:

dimension_values(us-east-1, AWS/Billing, EstimatedCharges, LinkedAccount, {"Currency": "USD"})

See doc: https://docs.aws.amazon.com/grafana/latest/userguide/cloudwatch-templated-queries.html

  • Related