1
1

More than 3 years have passed since last update.

Amazon CloudWatch Logs Insight サンプル集

Posted at

あまりサンプルがないように思えたのでメモとして残しておく

1000文字以上のメッセージを出力

fields @timestamp, @message, strlen(@message) as str_len
| sort str_len desc
| filter strlen(@message) > 1000
| limit 200

Lambdaの課金処理時間が1000ms以上のものを抽出

fields @timestamp, @message
| parse @message '*Billed Duration: * ms*' as m1, lambda_time, m3
| filter lambda_time > 1000
| limit 200
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1