Query to get cost usage per API request and identify the caller information

0

Is there a mechanism to identify the cost associated to every API call within a given account and track the source of the given API call?

  • Is there a way I can link both these datasets? I am trying to find if there is an efficient way you can link a cloudtrail log associated to API call to its billing usage.

AWS
已提問 1 年前檢視次數 426 次
1 個回答
0

The easiest solution to view the cost per API is probably to use AWS Cost Explorer [1]. You can then group the results by API calls. You can also use AWS CUR [2]. To track down the source, you will need to use AWS CloudTrail [3].

[1] https://www.wellarchitectedlabs.com/cost/100_labs/100_5_cost_visualization/1_cost_usage_service/

[2] https://docs.aws.amazon.com/cur/latest/userguide/what-is-cur.html

[3] https://aws.amazon.com/cloudtrail/

profile pictureAWS
專家
已回答 1 年前
  • Is there a way I can link both these datasets? I am trying to find if there is an efficient way you can link a cloudtrail log associated to API call to its billing usage.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南