βοΈGCS Object Storage
Instructions for installation and configuration of GCS Object Storage agent
What do you need for the install?
Installation command
docker run -it --pull=always --mount type=bind,source=$PWD/gcs_agent.yaml,target=/workspace/gcs_agent.yaml,readonly --mount type=bind,source=$PWD/gcloud_access_token,target=/workspace/gcloud_access_token,readonly -e LARIAT_API_KEY={YOUR_API_KEY} -e LARIAT_APPLICATION_KEY={YOUR_APPLICATION_KEY} -e LARIAT_TMP_AWS_ACCESS_KEY_ID={PREFILLED_BY_UI} -e LARIAT_TMP_AWS_SECRET_ACCESS_KEY={PREFILLED_BY_UI} -e GCP_ORGANIZATION_ID={YOUR_GCP_ORGANIZATION_ID} -e GCP_REGION={GCP_REGION} -e GCP_PROJECT_ID={YOUR_PROJECT_ID} lariatdata/install-gcp-gcs-agent:latest install your_bucket_name:
- prefix: "gcs-bucket-prefix"
key_val_partition_separator: "="
suffix_template: "{partition_seperated_var_1}/{partition_seperated_var_2}/fixed_value_1/<unpartitioned_var_1>/{partition_seperated_var_3}"
file_type: avro
name: my_dataset_name
columns:
string:
- string_column_for_stats_1
- string_column_for_stats_2
number:
- num_column_for_stats_1
- num_column_for_stats_2
dimensions:
- dimension_field_1
- dimension_field_2
timestamp:
timestamp_col_name_1:
column: "{unpartitioned_var_1}-{partition_seperated_var_2}"
format: "%Y-%m-%d"
timezone: "UTC"
timestamp_col_name_2:
column: timestamp_column
format: "unixtime"
primary: True
timestamp_col_name_3:
column: timestamp_column_other
format: "ISO8601"
primary: True
source_id: unique-source-id-nameLast updated