DirectConnect VCF utilization get-metric-statistics not returning any data

0

Hello,

I am trying to get DirectConnect VCF utilization statistics via the CLI. Below is the command I am running:

$ aws cloudwatch get-metric-statistics --metric-name VirtualInterfaceBpsEgress --start-time 2022-01-07T10:00:00Z --end-time 2022-01-09T10:00:00Z --period 3600 --namespace AWS/DX --statistics Maximum --dimensions Name=ConnectionId,Value=XXXX Name=VirtualInterfaceId,Value=YYYY

And it returns:

{ "Label": "VirtualInterfaceBpsEgress", "Datapoints": [] }

I have tried modifying the period, start and end time, however I never seem to get any data out of it. I can see there is data fine in the webview.

What am I doing wrong?

Thanks.

arsm
asked 2 years ago69 views
No Answers

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.

Guidelines for Answering Questions