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
asked a month ago299 views
No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions