"MetricStorage:AWS/Logs-EMF" cost without line_item_resource_id

0

I checked my account cost report and found there is a cost item which do not have line_item_resource_id, it's line_item_operation is "MetricStorage:AWS/Logs-EMF". Below is the result from athena.

Enter image description here

How can I know the cost come from which services and resources?

Thanks, Mingtong

AWS
已提問 10 個月前檢視次數 1279 次
2 個答案
0

MetricStorage:AWS/Logs-EMF is the cost associated to sending custom metrics to CloudWatch using the "Embedded Metric Format", which is a special syntax to structure your logs to automatically extract metrics from them. Typical sources of EMF logs are containers and lambdas, for example if you use advanced monitoring on your lambdas, or emit logs in structured format from your lambdas. Likewise, if you activate container insights, it will emit some metrics using this format.

profile pictureAWS
Jsc
已回答 10 個月前
  • Thanks for your response, is there any way to know the "MetricStorage:AWS/Logs-EMF" is from which lambda or containers?

0

Hi, I don't think there is a direct way to establish the relationship. When you browse your list of metrics in the CloudWatch console, if you have high counters of metrics in the Lambda insights or container insights namespaces, that would be a way to identify high contributors to that usage. If there are any custom metrics created by EMF logs that you emit yourself, they would go in the namespace you have set in the EMF logs. Generally speaking, the counters on the metrics list allow you to detect high usage in a namespace or metric name (e.g. high number of dimensions on a same metric name).

profile pictureAWS
Jsc
已回答 10 個月前

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

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

回答問題指南