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 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南