0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

AWS LambdaのCloudWatch Logsを確認する方法

0
Posted at

CloudWatch Logsではいろいろなサービスのログが集められており、特定のLambdaのログを確認したいときには迷うこともあります。
そんな時のため、AWS Lambdaのログ(CloudWatch Logs)を確認する方法をまとめておきます。

Lambda関数を開く

ログを確認したいLambda関数を開きます。

image.png

image.png

モニタリングタブを開く

Lambda関数の「モニタリング」タブを開きます。
タブの右下にある「CloudWatch ログを表示」ボタンを押下します。

image.png

ログを確認する

当該関数のCloudWatchログが開きます。
この時刻は選択したリージョンの時刻(東京リージョンなら日本標準時JST)で表示されます。
image.png

ログを確認したい時刻が「最終のイベント時刻」列以前で最も最近の行のログを開くと、当該時刻のログを確認できます。

まとめ

LambdaからCloudWatchのログを確認する手順をまとめました。確認したいLambdaがわかっている場合は、LambdaからCloudWatch Logsを開くことで確認できます。

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?