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.

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

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

回答问题的准则