【发布时间】:2025-11-30 06:25:02
【问题描述】:
是否可以使用 aws 云观察日志洞察在匹配正则表达式的消息之前显示 n 条消息。 我必须对多个日志事件进行过滤。 示例日志消息序列:
<time> INFO Fetching data for apple.
<time> INFO Fetching data for mango.
<time> INFO Fetching data for orange.
<time> ERROR error message.
<time> INFO Fetching data for banana.
<time> ERROR error message.
<time> INFO Fetching data for jackfruit.
<time> INFO Fetching data for figs.
【问题讨论】:
标签: amazon-web-services amazon-cloudwatch aws-cloudwatch-log-insights