Cannot add Metrics Dimension while creating metric filter in CloudWatch Log Group

0

When creating metric filter from CloudWatch Log Group I am getting "dimension value is invalid" even when dimension value seems to be perfectly fine. So I am not able to create a metrics with Dimensions.

Enter image description here

1개 답변
2
수락된 답변

Hi, the dimension should be the path to one of your json properties, for example if your log entries look like { "ip"="127.0.0.1", "endpoint" = "abc" }, your dimension could be $.endpoint

profile pictureAWS
Jsc
답변함 3달 전
profile picture
전문가
검토됨 2달 전
profile picture
전문가
검토됨 3달 전

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

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

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

관련 콘텐츠