<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sadayoshi_tada</author_name>
  <author_url>https://blog.hatena.ne.jp/sadayoshi_tada/</author_url>
  <blog_title>継続は力なり</blog_title>
  <blog_url>https://sadayoshi-tada.hatenablog.com/</blog_url>
  <categories>
    <anon>AWS</anon>
    <anon>コンテナ</anon>
  </categories>
  <description>タダです. 最近もっぱら ECS 周りを触っているんですが,コンテナのログを CloudWatch Logs に出すのはコスト的に避けたかったので FireLens 経由で S3 に出すようにしました.S3 に出しちゃえば Athena からログをクエリできると思ってやってみたのでこの記事でやり方をまとめていきます. aws.amazon.com FireLens のログの中身について Athena のテーブル作成 まとめ FireLens のログの中身について まず,FireLens から送られてくるログの中身をみていきましょう.ログの中身は次の項目がはいった JSON 形式になっています.…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsadayoshi-tada.hatenablog.com%2Fentry%2F2021%2F03%2F31%2F205621&quot; title=&quot;FireLens で出力されたコンテナのログを Athena でクエリする - 継続は力なり&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/s/sadayoshi_tada/20210331/20210331205610.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-03-31 20:56:21</published>
  <title>FireLens で出力されたコンテナのログを Athena でクエリする</title>
  <type>rich</type>
  <url>https://sadayoshi-tada.hatenablog.com/entry/2021/03/31/205621</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
