AWS/AutoScaling --metric-name GroupTotalInstances --start- time 2022-02-01T00:00:00 --end-time 2022-02-28T00:00:00 --period 86400 --statistics Average --dimensions Name=AutoScalingGroupName,Value=[ターゲットグループ名] --output json | jq -c -r '.Datapoints[] | [.Timestamp, .Average] | @csv' | sort -t , -k 1 > alb_20220203.csv { "Label": "GroupTotalInstances", "Datapoints": [ { "Timestamp": "2022-02-11T00:00:00+00:00", "Average": 4.331395333333334, "Unit": "None" }, { "Timestamp": "2022-02-17T00:00:00+00:00", "Average": 4.242529045398188, "Unit": "None" }, { "Timestamp": "2022-02-04T00:00:00+00:00", "Average": 4.191666666041466, "Unit": "None" }, 【略】 "2022-02-01T00:00:00+00:00",4.186935456785962 "2022-02-02T00:00:00+00:00",4.18125 "2022-02-03T00:00:00+00:00",4.158188155670104 "2022-02-04T00:00:00+00:00",4.191666456666666 "2022-02-05T00:00:00+00:00",4.293345207783183 "2022-02-06T00:00:00+00:00",4.256989044444445 "2022-02-07T00:00:00+00:00",4.3356756775538 "2022-02-08T00:00:00+00:00",4.215277777777778 "2022-02-09T00:00:00+00:00",5.25 "2022-02-10T00:00:00+00:00",5.260591237248089 "2022-02-11T00:00:00+00:00",6.339583323433334 "2022-02-12T00:00:00+00:00",6.341209678036831 "2022-02-13T00:00:00+00:00",7.323678911111111 "2022-02-14T00:00:00+00:00",7.293012355555555] 【略】