{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition","tabs","tab"]},"type":"markdown"},"seo":{"title":"Adobe Analytics Import Integration V2 with CLI","description":"Adobe AnalyticsデータをCLIでTreasure AIにインポートする詳細な設定手順と、S3経由でのデータ取り込みプロセスを解説します。","siteUrl":"https://docs.treasure.ai","lang":"en-US","jsonLd":{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://www.treasure.ai/","name":"Treasure AI","url":"https://www.treasure.ai/","logo":"https://www.treasure.ai/hubfs/assets/images/logos/primary-logo.svg"},{"@type":"WebSite","@id":"https://docs.treasure.ai/#website","name":"Treasure AI Documentation","url":"https://docs.treasure.ai/","inLanguage":["en","ja"],"publisher":{"@id":"https://www.treasure.ai/"}}]},"llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"adobe-analytics-import-integration-v2-with-cli","__idx":0},"children":["Adobe Analytics Import Integration V2 with CLI"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"cliを使用したadobe-analyticsからのインポート","__idx":1},"children":["CLIを使用したAdobe Analyticsからのインポート"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["CLIを使用してconnectorを設定するには、以下の手順に従ってください。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"td-toolbelt-commandのインストール","__idx":2},"children":["TD Toolbelt Commandのインストール"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["最新の",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://toolbelt.treasuredata.com/","title":"https://toolbelt.treasuredata.com/"},"children":["Treasure Data Toolbelt"]},"をインストールできます。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"td --version\n0.17.1\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"設定ファイルの作成","__idx":3},"children":["設定ファイルの作成"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["次の例に示すように、クラウドストレージサービス(S3)のアクセス情報を含む設定ファイル(例: load.yml)を準備します。"," ","この例では、S3からAdobe Analyticsのdata feedをダンプします:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["s3_auth_type"]},": s3とのauthenticationの方法"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["access_key_id"]},": S3のaccess key"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["secret_access_key"]},": S3のsecret key"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["bucket"]},": S3のbucket"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["target"]},": 取り込むターゲットデータ(",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data_feed_data"]},"または",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data_feed_lookup"]},")"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["rs_id"]},": report suite識別子"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"in:\n  type: adobe_analytics_v2\n  storage_type: s3\n  s3_auth_type: basic\n  access_key_id: <your s3 access_key_id>\n  secret_access_key: <your secret_access_key>\n  region: global\n  bucket: <your bucket>\n  target: data_feed_lookup\n  path_prefix: <your path prefix>\n  rs_id: <your report suite id>\n  modified_after: 2024-01-19T04:35:11Z\n  incremental: true\nfilters:\n- type: add_time\n  to_column:\n    name: time\n    type: timestamp\n  from_value:\n    mode: upload_time\n- type: rename\n  rules:\n  - rule: upper_to_lower\n  - rule: character_types\n    pass_types: [ \"a-z\", \"0-9\" ]\n    pass_characters: \"_\"\n    replace: \"_\"\nout:\n  type: td\n  apikey: <td_api_key>\n  endpoint: <td_endpoint>\n  database: <database>\n  table: <table>\n  time_column: time\n  mode: replace\n  default_timestamp_format: '%d/%m/%Y'\n","lang":"yaml"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"load-jobの実行","__idx":4},"children":["Load Jobの実行"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["load jobを送信します。データサイズによっては数時間かかる場合があります。ユーザーはデータが保存されているdatabaseとtableを指定する必要があります。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure Dataのストレージは時間でパーティション分割されているため、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--time-column"]},"オプションを指定することをお勧めします。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["オプションが指定されていない場合、data connectorは最初の",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["long"]},"または",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["timestamp"]},"カラムをパーティショニング時間として選択します。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--time-column"]},"で指定されたカラムのタイプは、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["long"]},"または",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["timestamp"]},"タイプのいずれかである必要があります。データに時間カラムがない場合は、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["add_time"]},"フィルターオプションを使用して追加できます。詳細については、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/customer-data-platform/integration-hub/batch/import/filter/add_time-filter-function"},"children":["add_time filter plugin"]},"を参照してください。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"td connector:issue load.yml --database td_sample_db --table td_sample_table --time-column modifieddate\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["上記のコマンドは、すでに*database(td_sample_db)",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["と"]},"table(td_sample_table)*を作成していることを前提としています。databaseまたはtableがTDに存在しない場合、このコマンドは成功しません。したがって、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/customer-data-platform/data-workbench/databases/creating-or-viewing-a-database"},"children":["databaseとtableを手動で作成"]},"するか、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td connector:issue"]},"コマンドで",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--auto-create-table"]},"オプションを使用してdatabaseとtableを自動作成します。\"--time-column\"オプションで\"Partitioning Key\"にTime Formatカラムを割り当てることができます。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"$ td connector:issue load.yml --database td_sample_db --table td_sample_table --time-column modifieddate --auto-create-table\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"実行のスケジューリング","__idx":5},"children":["実行のスケジューリング"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["定期的なAdobe Analyticsインポートのために、定期的なdata connector実行をスケジュールできます。高可用性を確保するためにスケジューラーを慎重に設定しています。この機能を使用することで、ローカルデータセンターに",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["cron"]},"デーモンを配置する必要がなくなります。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"scheduleの作成","__idx":6},"children":["Scheduleの作成"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td connector:create"]},"コマンドを使用して新しいスケジュールを作成できます。スケジュールの名前、cron形式のスケジュール、データが保存されるdatabaseとtable、およびData Connector設定ファイルが必要です。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["cron"]},"パラメータは、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["@hourly"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["@daily"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["@monthly"]},"の3つのオプションも受け入れます。デフォルトでは、スケジュールはUTCタイムゾーンで設定されます。-tまたは--timezoneオプションを使用して、タイムゾーン内でスケジュールを設定できます。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--timezone"]},"オプションは、'Asia/Tokyo'、'America/Los_Angeles'などの拡張タイムゾーン形式のみをサポートしています。PST、CSTなどのタイムゾーン略語は*サポートされておらず*、予期しないスケジュールになる可能性があります。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"td connector:create daily_adobe_analytics_v2_import \"10 0 * * *\" \\\ntd_sample_db td_sample_table load.yml\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"scheduleのリスト表示","__idx":7},"children":["Scheduleのリスト表示"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td connector:list"]},"で現在スケジュールされているエントリのリストを確認できます"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"$ td connector:list\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"scheduleの設定と履歴の表示","__idx":8},"children":["Scheduleの設定と履歴の表示"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["td connector:showでスケジュールエントリの実行設定を表示します"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"td connector:show daily_adobe_analytics_v2_importName\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"daily_adobe_analytics_v2_importCron     : 10 0 * * *Timezone : UTCDelay    : 0Database : td_sample_dbTable    : td_sample_table\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td connector:history"]},"でスケジュールエントリの実行履歴を表示します。"," ","個々の実行の結果を調査するには、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td job jobid"]},"を使用します。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"td connector:history daily_adobe_analytics_v2_import\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"scheduleの削除","__idx":9},"children":["Scheduleの削除"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td connector:delete"]},"はスケジュールを削除します。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"td connector:delete daily_adobe_analytics_v2_import\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"設定可能なオプション","__idx":10},"children":["設定可能なオプション"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Parameters"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Parameters"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Description"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Type"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Type"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Default value"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Default value"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Notes"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Notes"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["type"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["adobe_analytics_v2である必要があります"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["必須"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["storage_type"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["クラウドストレージサービスプロバイダー 現在は",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["s3"]},"のみをサポート"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Enum (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["s3"]},")"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["s3"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["s3_auth_type"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["S3のauthentication方法"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Enum(",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["basic"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["session"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["assume_role"]}," )"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["basic"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["endpoint"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["S3のendpoint"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["設定されている場合、regionに関係なく選択されます"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["region"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["S3のregion"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Enum  完全なリストは",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://docs.aws.amazon.com/general/latest/gr/s3.html"},"children":["Amazon Simple Storage Service endpoints and quotas - AWS General Reference"]},"を参照してください"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["global"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["endpointが空の場合に使用されます"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["access_key_id"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["S3のAccess Key Id"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["basic"]},"および",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["session"]}," authenticationを使用する場合に必須"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["secret_access_key"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["S3のSecret Key"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["basic"]},"および",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["session"]}," authenticationを使用する場合に必須"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["session_token"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["S3のSession Token"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["session"]}," authenticationを使用する場合に必須"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["bucket"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["S3のBucket"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["必須"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["target"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Data Target"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Enum(",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data_feed_data"]},"および",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data_feed_lookup"]},")"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data_feed_data"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["必須"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["path_prefix"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["data feedの場所のパスプレフィックス"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["必須"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["rs_id"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Report Suite Id"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["必須"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["incremental"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Incremental loading"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Boolean"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["modified_after"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["データのインポートを開始する時間(排他的)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Timestamp"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ISO-8601形式"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["max_retry"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["再試行の最大回数"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Integer"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["7"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["initial_retry_wait"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["最初の再試行の待機時間(秒単位)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Integer"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["2"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["max_retry_wait"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["再試行の最大待機時間(秒単位)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Integer"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["120"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[]}]}]}]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Assume Role authenticationはCLIを通じて設定できません。既存のauthenticationを再利用することで設定できます。",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/int/amazon-s3-import-integration-v2#reusing-the-existing-authentication"},"children":["Reuse the existing Authentication"]},"を参照してください。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"サンプル設定","__idx":11},"children":["サンプル設定"]},{"$$mdtype":"Tag","name":"Tabs","attributes":{"size":"medium"},"children":[{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"S3 Basic Authentication ","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"in:\n  type: adobe_analytics_v2\n  storage_type: s3\n  s3_auth_type: basic\n  access_key_id: <your s3 access_key_id>\n  secret_access_key: <your secret_access_key>\n  region: global\n  bucket: <your bucket>\n  target: data_feed_data\n  path_prefix: <your path prefix>\n  rs_id: <your report suite id>\n  modified_after: 2024-01-19T04:35:11Z\n  incremental: false\nfilters:\n- type: add_time\n  to_column:\n    name: time\n    type: timestamp\n  from_value:\n    mode: upload_time\n- type: rename\n  rules:\n  - rule: upper_to_lower\n  - rule: character_types\n    pass_types: [ \"a-z\", \"0-9\" ]\n    pass_characters: \"_\"\n    replace: \"_\"\nout:\n  type: td\n  apikey: <td_api_key>\n  endpoint: <td_endpoint>\n  database: <database>\n  table: <table>\n  time_column: time\n  mode: replace\n  default_timestamp_format: '%d/%m/%Y'\n","lang":"yaml"},"children":[]}]},{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"S3 Session Authentication","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"in:\n  type: adobe_analytics_v2\n  storage_type: s3\n  s3_auth_type: session\n  access_key_id: <your s3 access_key_id>\n  secret_access_key: <your secret_access_key>\n  session_token: <your s3 session_token>\n  region: global\n  bucket: <your bucket>\n  target: data_feed_data\n  path_prefix: <your path prefix>\n  rs_id: <your report suite id>\n  modified_after: 2024-01-19T04:35:11Z\n  incremental: false\n\nfilters:\n- type: add_time\n  to_column:\n    name: time\n    type: timestamp\n  from_value:\n    mode: upload_time\n- type: rename\n  rules:\n  - rule: upper_to_lower\n  - rule: character_types\n    pass_types: [ \"a-z\", \"0-9\" ]\n    pass_characters: \"_\"\n    replace: \"_\"\n\nout:\n  type: td\n  apikey: <td_api_key>\n  endpoint: <td_endpoint>\n  database: <database>\n  table: <table>\n  time_column: time\n  mode: replace\n  default_timestamp_format: '%d/%m/%Y'\n","lang":"yaml"},"children":[]}]},{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"Assume Role Authentication","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"in:\n  type: adobe_analytics_v2\n  storage_type: s3\n  td_authentication_id: <your td_authentication_id>\n  region: global\n  bucket: <your bucket>\n  target: data_feed_data\n  path_prefix: <your path prefix>\n  rs_id: <your report suite id>\n  modified_after: 2024-01-19T04:35:11Z\n  incremental: false\n\nfilters:\n- type: add_time\n  to_column:\n    name: time\n    type: timestamp\n  from_value:\n    mode: upload_time\n- type: rename\n  rules:\n  - rule: upper_to_lower\n  - rule: character_types\n    pass_types: [ \"a-z\", \"0-9\" ]\n    pass_characters: \"_\"\n    replace: \"_\"\n\nout:\n  type: td\n  apikey: <td_api_key>\n  endpoint: <td_endpoint>\n  database: <database>\n  table: <table>\n  time_column: time\n  mode: replace\n  default_timestamp_format: '%d/%m/%Y'\n","lang":"yaml"},"children":[]}]},{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"Incremental Loading","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"in:\n  type: adobe_analytics_v2\n  storage_type: s3\n  s3_auth_type: basic\n  access_key_id: <your s3 access_key_id>\n  secret_access_key: <your secret_access_key>\n  region: global\n  bucket: <your bucket>\n  target: data_feed_data\n  path_prefix: <your path prefix>\n  rs_id: <your report suite id>\n  modified_after: 2024-01-19T04:35:11Z\n  incremental: true\n\nfilters:\n- type: add_time\n  to_column:\n    name: time\n    type: timestamp\n  from_value:\n    mode: upload_time\n- type: rename\n  rules:\n  - rule: upper_to_lower\n  - rule: character_types\n    pass_types: [ \"a-z\", \"0-9\" ]\n    pass_characters: \"_\"\n    replace: \"_\"\n\nout:\n  type: td\n  apikey: <td_api_key>\n  endpoint: <td_endpoint>\n  database: <database>\n  table: <table>\n  time_column: time\n  mode: replace\n  default_timestamp_format: '%d/%m/%Y'\n","lang":"yaml"},"children":[]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"lookup-dataの取り込み","__idx":12},"children":["Lookup Dataの取り込み"]},{"$$mdtype":"Tag","name":"Tabs","attributes":{"size":"medium"},"children":[{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"S3 Basic Authentication","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"in:\n  type: adobe_analytics_v2\n  storage_type: s3\n  s3_auth_type: basic\n  access_key_id: <your s3 access_key_id>\n  secret_access_key: <your secret_access_key>\n  region: global\n  bucket: <your bucket>\n  target: data_feed_lookup\n  path_prefix: <your path prefix>\n  rs_id: <your report suite id>\n  modified_after: 2024-01-19T04:35:11Z\n  incremental: false\n\nfilters:\n- type: add_time\n  to_column:\n    name: time\n    type: timestamp\n  from_value:\n    mode: upload_time\n- type: rename\n  rules:\n  - rule: upper_to_lower\n  - rule: character_types\n    pass_types: [ \"a-z\", \"0-9\" ]\n    pass_characters: \"_\"\n    replace: \"_\"\n\nout:\n  type: td\n  apikey: <td_api_key>\n  endpoint: <td_endpoint>\n  database: <database>\n  table: <table>\n  time_column: time\n  mode: replace\n  default_timestamp_format: '%d/%m/%Y'\n","lang":"yaml"},"children":[]}]},{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"Session Authentication","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"in:\n  type: adobe_analytics_v2\n  storage_type: s3\n  s3_auth_type: session\n  access_key_id: <your s3 access_key_id>\n  secret_access_key: <your secret_access_key>\n  session_token: <your s3 session_token>\n  region: global\n  bucket: <your bucket>\n  target: data_feed_lookup\n  path_prefix: <your path prefix>\n  rs_id: <your report suite id>\n  modified_after: 2024-01-19T04:35:11Z\n  incremental: false\n\nfilters:\n- type: add_time\n  to_column:\n    name: time\n    type: timestamp\n  from_value:\n    mode: upload_time\n- type: rename\n  rules:\n  - rule: upper_to_lower\n  - rule: character_types\n    pass_types: [ \"a-z\", \"0-9\" ]\n    pass_characters: \"_\"\n    replace: \"_\"\n\nout:\n  type: td\n  apikey: <td_api_key>\n  endpoint: <td_endpoint>\n  database: <database>\n  table: <table>\n  time_column: time\n  mode: replace\n  default_timestamp_format: '%d/%m/%Y'\n","lang":"yaml"},"children":[]}]},{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"Assume Role Authentication","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"in:\n  type: adobe_analytics_v2\n  storage_type: s3\n  td_authentication_id: <your td_authentication_id>\n  region: global\n  bucket: <your bucket>\n  target: data_feed_lookup\n  path_prefix: <your path prefix>\n  rs_id: <your report suite id>\n  modified_after: 2024-01-19T04:35:11Z\n  incremental: false\n\nfilters:\n- type: add_time\n  to_column:\n    name: time\n    type: timestamp\n  from_value:\n    mode: upload_time\n- type: rename\n  rules:\n  - rule: upper_to_lower\n  - rule: character_types\n    pass_types: [ \"a-z\", \"0-9\" ]\n    pass_characters: \"_\"\n    replace: \"_\"\n\nout:\n  type: td\n  apikey: <td_api_key>\n  endpoint: <td_endpoint>\n  database: <database>\n  table: <table>\n  time_column: time\n  mode: replace\n  default_timestamp_format: '%d/%m/%Y'\n","lang":"yaml"},"children":[]}]},{"$$mdtype":"Tag","name":"TabItemFragment","attributes":{"label":"Incremental Loading","disable":false},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"yaml","header":{"controls":{"copy":{}}},"source":"in:\n  type: adobe_analytics_v2\n  storage_type: s3\n  s3_auth_type: basic\n  access_key_id: <your s3 access_key_id>\n  secret_access_key: <your secret_access_key>\n  region: global\n  bucket: <your bucket>\n  target: data_feed_lookup\n  path_prefix: <your path prefix>\n  rs_id: <your report suite id>\n  modified_after: 2024-01-19T04:35:11Z\n  incremental: true\n\nfilters:\n- type: add_time\n  to_column:\n    name: time\n    type: timestamp\n  from_value:\n    mode: upload_time\n- type: rename\n  rules:\n  - rule: upper_to_lower\n  - rule: character_types\n    pass_types: [ \"a-z\", \"0-9\" ]\n    pass_characters: \"_\"\n    replace: \"_\"\n\nout:\n  type: td\n  apikey: <td_api_key>\n  endpoint: <td_endpoint>\n  database: <database>\n  table: <table>\n  time_column: time\n  mode: replace\n  default_timestamp_format: '%d/%m/%Y'\n","lang":"yaml"},"children":[]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"external-reference","__idx":13},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["External Reference"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Data feedの概要: ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://experienceleague.adobe.com/docs/analytics/export/analytics-data-feed/data-feed-overview.html?lang=en"},"children":["Analytics Data Feed overview | Adobe Analytics"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ユーザーがdata feedを作成する方法: ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://experienceleague.adobe.com/docs/analytics/export/analytics-data-feed/create-feed.html?lang=en#"},"children":["Create a data feed | Adobe Analytics"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["regionとendpoint情報は",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region","title":"http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region"},"children":["AWS service endpoints"]},"ドキュメントから確認できます。"]}]}]},"headings":[{"value":"Adobe Analytics Import Integration V2 with CLI","id":"adobe-analytics-import-integration-v2-with-cli","depth":1},{"value":"CLIを使用したAdobe Analyticsからのインポート","id":"cliを使用したadobe-analyticsからのインポート","depth":2},{"value":"TD Toolbelt Commandのインストール","id":"td-toolbelt-commandのインストール","depth":3},{"value":"設定ファイルの作成","id":"設定ファイルの作成","depth":3},{"value":"Load Jobの実行","id":"load-jobの実行","depth":3},{"value":"実行のスケジューリング","id":"実行のスケジューリング","depth":3},{"value":"Scheduleの作成","id":"scheduleの作成","depth":3},{"value":"Scheduleのリスト表示","id":"scheduleのリスト表示","depth":3},{"value":"Scheduleの設定と履歴の表示","id":"scheduleの設定と履歴の表示","depth":3},{"value":"Scheduleの削除","id":"scheduleの削除","depth":3},{"value":"設定可能なオプション","id":"設定可能なオプション","depth":3},{"value":"サンプル設定","id":"サンプル設定","depth":3},{"value":"Lookup Dataの取り込み","id":"lookup-dataの取り込み","depth":4},{"value":"External Reference","id":"external-reference","depth":2}],"frontmatter":{"seo":{"title":"Adobe Analytics Import Integration V2 with CLI","description":"Adobe AnalyticsデータをCLIでTreasure AIにインポートする詳細な設定手順と、S3経由でのデータ取り込みプロセスを解説します。"}},"lastModified":"2026-06-17T07:22:53.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/int/adobe-analytics-import-integration-v2-advance-configuration","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}