Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- aws --profile $1 cloudwatch --region $2 get-metric-statistics --namespace AWS/ELB --metric-name $4 --dimensions Name=LoadBalancerName,Value=$3 --statistics $5 --start-time `date -u --date "now - 1 minutes" +%s` --end-time `date -u +%s` --period 60 --query "Datapoints[*].{$5:$5}" --output text
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement