跳至内容

CUDOS dashboard duplicated data from source stack

0

I deployed the destination stack in Account A (which hosts QuickSight) and the source stack in Account B, both within the same organization. However, the CUR data from Account B appears to include duplicate records from Account A, which caused the CUDOS summary_view to show doubled costs.

After removing the source stack from Account B, the QuickSight metrics are now accurate. Is there a parameter in the source stack that controls which accounts are included in the CUR data?

已提问 1 个月前49 查看次数
2 回答
6

There is no direct “account filter” parameter, but inclusion is controlled by:

  1. CUR Configuration in the Management Account • CUR must be configured to include linked accounts. • The CUR file includes line_item_usage_account_id and bill_payer_account_id fields that identify which account the usage belongs to.
  2. Source Stack Athena Queries • The source stack uses Athena queries to transform CUR data. • These queries can be modified to filter out specific accounts using WHERE clauses like:
WHERE line_item_usage_account_id NOT IN ('AccountA', 'AccountB')
  1. S3 Replication and Glue Catalog • If both accounts are replicating the same CUR files to their own buckets and defining overlapping Glue tables, they may ingest the same data twice.
专家
已回答 1 个月前
0

Hello,

As mentioned above, there is no direct “account filter” parameter as such.

However, as the CUR file includes the columns like "line_item_usage_account_id" and "bill_payer_account_id" that identify which account the usage belongs to.

However, the source stack uses Athena queries to transform CUR data. These queries can be modified to filter out specific accounts using WHERE clauses like:

WHERE line_item_usage_account_id NOT IN ('AccountA', 'AccountB') Or WHERE line_item_usage_account_id != 'AccountA'

If you would like to discuss more on this, please feel free to open a support case with AWS using the following link and we would be happy to help.

Link to raise case: https://support.console.aws.amazon.com/support/home#/case/create

Thanks!

AWS
已回答 1 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。