"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

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달 전

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

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

질문 답변하기에 대한 가이드라인

관련 콘텐츠