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 Risposta
2
Risposta accettata

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
con risposta 3 mesi fa
profile picture
ESPERTO
verificato 2 mesi fa
profile picture
ESPERTO
verificato 3 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande