CloudWatch日志仅在工作日获得见解
我需要在一周中的几天(例如:星期五,星期六,周日和星期一)获得CloudWatch Log Insights的现货终止。在过去的三个月中,我需要获得见解,可以通过UI选择整个日期范围,但是我需要在几天之上过滤。任何帮助将不胜感激。
当前查询几天没有过滤器。
filter @message like /terminate/
| stats count(*) as exceptionCount by bin(24h) as binh
| sort binh desc
提前致谢。
I need to get cloudwatch log insights for spot terminations on only few days of the week (ex: Friday, saturday, sunday and monday). For last 3 months, I need to get the insights, entire date range can be selected through UI, but I need to filter above few days. Any help would be appreciated.
Current query without the filter for days.
filter @message like /terminate/
| stats count(*) as exceptionCount by bin(24h) as binh
| sort binh desc
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论