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?

More than 5 years have passed since last update.

CloudWatch Logs Insightsで、存在するはずのLogGroupへのリクエストで Log group 'XXX' does not exist for account ID 'ZZZ' と返ってくる

Posted at

tl;dr

公式ドキュメントの記述の通り、2018年11月5日以降にLogEventが発生したLogGroupしか検出できないようです。

抜粋:

CloudWatch Logs Insights では、2018 年 11 月 5 日以降に CloudWatch Logs に送信されたログデータを検索できます。

なんでこんな仕様なんだろう...?

完全に推測ですが、LogEventの作成時にDBの索引化の処理が走っているのではないでしょうか?
で、それが開始したのが2018年 11月 5日なのではないかと。
たしかに、もう2度と見られないログにまでindexを作成するのは、AWSからしたらコストが嵩んでたまったものじゃないと思われます。

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?