CloudWatch logs for our Aurora Cluster using the Management Console

0

Is there a way to filter Log Group searches to a Log Stream Name pattern? I know I can do that using the CLI, but it seems the UI only offers all log streams under a group, or a specific one. The filter seems to be only on the events themselves. Basically does the UI allow me to look at all logs for a given instance?

1回答
1
承認された回答

If you are using a log Insights query, then @logStream is a discovered field. (https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_AnalyzeLogData-discoverable-fields.html).

This means you can use it in a filter command, something like

filter @logStream like /xraydaemon/

(https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html)

AWS
AWS-SA
回答済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ