내용으로 건너뛰기

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?

질문됨 2달 전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.
전문가
답변함 한 달 전
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
답변함 한 달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

관련 콘텐츠