<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yomon8</author_name>
  <author_url>https://blog.hatena.ne.jp/yomon8/</author_url>
  <blog_title>YOMON8.NET</blog_title>
  <blog_url>https://yomon.hatenablog.com/</blog_url>
  <categories>
    <anon>AWS</anon>
    <anon>Athena</anon>
  </categories>
  <description>Athenaのクエリの実行履歴を、実行ユーザと紐付ける方法です。 CloudTrailからAthenaの実行イベントを取得 こちらのコマンドを利用します。 lookup-events — AWS CLI 1.16.96 Command Reference EventSource=athena.amazonaws.com EventName=StartQueryExecution で検索かけてます。 --start-time はUNIXタイムスタンプ入れます。今回は date +%s --date &quot;1 day ago&quot; で一日前からのクエリを指定。 結果は CloudTrailEvent とい…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyomon.hatenablog.com%2Fentry%2F2019%2F02%2F02%2F140210&quot; title=&quot;AWS Athenaのユーザごとのクエリ実行履歴を分析するためのデータをAWS CLIで収集 - YOMON8.NET&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-02-02 14:02:10</published>
  <title>AWS Athenaのユーザごとのクエリ実行履歴を分析するためのデータをAWS CLIで収集</title>
  <type>rich</type>
  <url>https://yomon.hatenablog.com/entry/2019/02/02/140210</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
