{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"type":"markdown"},"seo":{"title":"バッチインポート","description":"CSV/TSVアップロード、インテグレーションコネクタ、Embulkバルクインポート、TD Toolbelt CLIを使用して、Treasure AIに履歴データやスケジュール増分データをインポートします。","siteUrl":"https://docs.treasuredata.com","lang":"en-US","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":"バッチインポート","__idx":0},"children":["バッチインポート"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["バッチインポートでは、履歴データを一括で読み込んだり、増分データの定期収集をスケジュールできます。Treasure AIは以下のインポート方法をサポートしています。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"csvまたはtsvファイルのアップロード","__idx":1},"children":["CSVまたはTSVファイルのアップロード"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure コンソールからCSVまたはTSVファイルを直接アップロードできます。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure コンソールを開きます。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Integrations Hub"]}," > ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Catalog"]}," に移動します。右上にアップロードオプションが表示されます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191016-205214.73dbb26b5977bcdd997ec53e497bf84ec2155b07d6c085ec6f98a8ef1e96642a.b2039cd8.png","alt":"Integrations Hub CatalogのUpload Fileボタン"},"children":[]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Upload File"]}," を選択します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ファイルをウィンドウにドラッグするか、参照して選択します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191016-203336.937b1cfb4c0daa9f0a192bbbaf89fec6c04e231c3364dc2014618f9365bc784f.b2039cd8.png","alt":"ドラッグ&ドロップ対応のローカルファイルアップロードダイアログ"},"children":[]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["データをプレビューします。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["オプションで ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Advanced Settings"]}," を選択し、ファイルのデコード、区切り文字、カラム名、データ型を設定します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure AI内の転送先データベースとテーブルを指定します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["オプションで、テーブルの既存データに追加するか置換するかを選択します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["オプションで、パーティションキーとして使用するタイムスタンプを指定します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Upload"]}," を選択します。"]}]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning","name":"ファイルサイズ制限"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure コンソールからのCSV/TSVアップロードは200 MB未満である必要があります。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"インテグレーションを使用したインポート","__idx":2},"children":["インテグレーションを使用したインポート"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["カタログからインポートインテグレーションを設定して、Treasure AIにデータをバルクロードできます。Treasure AIは、Webサイトトラッキング、モバイルアプリ、ソーシャルメディア、クラウドストレージ、データベースなど多数のコネクタを提供しています。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["インテグレーションベースのインポートを設定するには："]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Treasure コンソールを開き、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Integrations Hub"]}," > ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Catalog"]}," に移動します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["追加するデータソースタイプを選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["データソースにアクセスするための認証情報を入力します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ソース設定（取得するデータ）を定義します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["データをプレビューします（オプション）。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["転送先データベースとテーブルを定義します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["データ収集のスケジュールを設定します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["設定後、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Integrations Hub"]}," > ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Sources"]}," からソースを管理できます。詳細は",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/customer-data-platform/integration-hub/batch/import/creating-a-new-data-source"},"children":["データソースの新規作成"]},"を参照してください。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"embulkによるバルクデータインポート","__idx":3},"children":["Embulkによるバルクデータインポート"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["大規模なインポートには、Treasure AIがサポートするオープンソースのバルクデータローダー ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://www.embulk.org/docs/"},"children":["Embulk"]}," を使用します。Embulkは、データベース、ストレージ、ファイル形式、クラウドサービス間でデータを転送します。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/customer-data-platform/integration-hub/batch/import/bulk-data-import#installing-bulk-data-import"},"children":["Bulk Data Importのインストール"]}," — EmbulkとTreasure AIプラグインのインストール"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/customer-data-platform/integration-hub/batch/import/bulk-data-import#bulk-import-integration-options"},"children":["Bulk Importインテグレーションオプション"]}," — サポートされるソースコネクタ"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/customer-data-platform/integration-hub/batch/import/using-environment-variables-with-bulk-import"},"children":["Bulk Importでの環境変数の使用"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"id":"data-transformation","level":2,"__idx":4},"children":["データ変換 "]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["インポート時に、パーサー、フィルター、デコーダーを適用して、Treasure AIに格納する前にデータを変換できます。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["パーサー"]}," — CSV、JSON、Avro、MessagePackなどのファイル形式を解釈します。",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/customer-data-platform/integration-hub/batch/import/parser/csv-parser-function"},"children":["パーサー"]},"を参照してください。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["フィルター"]}," — カラムの操作、JSONの展開、データマスキングなどを行います。",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/customer-data-platform/integration-hub/batch/import/filter/about-filter-functions"},"children":["フィルター関数について"]},"を参照してください。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["デコーダー"]}," — パース前に圧縮またはエンコードされたファイルをデコードします。",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/customer-data-platform/integration-hub/batch/import/decoder/file-decoder-function"},"children":["File Decoder Function"]},"を参照してください。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"td-toolbeltcliを使用したインポート","__idx":5},"children":["TD Toolbelt（CLI）を使用したインポート"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["上級ユーザーはTD Toolbeltコマンドラインインターフェースを使用してデータをインポートできます："]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/tools/cli-and-sdks/using-database-drivers-to-import-your-data"},"children":["データベースドライバーを使用したデータインポート"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/customer-data-platform/integration-hub/streaming/td-agent/capturing-streaming-log-data"},"children":["ストリーミングログデータのキャプチャ"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/customer-data-platform/integration-hub/batch/import/about-incremental-data-import-using-td-workflow"},"children":["Treasure ワークフローを使用した増分データインポート"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/tools/cli-and-sdks/setting-the-td-import-time-format-for-a-windows-batch-file"},"children":["Windowsバッチファイル用のTDインポート時刻形式の設定"]}]}]}]},"headings":[{"value":"バッチインポート","id":"バッチインポート","depth":1},{"value":"CSVまたはTSVファイルのアップロード","id":"csvまたはtsvファイルのアップロード","depth":2},{"value":"インテグレーションを使用したインポート","id":"インテグレーションを使用したインポート","depth":2},{"value":"Embulkによるバルクデータインポート","id":"embulkによるバルクデータインポート","depth":2},{"value":"データ変換","id":"data-transformation","depth":2},{"value":"TD Toolbelt（CLI）を使用したインポート","id":"td-toolbeltcliを使用したインポート","depth":2}],"frontmatter":{"seo":{"title":"バッチインポート","description":"CSV/TSVアップロード、インテグレーションコネクタ、Embulkバルクインポート、TD Toolbelt CLIを使用して、Treasure AIに履歴データやスケジュール増分データをインポートします。"}},"lastModified":"2026-06-02T04:01:51.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/products/customer-data-platform/integration-hub/batch/import","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}