Skip to content

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 Answer
2
Accepted Answer

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

AWS

answered 2 years ago

EXPERT

reviewed 2 years ago

EXPERT

reviewed 2 years ago

  • I didn't know that. Thanks for letting me know

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.