Time Units Bin in Stats Log Insights

1

Hi ๐Ÿ‘‹๐Ÿฝ

in CloudWatch Logs Insights I can aggregate my data and bin it. For example:

fields @timestamp, fullName, @message, @logStream, @log, repository
| filter correlationIds.httpMethod = "POST" and repository.full_name like "code"
| stats count(*) as CountCodeRepos by bin (1d) as DailyAdds

Is there a complete list of all time units that are supported by bin()? I can't find it online.

Thanks!

profile picture
์งˆ๋ฌธ๋จ 2๋‹ฌ ์ „302ํšŒ ์กฐํšŒ
๋‹ต๋ณ€ ์—†์Œ

๋กœ๊ทธ์ธํ•˜์ง€ ์•Š์•˜์Šต๋‹ˆ๋‹ค. ๋กœ๊ทธ์ธํ•ด์•ผ ๋‹ต๋ณ€์„ ๊ฒŒ์‹œํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์ข‹์€ ๋‹ต๋ณ€์€ ์งˆ๋ฌธ์— ๋ช…ํ™•ํ•˜๊ฒŒ ๋‹ตํ•˜๊ณ  ๊ฑด์„ค์ ์ธ ํ”ผ๋“œ๋ฐฑ์„ ์ œ๊ณตํ•˜๋ฉฐ ์งˆ๋ฌธ์ž์˜ ์ „๋ฌธ์ ์ธ ์„ฑ์žฅ์„ ์žฅ๋ คํ•ฉ๋‹ˆ๋‹ค.

์งˆ๋ฌธ ๋‹ต๋ณ€ํ•˜๊ธฐ์— ๋Œ€ํ•œ ๊ฐ€์ด๋“œ๋ผ์ธ

๊ด€๋ จ ์ฝ˜ํ…์ธ