aws 常用命令汇总

1.导出cloudwatch的指标数据

负载均衡器 总数 时间区间

aws cloudwatch get-metric-statistics --namespace AWS/ApplicationELB --metric-name RequestCount --statistics Sum  --period 300 --dimensions Name=LoadBalancer,Value=app/yellowstone-prod-tr/1faca821bfaeeafc --start-time 2019-02-11T00:00:00Z --end-time 2019-02-15T00:00:00Z  --region cn-north-1

aws cloudwatch get-metric-statistics --namespace AWS/ApplicationELB --metric-name ClientTLSNegotiationErrorCount --statistics Sum  --period 300 --dimensions Name=LoadBalancer,Value=app/yellowstone-prod-tr/1faca821bfaeeafc --start-time 2019-02-11T00:00:00Z --end-time 2019-02-15T00:00:00Z --region cn-north-1
  • 我的微信
  • 这是我的微信扫一扫
  • weinxin
  • 我的微信公众号
  • 我的微信公众号扫一扫
  • weinxin
avatar

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: