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.
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.