我在执行将自定义指标发布到Amazon CloudWatch时收到命令行错误

时间:2016-07-26 18:39:27

标签: amazon-web-services metrics amazon-cloudwatch

C:\Program Files\SecurityTokenService>aws cloudwatch put-metric-data --namespace "Usage Metrics" --metric-data C://Users/jbe624/Downloads/json/metric.json

Error parsing parameter '--metric-data': Expected: '=', received: ':' for input:

C://Users/jbe624/Downloads/json/metric.json
 ^

所以我尝试了以下但仍然得到相同的所以任何人都可以就此提出建议吗?

C:\Program Files\SecurityTokenService>aws cloudwatch put-metric-data --namespace "Usage Metrics" --metric-data C:\Users\jbe624\Downloads\json\metric.json

Error parsing parameter '--metric-data': Expected: '=', received: ':' for input:

C:\Users\jbe624\Downloads\json\metric.json
 ^

0 个答案:

没有答案