bigdata - Uploading files automatically from Google Cloud to Big Query -
how automate process of uploading .csv files google cloud onto big query.
google cloud storage provides access , storage log files in csv formats can directly imported bigquery analysis. in order access these logs, must set log delivery , enable logging. schemas available online, in json format, both storage access logs , storage bucket data. more information available in cloud storage access logs , storage data documentation.
in order load storage , access logs bigquery command line, use command such as:
bq load --schema=cloud_storage_usage_schema.json my_dataset.usage_2012_06_18_v0 gs://my_logs/bucket_usage_2012_06_18_14_v0
Comments
Post a Comment