Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In the Treasure Data Console

Go to Connections -> Sources Catalog and select the Amplitude tile.

Image Removed

...

  1. Open the TD Console.

  2. Navigate to the Integrations Hub > Catalog.

  3. Click the search icon on the far-right of the Catalog screen, and enter Amplitude.
  4. Hover over the Amplitude connector and select Create Authentication.Image Added
  5. Enter the required credentials and select Continue.

...

  1. Image Added
  2. Give

...

  1. the connection a

...

  1. name and

...

  1. click Done.Image Added





How to Transfer Your Amplitude Data to Treasure Data

...

Finally, submit the load job. It may take a couple of hours depending on the size of your data.

Amplitude connector provides a time column automatically, but you can also specify it as any timestamp column such as --time-column server_upload_time.


Code Block
linenumberstrue
$ td connector:issue load.yml --database td_sample_db --table td_sample_table

...

Code Block
linenumberstrue
$ td connector:create \
    daily_import \
    "10 0 * * *" \
    td_sample_db \
    td_sample_table \
    load.yml


The `cron` parameter also accepts three special options: `@hourly`, `@daily` and `@monthly`.


By default, the schedule is set in the UTC time zone. You can set the schedule in a time zone using the `-t` or `--timezone` option. The `--timezone` option only supports extended timezone formats like 'Asia/Tokyo', 'America/Los_Angeles' etc. Timezone abbreviations like PST, CST are *not* supported and may lead to unexpected results.

List the Schedules

You can see the list of scheduled entries by running the command td connector:list.

...

See the following table for more details on available in modes.

Option name

Description

Type

Required?

Default value

api_key

API key

string

yes

N/A

secret_key

API Secret key

string

yes

N/A

start_time

First hour included in data series, formatted YYYYMMDDTHH (e.g. ‘20150201T05’). This is UTC timezone.

string

yes

N/A

end_time

Last hour included in data series, formatted YYYYMMDDTHH (e.g. ‘20150203T20’). This is UTC timezone.

string

no

processed time

incremental

true for “mode: append”, false for “mode: replace” (See below).

bool

no

true


Appendix

Modes for Out Plugin

...